StompBox

Mobile 3G/WiFi Router Project



Starting with Soekris

After driving over the hill and picking up the net4521 I opened it up to have a look around. The Verizon 5220 card fit right in, no worries. The case had two holes in it for antenna pigtails and plenty of room for the various PCMCIA cards I wanted.

I stuck in spare WiFi card I had lying around and hooked it up to the test bench. The unit requires 12v in and luckily I had a bench supply from when we were putting other projects together last year. Hooking up the spare PC with Hyperterminal and the right serial cables (required a m/m null modem db9) produced a boot screen. Excellent!

A few things here for folks who're trying this for the first time: make sure you have your COM ports set up right! By default the Soekris boots up at 19200 8-n-1, while most *nix installations boot into 9600 8-n-1. This means either you'll see garbage followed by your bootup info, or you'll see the BIOS startup followed by garbage. Your best bet here is to make the two speeds match. Since ost all network gear has a standard of 9600bps it's best to change the Soekris COMBIOS to match. To do this you press Ctrl-P during bootup and use the monitor to set the baud rate. Type ? to get a list of monitor commands. the one you want is Set ConSpeed=9600.

Now the fun with installing an operating system can begin!


Pebble Linux

Since I'm not much of a Unix guy I wanted something that was mostly ready to go. The group NYC Wireless solved a lot of problems for people trying to set up a Soekris. Their distro, Pebble Linux, is a trimmed down version of the Debian 2.4.26 distro. It's a little old but it works great. The hardest part was getting a system together (in my case, using VirtualPC emulation on my powerbook) that could properly LILO a compact flash card to get the system installed. In short order I had the card in and it booted nicely the first time.

Product links

Unfortunately, the wifi card wouldn't come up. Instead of showing up as WLAN0 like the pebble instructions showed it came up as /dev/eth2. This is when I discovered I needed a WiFi card with the Prism2 chipset if I wanted to use the built in host_ap system. Some browsing on the net led me to Metrix Communications as a vendor for the highly recommended Senao NL-2511 mini-pci WiFi card. This one has a strong 200mw transmitter and fits nicely in the internal mini-pci slot on the Soekris mainboard, thus leaving one of my PCMCIA cards free. This would be important later.

Getting Pebble going was the easy part. Tweaking it to do what I wanted was harder. I leaned heavily on my roomate Garth (the resident Unix wiz) as I slowly picked my way through learning the system. At first I tried to get everything in the basic Pebble config up and running:

With that I had a basic working system. When the box boots up it dials Verizon and registers with dyndns.org. Wireless (or wired) clients can then use it as an internet link. I had to run it with the case off, though, due to the lack of antennas on the system. Time to fix that.


Hardware work

The rest of the shopping list:

(New addition) Here's a ful Bill of Materials, complete with purchasing URLs and prices. I used the sites that I originally bought the pieces from. Download the BOM in your choice of format:

Excel | CSV | Tab-delimited | Space-delimited | XML | HTML

Once the pigtails and connectors came in I got the box test-assembled, as shown in the picture to the left. I couldn't make the N-female panel mount connectors fit due to the holes of the default soekris case not quite fitting right. I went down to Home Depot and got the stepper bit. Thank goodness for the drill press! I got the case bored out to the right size for the connectors and got them mounted.

Since I had a second PCMCIA slot free I put a generic USB2.0 card in there and cut a hole in the front of the case so I could plug in USB devices. Since the main serial port is used for the console of the device this was the only way to get other serial data into the box -- such as a GPS. I picked up a generic pl2303 usb/serial cable at Fry's and compiled the kernel yet again to include the pl2303.o module this time.

With the case buttoned up the install looks nice and clean:



Now, on to testing!





Contacts: Tor Amundson and Garth Minette . Questions, suggestions and criticisms appreciated! Flames will most likely be snickered at.

Google
Creative Commons License
This work is licensed under a Creative Commons License.