Archives for: April 2009
Router Modding with DD-WRT and the Linksys WRT310N
We don't often think about routers as being computers but they actually are. They have memory, processors and run an operating system. That operating system typically takes that comes into one port (usually the port labelled as "WAN") and routes to the other, numbered ports. All of this requires some smarts so that the traffic comes and goes between the correct LAN ports. That's what the router software manages.
Router software does a bunch of other stuff like manage communications standards, provide a firewall, keep all your wireless traffic protected by implementing encryption and a whole bunch of other stuff.
The Problem
My LAN is not the usual home setup with a single router. As you'd know from the story of how I built my office I require two routers so that both the house and office have wired and wireless LAN access.
The first Linksys WRT310N has been running in the house for some time. It's connected to the cable modem and has worked flawlessly. I reviewed this unit for APC a while ago and I reckon it's a great router.
Until recently, I'd been using a Belkin N1 Vision. It's been OK but I find that it loses wireless connectivity from time to time. Also, I found that some of my shared devices, like my Thecus NAS became invisible unless I restarted the N1 Vision. I've updated the firmware but every week or so the router needed to be restarted. Incidentally, the reason I stuck with the N1 Vision was that it was super easy to use as a second router. It had a single checkbox that converted it from a router to an access point.
When setting up a LAN with two routers you can do one of two things; run each router as a seperate LAN or create one LAN that uses both devices. If you run them as two LANs it makes the job of sharing resources like printers and files far trickier. A single LAN is usually easier to use but you need to make sure that either you have only one DHCP server (a DHCP server gives each device on the LAN it's own unique address), set up both routers to use DHCP but with non-overlapping address ranges or use manual addressing for each device on the LAN (not impossible but a pain to maintain).
I decided that I wanted to use my original WRT310N as a true router, doing DHCP, and the second router configured to just act as an access point, with no intelligence.
The problem was that short of a bunch of complex manual configuration the second WRT310N couldn't be set up as a simple access point. That's what lead me to DD-WRT.
The Solution
My buddy Wayne is a full on Linux user and loves using open source solutions whenever he can find them. He put me on to DD-WRT some time ago.
According to the DD-WRT wiki:
DD-WRT is a third party developed firmware released under the terms of the GPL for many ieee802.11a/b/g/h/n wireless routers based on a Broadcom or Atheros chip reference design.
Installation was dead simple. All I needed to do was download the firmware and then use the default Linksys firmware to update the router's firmware with DD-WRT. There's a compatibility list so you can check if your router can be given the DD-WRT treatment. The whole process took just a few minutes.
What you find is that the DD-WRT does everything that the original Linksys firmware does. However, it adds a a whole bunch of other options.
For example, making the WRT310N into a simple access point and disabling its routing capability only required that I set a couple options. In my case I simply set the Internet connection to "Disabled" (I know that's counterintuitive but it works), give the router a new IP address (so that it's not the same as the main router), disable the DHCP server and then set the WAN port to take the incoming connection from the main router.

A full list of all DD-WRT's features can be found here.
Once all that was set, I restarted the router (following the instructions) and tested basic connectivity. I was able to connect to the Internet and see resources on my LAN. I then set up wireless with WPA2 and my preferred SSID so that wireless was secured. Another restart and I confirmed that all was working perfectly.
Conclusions
Ultimately, my decision to look at alternate firmware for the WRT310N was driven by the lack of a specific function in my router - a simple way to make the router into an access point. Many people tend to equate free software with poor quality.
DD-WRT is a great example of open source software and how free doesn't have to equal junk. DD-WRT takes a great product, the Linksys WRT310N, and expands its functionality significantly.
Big day for Netbooks
It's not often that there are two big netbook announcements in one day. After all, the whole netbook/mini-notebook phenomenon is a pretty new trend and, Apple's CEO Steve Jobs says, the market is still nascent.
However, Asus today announced its new $1300AUD Eee PC 1004DN. What makes this Eee PC different from the others? Well, it's the first to market with an optical drive which, in my mind, further blurs the line between netbooks and sub-notebooks. The first netbook, in my view, was the Toshiba Libretto that was around in the late 1990s. The rest of the Eee PC 1004DN spec sheet reads similarly to most other 10" units although allow casing over the LCD and Express Card slot give it a slick look and plenty of flexibility.
The other big news came in parts. Firstly, I received a press release from Microsoft announcing that they'd been selected for the roll-out of "mini-laptops" into schools in New South Wales. This is part of initiative to get a computer into the hands of another 200,000 teachers and students. The release pre-empted one that came later from Lenovo. Lenovo completed the story, telling the world that they'll be supplying 220,000 IdeaPad S10e as part of Digital Education Revolution program.
So, not a bad day for the netbook market. A new model that's probably more a notebook than a netbook and Lenovo scores a huge sale (with Microsoft coming along for the ride).

