Install DD-WRT On a Linux PC
Taking Advantage of the DD-WRT x86 Port

Eric Geier
Thursday, October 15, 2009 03:15:52 PM
Last month, we described how to install the wireless router firmware, DD-WRT, onto a regular PC. The X86 port would give you the
ability to run the replacement firmware on systems other than router boards running a
meager 16MB of RAM and a sluggish CPU. Plus you don't have to track down a supported
router. You can use one of your old PCs that are gathering dust.
In the previous
tutorial, we used Windows-based tools to install DD-WRT X86. However, if you're using
an old hard drive to install it, you might not have Windows installed. If that's the
case, you would have to slap the drive into another computer running Windows while you do
the install, and then you would have to put it back into the old machine. But there are
other ways to go about doing this.
You could, for instance, use Windows PE or
BartPE by booting it up and running the
physdiskwrite utility, such as we
discussed already. However, you don't have to use Windows at all. Another way is to use
Linux, which is the method we're going to discuss in this tutorial.
Similar to the Windows method, we'll download the drive image file and burn it to a
hard drive. This wipes the drive clean and puts the DD-WRT partitions and file system on
it.
Putting the machine together
Like with the Windows method, make sure you have an X86 compatible PC, i386 or
greater, which is just about any old PC. The computer must have a hard drive that can be
reformatted and repartitioned, which means you need to backup or transfer any important
files. You also need at least two network (Ethernet) cards, one for the Internet and the
other for the LAN.
Only 16MB of RAM is required, so pretty much any old stick of memory will do. Though a
monitor and keyboard aren't required, it's a good idea to have them around in case you
have problems and need to access the console.
Optionally, download the DD-WRT image to a flash drive or CD
If you have a thumb drive or CD lying around, you can download the X86 version of
DD-WRT ahead of time. Then when you need the disk image in Linux, you can just pop in the
drive or CD, instead of having to set up a network connection.
At the time of this writing, the most current release of DD-WRT is version
24 with Service Pack 1. If you're going the free route, download
dd-wrt_public_vga.image, or if you're purchasing a license, download
dd-wrt_full_vga.image.
Download, burn, and boot Linux
You need to download and burn a Linux distribution that runs in a live CD mode. You
can use Ubuntu. It can be loaded directly from the
CD without being installed.
When you're ready to get started, insert the Linux disc into the drive of the computer
designated for DD-WRT and restart to boot from the CD. If you're using Ubuntu, hit Enter
to select the first option, Try Ubuntu without any change to your computer.
Next: Get Prepared for the Burn »