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.
iMovie 09 - doesn't suck like iMovie 08
In the March 09 issue of PC Update, I've got a story on the latest version of iMovie. Released as part of the iLife 09 suite at this year's Macworld Expo, it rights many of the wrongs wrought by Apple when it abandoned the orignal iMovie codebase.
Even the most ardent Apple fanboi couldn't deny the colossal mis-step Apple made with iMovie 08. In one fell swoop, Apple took a brilliant and simple consumer video editing application, iMovie 06, and removed almost all the decent functionality and replaced it with an application that was so woefully inadequate that Apple had to make the old version available to those who upgraded too hastily. That was 18 months ago and iMovie 09 seeks to repair the damage.


