How to Flash OpenWRT to DD-WRT

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
Install the smallest DD-WRT image first to avoid storage space problems.

Run the Wget and Mtd command line utilities included with OpenWRT to install DD-WRT router firmware on an OpenWRT router. Check the DD-WRT site to find the most current, stable firmware version compatible with your router hardware in preparation for the install. Access the OpenWRT router command console through SSH to install DD-WRT, and perform the DD-WRT installation via command line, which requires fewer steps and less complexity.


Step 1

Plug one end of the Ethernet network patch cable into the network interface socket on the Windows 7 computer. Connect the other end of the Ethernet patch cable into an OpenWRT router LAN port.

Video of the Day

Step 2

Click the Windows "Start" button and type "ncpa.cpl" into the "Search" box and press "Enter." The "Network Connections" window will display.


Step 3

Right-click on the "Local Area Connection" that displays a "Connected" status and click "Properties." Click the "Networking" tab.

Step 4

Click the "Internet Protocol Version 4 (TCP/IPv4)" item and then "Properties." Click the "Obtain an IP address automatically" and the "Obtain DNS server address automatically" radio buttons. Click the "OK" button.


Step 5

Click "OK" in the "Local Area Connection Properties" window. Reboot the Windows 7 computer.

Step 6

Click the Windows "Start" button and type "cmd" in the "Search" box. Right-click the command line icon that appears and click "Run as Administrator."


Step 7

Type "ipconfig /all" at the command prompt and tap "Enter." Note the gateway IP address listed in the command line output.


Step 8

Click the task bar "Start" button and type "putty.exe" into the "Search" box. Press the "Enter" key.


Step 9

Type the gateway IP address noted earlier into the "Host Name (or IP address)" field and click "Open."

Step 10

Enter the OpenWRT SSH user name and password when prompted and press "Enter."


Step 11

Type "cd /tmp" at the command prompt and tap "Enter." Write "wget" on the command line. Replace the "" with the URL of the firmware you want to install and press "Enter."


Step 12

Type "mtd -r write /tmp/your_firmware.bin linux" at the command line. Replace "your_firmware.bin" with the name of the firmware you are installing and press "Enter."

Step 13

Wait 5 minutes. Reboot the router.

Video of the Day



references & resources