Cellular and Netbooks and Networking and UNIX01 Aug 2010 03:04 pm

Well, I had pfSense working for a wired interface, but once I enabled the wireless interface and a client connected to it, the machine hardlocked. I am not one to be defeated by technology, so I dug out my IPCop install disc and attempted to load that on instead. Sadly IPCop 1.4 does not have support in the installer for the wired connection, so I gave the new beta a try. It works! I had to give the proper INIT string for the aircard and find a working version of WLAN-AP, but once all that was done, I was able to connect both wirelessly and wired.

I am all set to go for the not so distant future!

Cellular and Netbooks and Networking and UNIX30 Jul 2010 03:30 pm

In my last post I talked about building an alternative to Cradlepoint’s routers, and as I’ve decided to use my Dell Mini 10v for my “carry” netbook, I’m looking at what to turn my Eee PC 901 into.

The most obvious choice I’m seeing is loading pfSense on it and using it as a prototype for the embedded router project. It meets the criteria for it: USB ports, a single ethernet port, and a supported wireless card. Having a keyboard and screen is a good benefit for configuring the interfaces.

This will make the transition to the embedded setup easier once I get the pieces for that as the netbook has the same concept as the embedded board, just with more RAM and a faster CPU. One other major boon is a battery for a rudimentary UPS. The 6-cell battery included with the Eee PC 901 offers about 6 hours of run time.

This all hinges on my aircard being supported by the current pfSense 2.0 betas. If it’s not, well, I’ll need to do manual configuration with FreeBSD 8.1-RELEASE. Either way, it should be quite fun!

Computers and Netbooks and UNIX27 May 2010 03:27 pm

In the end, the lack of xorgcfg and the seeming lack of documentation on writing a proper xorg.conf file led me to install Ubuntu Netbook Edition on the Eee. Works like a champ.

Need to get a touchscreen installed now!

Computers and Netbooks and UNIX26 May 2010 03:11 pm

I’ve been doing some work on my Eee PC lately trying to decide which OS to load on it. I had Windows on it for a while and that worked, then I set it aside when I got the Dell Mini 10v and Hackintoshed it. I was going to set the Eee up for one of my parents, but decided that the larger screen and keys on the Mini 10v would be better for them. So I’ve got that as an ongoing to-do project.

My initial idea was to run FreeBSD on my Eee. I ran into a snag when I realized that FreeBSD’s ACPI support isn’t as mature as Linux’s; therefore, I couldn’t hibernate the system. I grew addicted to hibernate on my old Vostro 1400, and it was a serious boon for productivity on trips and during work days. It’s not been as big an issue on my Macbook Pro as its battery life is far superior to the Vostro’s, though.

I had a working X-less FreeBSD install going, and it was time to get X working. Sadly, I was stymied by a lack of documentation on how to get the Eee’s trackpad working in X. Turns out it involves using moused, but I decided in the end that that was a pain, so I tried PC-BSD. It worked, but KDE is fairly slow, and I didn’t relish the thought of using it. The next try was Gentoo, but I’ve not compiled the Linux kernel in a very long time, and I was unable to find a canned config for the latest version of the kernel, so I decided to try FreeBSD once more. The installer failed to download part of the OS, so I was going to try Gentoo once more.

Then as I sat staring at the kernel configuration menu, I looked at the Arch Linux wiki’s article on the Eee 901. After reading Arch’s “Who We Are” blurb, I decided to give it a whirl.

I’m impressed, to say the least. My long-time bias against running a Linux laptop is the userland interface to netfilter, iptables. It goes without saying that iptables is complicated, and while I consider myself a knowledgable person, the fact that it takes 94 lines to do in iptables what took me just under a dozen to do in pf (OpenBSD’s firewall, which has been ported to the other BSDs) really doesn’t set well with me. Fortunately, some sanity has been brought forth. Ubuntu ships with something called ufw, or Uncomplicated Firewall, and its syntax is quite similar to PF’s. Finding ufw in Arch’s respositories further cemented my use of it.

Getting X installed took a scant 5 minutes as opposed to two hours for Gentoo, and installing the base system was very quick. All this using Arch’s cleverly-named package manager “pacman” (how Namco doesn’t sue them I’ll never know). A proper resolutioned framebuffer console with the stock kernel was a nice touch as well.

Tonight’s plot involves getting other software installed then deciding which window manager to use. My “go to” one for years has been WindowMaker, but for a desktop environment I prefer XFCE or GNOME. The new paradigm of tiled window managers is quite interesting, so we shall see.

I’m just glad I have a hard drive in this machine for all this randomness of installing. I will ultimately set up a large-capacity fast SSD in it, but for now, the hard drive works fine. Now to get all the bluetooth/aircard dialing set up. This will be fun stuff indeed!

Embedded and Netbooks and Networking and UNIX12 Mar 2010 04:49 pm

A few years back, some friends and I had the crazy idea to utilize my MFJ-1800 2.4GHz Yagi antenna and a PC set up as a “reverse AP” to allow us all to use the hotel’s free wifi at a convention. The only downside to this was that we didn’t have wireless for ourselves, but that wasn’t too big of a deal: we had circumvented the pay access in the room using technology. Sadly, that hole was plugged the next year, and we were forced to pay for access… Such is life.

