Install DD-WRT On a Linux PC
Taking Advantage of the DD-WRT x86 Port
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.
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.
- Skip Ahead
- 1. Taking Advantage of the DD-WRT x86 Port
- 2. Taking Advantage of the DD-WRT x86 Port
Solid state disks (SSDs) made a splash in consumer technology, and now the technology has its eyes on the enterprise storage market. Download this eBook to see what SSDs can do for your infrastructure and review the pros and cons of this potentially game-changing storage technology.
- 1Linux Top 3: GNOME 3.12 and New Betas for Ubuntu 14.04 and OpenMandriva Lx 2014.0
- 2Linux Top 3: Linus Lashes out, Linux 3.14 Gets PIE and Ubuntu One is Done.
- 3Linux Top 3: Ubuntu 14.04, Debian Gives Squeeze More Life and Red Hat Goes Atomic
- 4Linux Top 3: CoreOS, Oracle Enterprise Linux 7 and Ubuntu 14.10
- 5Linux Top 3: Debian Gives Up on Upstart, Ubuntu and Linux Kernel Updates