May 28, 2018

Install DD-WRT On a Linux PC - page 2

Taking Advantage of the DD-WRT x86 Port

  • October 15, 2009
  • By Eric Geier

After you boot into Ubuntu, make sure you have the DD-WRT image file accessible. If you had put it onto a flash drive, CD, or other removable storage, insert that now. Otherwise, connect to a network so you can get on the Internet to download the image file. If needed, use the download links above.

Take a moment and identify the path to the image file; you'll need to enter this later as part of a command. If you downloaded it in Ubuntu, it may be on your desktop; for example, /home/your_username/Desktop/dd-wrt_full_vga.image. If it's on a flash drive or CD, you can browse to it and copy the path from the Location field.

You should also figure out the path to the drive you're going to write the image file to and use for DD-WRT. In Ubuntu, click System > Administration > System Monitor. Then click the File Systems tab. Reviewing the specs for these file systems may help you identify the right one. You want to use the path displayed in the Device column.

Performing the burn

When you're finally ready to wipe the drive clean and write the image to it, follow these simple steps:

1. We're going to use a Linux command-line utility, so open the console. In Ubuntu, click Applications > Accessories > Terminal.

2. Enter the Super User mode. In Ubuntu, type sudo su and enter your root password.

3. Type dd if=path_to_dd-wrt_image of=path_to_drive. Make sure you input the correct path to the image file and the drive. You should have already figured these out in the previous section.

We did it

That's it; you're done. Eject the CD and reboot. It should boot into DD-WRT.

Plug the Internet into the ether0 interface, which is usually the built-in or on-board Ethernet port, if any. Then the remaining interface(s) are for the LAN. You can connect them to computers or to a switch.

The default IP address is of the router is Since the DHCP server is enabled, users will automatically receive an IP. To access the Web GUI, type the IP of the router into a browser on a computer connected to the LAN. To access the console on the machine, hit Enter. The default username is root and the password is admin.

Discover what you can do with DD-WRT

With the help of Linux, you should now have DD-WRT running on a computer. Take a look at all the tutorials we have on the subject. Maybe extend your range with WDS, build a wireless bridge, use multiple SSIDs, and much more.

Eric Geier is the author of many networking and computing books, including Home Networking All-in-One Desk Reference For Dummies (Wiley 2008) and 100 Things You Need to Know about Microsoft� Windows Vista (Que 2007).

Article courtesy of Wi-Fi Planet

Most Popular LinuxPlanet Stories

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.