Moving forward to last year’s convention and our staying in a different hotel, I decided that I’d just suck it up and pay for access as it wasn’t too much. Though, before we actually settled down in the room that evening, I had ran by the T-Mobile store at the nearby mall and came extremely close to purchasing one of the webConnect USB sticks (which I now have) so we would have access without having to pay the hotel. I opted against that, but planned to get one before the year was out. Fortunately for me, T-Mobile had a promo for $10 less/month on the access not long afterwards, so I now have one to use for access mostly everywhere.

The obvious item for aircard owners with friends that attend conventions and trade shows is to pick up one of the aircard routers on the market. While I own a Soekris net4501 and have long thought to emulate the EVDO Stompbox Project using it, the lack of good driver support in OpenBSD for the Huawei UMG181 webConnect stick and my dislike of iptables had me pick up a Cradlepoint CTR350 broadband travel router to use. One thing I missed in the documentation was the client limit of 15 on its wireless. While I seriously doubt I’ll ever exceed that number, having a hard limit on the amount of clients that could be attached didn’t sit well with me at all, so I started brainstorming.

Back last month, I set up an old Power Mac G4 as an OpenBSD router using the macppc port. It functions flawlessly, and the flexibility of pf continues to shine. I thought about one of the major purposes that Soekris boards are used for and ran by Micro Center to pick up a good 2GB CF card to toss in it once I get OpenBSD built out on it. Fortunately for me, the author of flashdist has disk images set aside already for the net45xx series, which I will throw on the CF card sometime this weekend. The only downside to this setup is the utilization of “double NAT” in connectivity. Of course, this is no different than what we’ve already been using, so I really don’t see an issue with it.

Just how am I going to get around the 15-client limit of the Cradlepoint? While I certainly could use the Soekris as an access point: it’s one of those little green boxes’ primary uses, I’d much rather have a dedicated WAP set up like I do at home because of a couple of small things that may not work right: namely, UMA for my Blackberry. Just so happens I have an old La Fonera wireless router with DD-WRT loaded on it. I ran this as my WAP for a while at the house, and I reloaded it with DD-WRT before the convention last year and set it up as the WAP. While it works flawlessly, it gets rather warm. Not too much of an issue for a system that will run very infrequently.

Now how does this all piece together? Turns out that every single device I plan to connect together to create this connectivity backbone runs off either 5v or 12v DC. The two 5v devices, the Fonera and the CTR350, can be plugged into a 12v source using cigarette lighter sockets. The Soekris and my old Netgear EN108TP 8-port hub are 12v, so they will plug right in. My original plan involved debricking the WGR614L I toasted last year and using it as it was 12v and would reduce the amount of cig plugs.

The trick to this was building a small power distribution panel with screw terminals so they’d be very secure. Turns out this would be more of a pain than I originally thought, so I went back to the original plan that I thought of: using Anderson PowerPoles for the power connections and a power panel with those on them. In the end, deciding to go with PowerPoles for the power connections really was best: I won’t be tied down to the power supply, so I could feasibly run the setup off my car’s battery if I so decided. I probably will never do that, but it is an idea.

Converting standard wall current to 12v for the network devices was something I mulled over a lot with my original plan. I needed a small (10A or so) power supply with a cigarette receptacle on it. The smallest I could find at work was 25A and way overkill for what I needed. After I decided on PowerPoles, the decision was simple: Astron SS-10 switching power supply. It’s quite small and supplies enough power: 7A continuous, 10A 33% duty cycle. I seriously doubt all this hardware I have will ever exceed 7A for more than just a short period of time.

Now the really hard part is figuring out how to connect all of this together in a secure matter. I’ve done a lot of research in the past couple of days on the “go boxes” used by people who handle various events. One idea that probably won’t be too difficult to set up is to build a shelf and mount it in a case of some sort for carry. I’d probably pick something waterproof like an ammo box in case I get rained on for the convention like what happened last year. Otherwise, I’ll build out something very easy to set up and carry.

Overall, this is going to be one fun project. I’m very glad I have just over 6 months to get it set up! I do think that in the long run, streamlining my portable network setup will be very beneficial for myself, my friends, my family, and whoever else I can think of.

If anything, it’ll give me something interesting to write about as I continue to build it out.

Netbooks09 Jan 2010 01:56 pm

As I finally decided to do something with again, I’m gonna post a blog post then decide what to do with the root site (currently just a blank index page).

While the new forthcoming rage is sure to be the second (third?) iteration of the Tablet PC shown at CES, I am still drawn to a device that has an actual keyboard on it. I think this still stems from my trust of a keyboard vs my handwriting for entering things like passwords, keyboard commands in games, and keyboard commands in text editors. Not to mention shell commands when using SSH.

For now, though, I have a rackmount case on the way to me to rebuildĀ  my old router PC using OpenBSD with, which will be a project for the near future. With any luck, setting that up should be simple, and I’ll be back online with a proper router between myself and the ‘net instead of a consumer-grade, low-memory router.