sodcalculator

10 Tech How-To

How to Install DD-WRT Firmware on Your Router

Guide 10-28320 · Updated · Step by step

Flashing DD-WRT replaces your router’s stock firmware with an open-source alternative that adds advanced features like VPN support, bandwidth monitoring, and improved wireless performance. Before you begin, verify that your exact router model is listed on the DD-WRT router database and download the correct build. This guide walks you through the entire process, from preparation to troubleshooting.

What You’ll Need

  • A router that is officially supported by DD-WRT (check the database).
  • A computer with a wired Ethernet connection to the router.
  • The DD-WRT firmware file(s) for your specific router model and hardware revision.
  • A TFTP client (optional, but useful for recovery).
  • A text editor to note down your current router settings.

Step-by-Step

  1. Identify your router’s exact model and hardware revision. Look for a label on the bottom of the router. Note the model number (e.g., Linksys WRT54GL) and any revision number (e.g., Ver. 1.1). This is critical because DD-WRT builds are hardware-specific.
  2. Download the correct DD-WRT firmware. Go to the DD-WRT router database, search for your model, and follow the “Wiki” link for installation instructions. Download the recommended build. Usually, you’ll need two files: a “factory” image (for initial flash) and a “webflash” image (for upgrades).
  3. Back up your current router settings. Log into your router’s admin panel (usually at 192.168.1.1 or 192.168.0.1). Navigate to the administration or backup section and save a copy of your configuration. Also, note down your ISP username/password, Wi-Fi SSID, and wireless security key.
  4. Prepare a wired connection. Connect your computer directly to one of the router’s LAN ports using an Ethernet cable. Do not rely on Wi-Fi during the flashing process, as the connection will drop.
  5. Disable other network connections. Temporarily turn off Wi-Fi on your computer and any other active network adapters to avoid IP conflicts.
  6. Perform a factory reset on your router. With the router powered on, press and hold the reset button (usually on the back) for 10-30 seconds until the power LED blinks. This clears any custom settings that might interfere.
  7. Log into the stock firmware. Open a web browser and go to your router’s default IP address. Enter the admin credentials (often admin/admin or admin/password). If you don’t know them, check the router’s label or manual.
  8. Flash the “factory” DD-WRT image. In the router’s admin panel, find the firmware upgrade section (usually under Administration > Firmware Upgrade). Browse to the DD-WRT factory file you downloaded and start the upgrade. Do not interrupt the process; it can take several minutes.
  9. Wait for the router to reboot. After the flash, the router will reboot automatically. This may take a few minutes. Do not unplug the power during this time.
  10. Perform a 30-30-30 reset. Once the router has rebooted, unplug the power. While it’s unplugged, hold the reset button. Plug the power back in while still holding the reset button for 30 seconds. Then release and wait 30 seconds. This clears any leftover settings and ensures a clean DD-WRT configuration.
  11. Access DD-WRT. Open a browser and go to http://192.168.1.1. You should see the DD-WRT login page. The default username is “root” and the default password is “admin”.
  12. Set up your internet connection. Go to Setup > Basic Setup. If your ISP uses DHCP, leave it as is. If you have PPPoE (DSL), enter your username and password. Configure your LAN IP if needed.
  13. Configure wireless settings. Go to Wireless > Basic Settings. Set your SSID and channel. Then go to Wireless > Wireless Security and set WPA2-PSK with a strong passphrase.
  14. Change the administrator password. Go to Administration > Management. Change the router password from the default “admin” to something secure.
  15. Save and apply settings. Click “Save” and then “Apply Settings” on each page. The router will reboot to apply changes.

Common Mistakes

  • Downloading the wrong build. Using a firmware file for a different hardware revision can brick your router. Always double-check the model and revision.
  • Flashing over Wi-Fi. If the connection drops mid-flash, you’ll end up with a partially written firmware. Always use a wired connection.
  • Skipping the 30-30-30 reset. This can leave stale settings that cause instability or features not working correctly.
  • Not backing up your original settings. If you need to revert, you’ll lose your ISP credentials and other configuration.
  • Interrupting the flash process. Pulling the power or clicking away during the upgrade can permanently damage the router.

Tips

  • Read the DD-WRT wiki page for your specific router model. It often contains model-specific quirks and recommended builds.
  • Use a UPS (uninterruptible power supply) for your router during the flash to avoid power outages.
  • After flashing, take a screenshot or note of the DD-WRT default IP and credentials.
  • If you’re upgrading from an older DD-WRT build, use the “webflash” image instead of the factory one.
  • Join the DD-WRT forums to get advice from experienced users if you run into issues.

Troubleshooting

  • Router becomes unresponsive after flashing. Perform a 30-30-30 reset. If that doesn’t help, try to access the router via a static IP (e.g., 192.168.1.100) and ping 192.168.1.1.
  • Can’t access the DD-WRT web interface. Check that your computer’s IP is in the same subnet as the router (default 192.168.1.x). Try using a different browser or clearing your cache.
  • Internet doesn’t work after flashing. Go to Setup > Basic Setup and verify your connection type. For PPPoE, re-enter your ISP credentials. For DHCP, ensure the router is set to “Automatic Configuration – DHCP”.
  • Wireless issues. Set the wireless mode to “AP” and the channel to “Auto”. Ensure the SSID is broadcast and the security mode is WPA2-PSK.
  • Router is bricked (power LED blinks but no network). Use the TFTP recovery method: set a static IP on your computer (e.g., 192.168.1.10), connect via Ethernet, and use a TFTP client to upload the factory firmware while the router is in recovery mode (usually holding the reset button during power-on).
  • If all else fails, try flashing the stock firmware back. Download the original firmware from the manufacturer’s website and flash it using the same method (TFTP or web interface).

Frequently Asked Questions

Will DD-WRT void my router’s warranty?

Yes, flashing third-party firmware typically voids the manufacturer’s warranty. However, you can often restore the stock firmware later, though this is not guaranteed.

Can I install DD-WRT on any router?

No, only routers with compatible chipsets and enough flash memory are supported. Always check the DD-WRT database first.

What is the difference between the ‘factory’ and ‘webflash’ images?

The factory image is used for the initial flash from stock firmware. The webflash image is used to upgrade an existing DD-WRT installation.

Will I lose my current router settings?

Yes, flashing DD-WRT will erase all settings. That’s why it’s important to back up your current configuration before starting.

How long does the flashing process take?

The actual flash takes 1-3 minutes, but the entire process including preparation and setup can take 30-60 minutes.

Is it possible to revert to the stock firmware?

Yes, in most cases you can flash the original firmware back using the same web interface or TFTP method. However, this is not always straightforward and may require additional steps.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →