From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 03:56, 4 February 2007 (edit)
Raccoon (Talk | contribs)
m (Possible errors - 'sais' typo)
← Previous diff
Revision as of 16:19, 4 February 2007 (edit) (undo)
Lodp (Talk | contribs)
(ASUS WL500G Deluxe)
Next diff →
Line 364: Line 364:
Now your wl-500g is in restore mode.<br> Now your wl-500g is in restore mode.<br>
4. Run Asus Firmware Restoration (can be found on asus website or included cd)<br> 4. Run Asus Firmware Restoration (can be found on asus website or included cd)<br>
-5. Choose wl500g-clear-nvram.trx file and upload it to the router. Wait 2-3 minutes after.<br>+5. Choose the [ wl500g-clear-nvram.trx] file and upload it to the router. Wait 2-3 minutes after.<br>
6. Unplug power and again enter Restore mode (steps 2 and 3)<br> 6. Unplug power and again enter Restore mode (steps 2 and 3)<br>
-7. Choose wl500g-recover.trx file and also upload it to your router. Wait 2-3 minutes<br>+7. Choose the [ wl500g-recover.trx] file and also upload it to your router. Wait 2-3 minutes<br>
8. Unplug power and again enter Restore mode (steps 2 and 3)<br> 8. Unplug power and again enter Restore mode (steps 2 and 3)<br>
9. Choose the firmware you wish to flash and upload. Wait 2-3 minutes. Reboot<br> 9. Choose the firmware you wish to flash and upload. Wait 2-3 minutes. Reboot<br>
Line 385: Line 385:
I had to use the aformentioned utils at, I had to use the aformentioned utils at,
the only different thing I did was use TFTP. I went in the same order as the above but only gave my router the only different thing I did was use TFTP. I went in the same order as the above but only gave my router
-10 seconds between reboots.+10 seconds between reboots:
-start.+1) flash - tftp [ wl500g-clear-nvram.trx]<br>
-1) flash - tftp wl500g-clear-nvram.trx+2) 10 seconds unplug,<br>
-2) 10 seconds unplug,+3) flash - tftp [ wl500g-recover.trx]<br>
-3) flash - tftp wl500g-recover.trx+4) 10 seconds unplug,<br>
-4) 10 seconds unplug,+5) flash- tftp dd-wrt.v23_asus.trx<br>
-5) flash- tftp dd-wrt.v23_asus.trx+6) 10 seconds unplug<br>
-6) 10 seconds unplug+done.<br>
==ASUS WL500G Premium== ==ASUS WL500G Premium==

Revision as of 16:19, 4 February 2007

Installing DD-WRT on a router in most cases is almost as simple as installing a program onto your computer. Installing programs on a router, known as firmware, are achieved by a method called flashing. This article helps you determine which installation process is for you on your supported router, as well as giving router suggestions and information about flashing each one.


Is your router supported?

For a list of devices working with DD-WRT, please see Supported Devices. If your router is not listed there, you are on your own and risk breaking it. Better refer to Index:Support about how to request your router to get tested.

Downloading DD-WRT

  • Download the latest stable release from the DD-WRT site.
  • Ensure you are using the correct version of the firmware.
    • For more information about which version to use, see File Versions.
    • Updating through the Web GUI means you need to use the _generic version, as mentioned briefly in the hwsupport.txt file.
    • Use the _mini version when upgrading from original Linksys firmware.
  • Read the changelog and all other information files on the download pages. They contain important information!
  • If you downloaded a .zip file, then extract the archive.
  • Confirm a good download by comparing the MD5 hash fingerprint of the firmware you downloaded with published hashes.


Precautions for Flashing

Follow all instruction precisely, or you may run into trouble! Incorrect flashing procedure can brick your router!

  • Do NOT use a wireless connection to upload firmware. Use a wired connection. It is recommended that you disable any wireless adapters on your system to ensure that none are used for the transfer.
  • Do NOT flash/backup your firmware over an SSL (https) connection. Make sure you are using http.
  • Disable your anti-virus-software, as a false-positive virus detection could interrupt the upload.
  • If you need to use TFTP to upload firmware, disable your software firewall first.
  • You will not have Internet access through the router during the process of replacing the firmware. We recommend you save this webpage and the webpages on how to Recover from a Bad Flash to your hard drive (use File->Save As, *NOT* a bookmark). This will allow you to review the information offline in the event that something goes wrong.
  • Have a secondary router or internet connection available while experimenting with your router's firmware, to expidite any trouble shooting and remove the risk of becoming stranded.

Flashing with Web GUI

Reset to Factory Defaults

If you know the IP address, username, and password of your router:

  1. Follow the instructions in the next section to log in to the Web GUI.
  2. Click the "Administration" tab.
  3. Click the "Factory Defaults" sub-tab.
  4. Select "Yes".
  5. Click the "Save Settings" button.
  6. A new page will open, click "continue".

If you do not know the know the IP address, username, or password of your router, you will need to use the reset button. Be careful when using this method! Apparently if you have OpenWRT already on your router the reset button may not function as it is assumed here and may actually brick your router! Research the functionality of your current firmware to be safe.

  1. Press and hold the reset button on the back of the router for 30 seconds.

Logging In to the Web GUI

To use the Web interface, you will need to have Javascript enabled with any security restrictions disabled. If the Linksys firmware is currently installed, do not use Firefox as certain versions of the Linksys firmware is known to have problems with Firefox.

  1. Type in the IP address of the router (default into the address bar of your browser.
  2. You will be prompted for username and password.
    • For DD-WRT versions starting with 2006-Feb-28, the default username is root. Prior versions have a blank username by default.
    • For Linksys firmware, the username is admin.
    • For DD-WRT and Linksys firmware, the default password is admin.

[Comment added 05/07/06 by Kizane] DD-WRT v23 IE7 Beta 2 Error! I noticed some weird error while managing a WRT54GSv4 with DD-WRT V23 via IE7b2. For some reason, it cuts off the top of the area where all the settings are. I opened the control panel with Firefox, and it has no errors. IE7b2 Screenshot

[Comment added 05/07/06 by Kizane] Solution to above comment. Note that I upgraded to DD-WRT v23 SP1 Final (via Firefox with zero problems!) and the problem has vanished!

Upload The Firmware

It is VERY important that you not interrupt the setup while the router is being flashed and rebooted. Do not turn off the computer, close the web browser, or turn off the router during this process! I usually just take a step back, and turn my head away so I don't breathe on it for these crucial 2 minutes.
  1. You should be in the Web GUI of the router. Go there now.
  2. Click the "Administration" tab
  3. Click the "Firmware Upgrade" sub-tab.
  4. (Only applicable when DD-WRT is already installed.) Click the "No reset" radio button (works for me, but please double check if "Firmware Defaults" would be better!).
  5. Click the "Browse" button and select the DD-WRT .bin file you downloaded and confirmed.
  6. Click the "Upgrade" button.
  7. The router will take a few minutes to upload the file and flash the firmware. During this time, the power light will flash.
  8. A new page will open confirming that the upload was sucessful (if not). Now wait about 5 minutes before clicking "Continue".
  9. If flashed successfully you will now be at the DD-WRT web interface.

Possible errors

If the router says "Upload are failed", you could have been using the wrong .bin file, check this first. (This happens if you for example use a *wrt54g.bin file in stead of the generic.bin file when flashing through the web interface). Or you just have to give up. Your router quite likely does not support DD-WRT.

Reset to Factory Defaults AGAIN

Do this only after you have confirmed that the firmware upgrade is working. At this point you may have temporary problems using Web Interface, so just ping your router.

For V23 SP2: Please do a hard reset: While holding down the reset button, plug in the power cord. Hold the reset button for 30 seconds. See also Reset And Reboot.

This is at first because SP2 uses encrypted password storage inside nvram. You are unable to login using root/admin before you reset. Please take this step serious!!!

Previous versions: Press and hold the reset button on the back of the router for 30 seconds. See also Reset And Reboot.

Flashing with TFTP

Flashing with TFTP must not be seen as the standard procedure for flashing: only use it when you are specifically told to do so (for example in the specific instructions for flashing your brand or type of device). Normally, the GUI flashing method should be used: it should be perfectly adequate for any standard situation. See that section for more information.

Note for users not using the original Linksys firmware: you cannot use tftp! Change your firmware to the official Linksys firmware, and then continue below.

Flashing with Command Line

This is available on routers that have DD-WRT installed and SSH enabled.

1) telnet or ssh into WRT

2) download dd-wrt.v2*_generic.bin with wget or scp to /tmp

3) (optional, but advised) compare MD5 checksum of the original and the downloaded file

4) write

write /tmp/dd-wrt.v2*_generic.bin linux

5) wait...

6) reboot

7) (optional, but advised) via web interface, restore factory defaults

8) For V23 SP2: If certain features don't work please do a hard reset. Hard Reset: By plugging in the router and holding down the reset button for 30 seconds all at the same time. Do not use config files from older firmware versions. You must start from the beginning.

Configuration Notes

  • You must start to configure router from scratch. Do not try to use config files from older firmware versions.
  • It is strongly advised that you enable the "Boot Wait" option under the "Administration" tab. This will help you recover in the future should you flash your router improperly. If you use v23 or higher the "Boot Wait" option is enabled by default.

Something go wrong?

  • If your router fails to reboot (power light doesn't stop flashing, no web interface, etc) you will need to Recover from a Bad Flash. Additional help can be found by doing a forum search.

[Comment added 10/03/06 by JoE] At the time of this writing, the current version of Mozilla Firefox will cause your installation to fail when trying to upgrade firmware (dd-wrt.v23_mini_wrt54g.bin, dd-wrt.v23_generic.bin, dd-wrt.v23_wrt54g.bin) using the web interface. I used the current version of Internet Explorer with no problems. Additionally, if your power button keeps flashing and/or you cannot reach/ping after a reset, unplug and plug in the power cord real quick. Wait a few seconds and then everything is hunky dory.

Hardware-Specific Information

Linksys WRT54G or WRT54GL or WRT54GS or WRT54GGX

See Linksys WRT54G/GL/GS/GX page.

Allnet ALL0277

The Allnet ALL0277 (not DSL !!!) essentially is a relabeled Linksys WRT54G v1.0. It was even reported in the forum, that you can install the Linksys firmware on these devices.

First time install

With some minor exceptions, the procedure to install DD-WRT the first time is pretty much the same as for other WRT54G devices. For flashing this device the first time you need to change the change the first 4 bytes of the mini_wrt54g image to read W54A (usually this is W54G). You can use a hex editor like XVI32. After the patch, you can upload using the new firmware using the standard ALLNET WEB interface. If the ethernet interface does not work (it did not for me on v23SP2), try the wireless lan interface to check whether the upgrade did succeed.

After the hard reset of the router, you should be able to proceed as descibed above.

Buffalo WHR-G54S, WHR-HP-G54, WZR-HP-G54, and WZR-RS-G54

Normally, most companies let you upload firmware directly from the user interface. Buffalo unfortunately encrypts their firmware, and they'll only accept encrypted firmware in their web interface. So the easiest way to replace the firmware turns out to be the same way you would "de-brick" a router with corrupt firmware.

Namely, all the broadcom routers enter a special mode in the first few seconds after power is applied that allows a tftp transfer to directly program the flash rom with new firmware. So what you need to do is get everything ready to go, power up the router, and then send it the new firmware quickly.

It turns out to be easier then it sounds.

Gotchas: The special mode uses the default IP address of the router. So if you've changed the ip address of the router since you got it you need to set everything up on the old IP address not the new one. You also need to do this with a wired connection, not a wireless connection. This means that you need to give yourself a static IP address on the wired network (i.e. set your computer to use instead of using DHCP).

Use only v23 SP1 final or later. Older releases may cause trouble!

  1. For thoroughness, reset to factory defaults by holding the reset button while plugging in the router. Hold for at least 30 seconds. Unplug the router.
  2. Connect your computer directly to one of the LAN ports on the router. (You can use a regular cable or crossover).
  3. Because the Buffalo starts up with for WZR-RS-G54), your computer's IP needs to be in the subnet (e.g., mask or, mask for WZR-RS-G54). You will have to set a static IP. A static IP is critical for the tftp procedure to work; a dynamic IP won't work even if the dynamic IP is currently set in the proper subnet. For Windows XP, the following screen shots should help. After selecting "Internet Protocol (TCP/IP)," click on the Properties button to open the next screen. Enter the info as shown and click 'OK'. Leave Default Gateway blank. Image:LAN_Properties_-_XP.jpg
  4. Open a command window. Go to Start->Run->"cmd".
  5. Change your directory to the folder containing the firmware image. (Ex. cd "C:\Documents and Settings\All Users\Desktop" (if you saved the .bin file to the Desktop)
  6. Type tftp -i PUT (file name of firmware image) like: tftp -i PUT dd-wrt.v23_generic.bin. (For WZR-RS-G54 use as the router IP.) Do not press enter yet.
  7. There are a few methods for this step that might work:
    • Grab the power cable to the router (should be unplugged). Now, hit Enter to start the TFTP transfer and immediately connect the power to the Buffalo.
    • On some systems the order above appears to be incorrect. It worked in Windows XP if, while monitoring the properties tab of Network Places, you hit Enter right after Windows shows connected on the net adapter you are using. You may continue to get TFTP transfer "timed out"s unless you wait for port to connect first.
    • Some people have found that they have better luck if you plug in the power cable for the router first, then wait a few seconds until you see the red "DIAG" light come on the front of the router. As soon as you see that, you'll want to press Enter to immediately start the TFTP transfer.
  8. All port LEDs will illuminate.
  9. The LED on the LAN port will flash rapidly for about 6 seconds. The command will complete with a success printout, like Transfer successful: 3502080 bytes in 5 seconds, 700416 bytes/s
  10. The router will reboot and then boot DD-WRT, wait until the bridge/diagnostic light turns off.
  11. At this point, the router is ready to use. There is no need to reboot it (unplug/plug), although this is a safe precaution.
  12. The router will be now be accessible on netmask You will need to change your IP to this range to access it for configuration. In other words, change your static IP from to (For the WB2-G54, the router is still accessible at
  13. The username is 'root' and the password is 'admin'.

Unplugging router can cause media detect network cards to show no media, ie "Network cable disconnected." When you start the tftp and plug the router in, the NIC doesn't detect media until after the tftp flash window has passed, so 60 seconds later the tftp times out and the router boots normally. If so, don't unplug the router. Get your tftp ready, hold down the Init (Reset) button on the router, with the Init held down and the Diag blinking, start tftp and immediately release the Init button. You'll never get the 'Cable Disconnected' errors, and it should flash right up.

***If you are still having trouble with timeouts, etc., you may want to try using the TFTP client from Linksys. Be sure to set it to retry at least three (3) times. Five (5) would be a safe number to start with.***

TFTP instructions for Linux or OS X

  1. Obviously, be sure to observe the aforementioned procedures:
    • Disable your wireless adapter so that the tftp connection is not through a wireless connection.
    • Connect directly to the router using a wired connection (i.e. ethernet cable).
    • Download a copy of these instructions so that they are available to you during the procedure.
    • If working with the WZR-RS-G54 router, then be sure to replace all instances of with
    • Most importantly, review all of these procedures before attempting them.
  2. Change to the directory that you downloaded the dd-wrt.v23_mini_generic.bin file into. At least in Mac OS X, tftp fails to resolve either absolute or relative paths. It is simply better to cd to the directory that contains the dd-wrt.v23_mini_generic.bin file before launching the tftp app so no path resolution has to happen.
  3. Execute the tftp command and change the mode to binary.
  4. Execute the connect command. Even though the router is still powered down tftp doesn't actually "connect" when you execute the connect command. Instead, it merely store the address away.
  5. Execute the trace command so you get feedback.
  6. Execute the rexmt 1 command so tftp will retry to send the file if you don't get the timing perfect.
  7. Then, get ready but don't execute the following command: PUT dd-wrt.v23_mini_generic.bin.. You don't want to hit return yet, because you're going to do this when the timing is right.
  8. Now that you are ready, here we go:
    1. Unplug the power cord and then plug it back in to reboot the router.
    2. When the router is plugged back into power, all of the LEDs on the ethernet ports will turn on.
    3. Once the LEDs turn off on all ports except the connected port, hit enter on the connect command, then immediatly paste (crtl+v) the PUT command into the terminal and hit enter.
    4. The terminal will return with the number of bytes sent and the time that the transfer took in seconds.

You may be able to execute multiple commands using && operator. Also, be sure to remember to use for the WZR-RS-G54 router and to change to the directory that you downloaded the 'dd-wrt.v23_mini_generic.bin' file into before proceeding the this firmware update. Finally, here is a recap of all the commands:

$ cd /path/to/dd-wrt.v23_mini_generic.bin/directory
$ tftp
tftp> binary
tftp> trace
tftp> rexmt 1
tftp> connect
tftp> put dd-wrt.v23_mini_generic.bin

Note for Gentoo Users (or if tftp on your distro fails)

It appears that only one of the currently (11/2/06) available Gentoo packages will flash current releases of this router.

  1. Emerge atftp (or install from
  2. Follow the steps above but skip the "binary" and "rexmt 1" commands
  3. The "put" command seems to work even if entered right before you plug in the router

An alternative tftp command for Linux (use either this one or the sequence above, but not both):

tftp -m binary -c put dd-wrt.v23_generic.bin 

Note: OS X's built-in tftp comman does not support this one command shot

  1. Type in the last line (don't hit enter yet!), power on the router, wait for the LED's to turn off, then hit <ENTER>.
  • The 'status' command is a bit misleading in this sense. The router should actually be powered off at this point.


  • Once you flash to DD-WRT on the Buffalo WHR-G54S/WHR-HP-G54/WZR-RS-G54 and you, for whatever reason, want to flash back to the Buffalo firmware, look in the downloads section of in the "buffalo factory revert" folder for unencrypted firmware that will load from the DD-WRT gui. The WHR-HP-G54 image is the German version. Download the English version from Buffalo's site. Flash the German version and use that to flash the English version.
  • A hidden LED behind the front panel will blink. It slightly lights up the bridge icon. This LED is not used in the Buffalo firmware, but in DD-WRT it will flash on for 2 seconds, then off for 2 seconds.
  • In firmware v23 SP1, the router will restart with IP
  • It is not necessary to use the two-step flash process as with some WRT54Gs. The Buffalo will accept the entire generic image in one shot.
  • For subsequent upgrades/downgrades of DD-WRT, use the web interface of DD-WRT. See Steps to Flash Through Web GUI.

Additional to WHR-HP-G54 - Changing boardflags

Since v23 SP2, this is no longer necessary. See WHR-HP-G54#Built-in_amplifier for details.

  • Telnet to router. Telnet is a network command environment. Open a telnet session in windows by typing telnet in a command window.
  • The username is 'root', password 'admin'
  • Enter the following commands
nvram show | grep boardflags 

~ #
  • if you have 0x1758, change it to 0x2758
  • Use this code:
nvram set boardflags=0x2758 
nvram commit 
  • This setting appears to turn on a feature on the HP receive side, dramatically increasing receive capability.
  • This feature is not saved with the GUI Backup, so must be redone after every instance of going to default.


  • If you experience problems a switch between the Buffalo and your PC may help.
  • If you experience problems, you may need to erase NVRAM by starting a Telnet session and entering one (or both?) of the following Options:
  • Option 1 :
mtd erase nvram
cd /tmp
chmod a+x /tmp/
nvram commit
  • Search for posts in the forum containing "WHR-G54S" and the problem you are having.
    • If you have bricked the router, go to the forums. search for "WHR-G54S bricked". There are enough debricking threads, you don't need to start your own.

Other Buffalo Devices

Flash Your Buffalo WBR-G54, WLA-G54, ... also includes WBR2-G54, WBR2-G54S

Belkin F5D7230-4 v3xxx and Lower

As this belkin router comes in several versions, this firmware build will only work for belkin router models up to v4000. Version 4000 and higher appear to be based on the TI chipset found in the WRT54GC. v1000, and v1111, have 4mb flash roms while v1444 has only a 2mb flash. You must tftp flash the router with the 2mb micro firmware. If you have a 4mb model, you can reflash the router with the full version generic firmware from within the routers web interface once you've followed this procedure. Unless you need the extra features, it is best to stick with the micro firmware since it is known to work better with this router.

  1. Download the latest micro firmware (dd-wrt.v23_micro_generic as of this writing)
  2. Reset router to factory defaults. Unplug the router.
  3. Connect your computer directly to one of the LAN ports on the router.
  4. The router starts up with IP address Set your computers IP address manually to the following setting: IP Address:, Subnet Mask:, Default Gateway: leave blank. For more help with this step, study the instructions for the Buffalo router located above.
  5. Go to Start->Run->"cmd" and press Enter.
  6. Change your directory to the folder containing the firmware image. Ex. cd "C:\Documents and Settings\All Users\Desktop"
  7. Type tftp -i PUT (file name of firmware image) For example: tftp -i PUT dd-wrt.v23_micro_generic.bin. Do not press enter yet.
  8. Connect the power to the Belkin.
  9. All port LEDs will illuminate.
  10. After a few seconds, all LEDs except the one you are connected to will turn off. Wait exactly one second and hit enter to execute the command. If you get a timeout error just try again. (Also try running tftp right before powering up.) If you continue to have trouble with this step check out the alternative method below.
  11. The LED on the LAN port will flash rapidly for a while after which the power button will flash rapidly for a while. Be patient and wait for the power light to stop flashing. Wait a couple more seconds.
  12. Power cycle the router. (unplug the power, wait a few seconds, plug it back in).
  13. Set your IP address back to automatic (DHCP), or set it to something begining with 192.168.1.
  14. The router is now accessible at
  15. The username is 'root' and the password is 'admin'
  16. Enjoy your dd-wrt router

Alternative for Flashing F5D7230-4

If you don't enjoy spending hours, powering your Belkin router up and down. You can can try this procedure that worked for my v1444:

  1. Follow steps listed in the method above until you finish the part where you set your computer's IP to
  2. Goto and goto their download page. (You may want to do this first before you reset to the factory defaults in case resetting screws up your internet connection.)
  3. Download the firmware for BEFW11S4 - EtherFast Wireless AP + Cable/DSL Router w/4-Port Switch.
  4. Extract the tftp.exe program from the zip file.
  5. Start tftp program and set server to: and for the file part, put the location of your "dd-wrt.v23_micro_generic.bin" file.
  6. Set retries to 20.
  7. Powerup router.
  8. Click upgrade and then hit the reset button on your router. If program doesn't catch the Belkin's tftp window, just hit reset again. The Tftp program will let you know when it is upgrading and succeeds.

This method caught the Belkin narrow tftp window on retry #11 vs. my 0 catches after 40 some tries using the power up and down method. Not sure if this will work on other version of the F5D7230-4. From what I have seen with my router, a successful installation will change the LEDs on the Belkin. WLAN LED does not work. Power LED will work and connected WAN LED will blink green. Good luck.

After more than 50 unsuccessful attempts to flash my v1444 router I finally flashed my router using the alternative method described above, but only after using a hub or switch to connect the computer and the Belkin unit. All of my attempts with a direct connection between the router and the computer resulted in a timeout, but by using a hub or switch I had success on the first try. When trying to flash with a direct connection from the computer to the Belkin, it will never work. The connection fails when the router is unpluged or reset. By the time the connection is re-established, the Belkin is too far along in the boot process to accept the upgrade. So if you are having difficulty, like I did for so long, try the above method with a hub or switch connecting one of the lan ports of the router to the computer.

Mitsubishi R100 Gateway

The Mitsubishi R100 is a rebadged ASUS WL500G that is only available in Australia. As such, you can use the ASUS tools on the Mitsubishi product. The R100s are usually found at lower prices compared to the ASUS product. They also come with a 3 yr warranty. Obviously, flashing with a third-party firmware voids this warranty.

Asus WL500G (Original)

You will need:

  • A PC directly connect to one of the LAN ports of the router, via Ethernet Cable. (Unfortunately, it has to be a Windows based PC. I was unable to upload the firmware via tftp command. Maybe you'll have better luck with Linux).
  • These two files: wl500g-clear-nvram.trx (filesize: 1,585,152 bytes) and wl500g-recover.trx (filesize: 3,690,496 bytes)
  • ASUS Firmware Restoration Tool. This is found on the CD that comes with the router OR ASUS Support website here. Its hidden in Utilities section and named ASUS WL-500b/g wireless router utility program in English. Version (for the English version). The file is called (Use unzip app to decompress).
  • DD-WRT v23 SP2

This procedure was developed using the Mitsubishi R100 router with the standard variant of DD-WRT. It should be identical with the ASUS WL500G (Original)

This process requires a bit of patience and persistance. The WL500G and the rebadged R100 are stubborn routers that need a bit of encouragement. Eventually, you will be successful with installing DD-WRT onto them.

  1. Set the PC to have a static IP of, while the gateway entry is
  2. Before you plug the power connector in, press and hold the Restore or Reset button on the back.
  3. While holding the reset button, plug the power connector in.
  4. This causes it to go into Restore mode. This is indicated by the PWR LED flashing at regular intervals.
  5. Now use the ASUS Firmware Restoration Tool and upload wl500g-clear-nvram.trx. Wait until upload is complete and it reboots. This is usually takes about 2 to 3 minutes.
  6. Once done, unplug the power connector. Wait for 30 seconds or so.
  7. Repeat steps 2 to 6, but upload wl500g-recover.trx instead.
  8. Now plug the power connector back into the router.
    • Try to ping the router from your PC. If it responds, then you are ready to upload DD-WRT firmware. Proceed to step 9.
    • If not, then repeat steps 2 to 7 until it does.
    • If that fails, set the router in Restore mode (as mentioned in step 2 to 4), but install DD-WRT firmware. Then wipe it off by repeating steps 2 to 8. You must have it such that the router MUST respond to ping in Restore mode!
  9. Install DD-WRT v23 SP2 ASUS firmware using the ASUS Firmware Restoration Tool. (The firmware file is called dd-wrt.v23_asus.trx).
  10. Once done, wait for a few minutes until it reboots. This can be seen by the AIR LED flashing at regular periods.
  11. Now try pinging the router with DD-WRT firmware installed.
    • If it responds, continue to step 12.
    • If it does NOT respond to pings, repeat steps 2 to 11. Repeat until it responds with DD-WRT installed.
  12. Login in via web browser by entering and the default login is root, with the password admin
  13. Enjoy your R100 or WL500G with DD-WRT v23 SP2! :D

ASUS WL500G Deluxe

  • Remove the power connector of the WL500G.
  • While holding the reset button, plug the power connector back in.
  • When the power led flashes, release the reset button. The router now is in recovery mode.
  • Wait for your pc to get an ip address (if dhcp is configured)
  • Use the ASUS recovery utility to upload the DD-WRT trx file.

You can get the utilities here, or you can browse the Asus site to download the latest version.

In case you have multiple network interfaces and are unable to find you router, disable all but the one that is connected to your router.

After the upgrade the router reboots and you should be able to access the web interface

SSD: For my new WL-500g Deluxe, the recovery utility would appear to successfully upload the firmware (v23), but then I could not get it to boot... even after waiting several minutes and power cycling. The unit would also be unresponsive to ping requests. I could always successfully reload the original Asus firmware. TFTP methods were unsuccessful altogether, as TFTP never seemed to establish contact with the router. Finally, I was able to boot DD-WRT by first flashing with OpenWRT (White Russian rc4), then using OpenWRT's firmware upload page to flash with DD-WRT.

MopIC: I had very similar problem like SSD. Unfortunately, flashing in OpenWRT RC4 or any other software through Asus Restoration tool didn't help at all.
My router is Asus WL-500G PCB R2.40.
It acted as if it was constantly rebooting.
The solution came from website.

I had to do the following:
1. Set my ip address on PC's interface to (dhcp on asus didn't work)
2. Unplug power cord from wl-500g.
3. Press and hold restore button and then insert power cord back into router.

  When the PWR light starts flashing, release Restore button.
Now your wl-500g is in restore mode.

4. Run Asus Firmware Restoration (can be found on asus website or included cd)
5. Choose the wl500g-clear-nvram.trx file and upload it to the router. Wait 2-3 minutes after.
6. Unplug power and again enter Restore mode (steps 2 and 3)
7. Choose the wl500g-recover.trx file and also upload it to your router. Wait 2-3 minutes
8. Unplug power and again enter Restore mode (steps 2 and 3)
9. Choose the firmware you wish to flash and upload. Wait 2-3 minutes. Reboot

  I used DD-WRT v23 SP2 2006-1307 for Asus

10. Now it should be ok - enter and check if it is ok :-)
Hope it helps... for me it was couple hours to fix it...

LFR : Upgrade was done out of the box with .trx file & worked straight, no need for recovery mode
MrO : Does this also work on the WL-500g Premium? TTSherpa : Yes it does. No problen going back an forth the original FW & dd-wrt
DJ : While upgrading from SP1 to SP2, web GUI didn't work with .trx file. Renaming it to .bin worked.

    • posted by Evan Carrol sept 28, done with with WL-500gP **

I just wanted to drop in my advice, I did this whole thing WITHOUT the asus proprietary utils. I used linux TFTP. I had to use the aformentioned utils at, the only different thing I did was use TFTP. I went in the same order as the above but only gave my router 10 seconds between reboots:

1) flash - tftp wl500g-clear-nvram.trx
2) 10 seconds unplug,
3) flash - tftp wl500g-recover.trx
4) 10 seconds unplug,
5) flash- tftp dd-wrt.v23_asus.trx
6) 10 seconds unplug

ASUS WL500G Premium

  • Same as Deluxe.
  • Recover from bad flash via Asus Firmware Restoration.
    • Brick recovery can involve shorting pins. Easy enough if one's hands don't shake, but you void the warranty.

dd-wrtv23 SP2 ok so far ...

Microsoft MN700

  • See MN-700 Page -- summary of steps include:
    • Similar to Asus Deluxe.
    • First perform MN-700 hack to enable Linux based firmware to be installed.
    • Install dd-wrt firmware using Asus Recovery Utility in recovery mode
    • Clear filter_services variables if necessary (SP2 and earlier)

v23 SP2 and earlier work but require filter_service nvram variables to be cleared and reset button does not work.
Full support in SVN 3949+ (you can get SVN 3953 here)

Siemens SE505

BrainSlayer said: "DD-WRT v23 (starting from 27/10/05 version) does now officially support the Siemens Gigaset SE505 router. That means you can use the very latest features like WPA2 on this unit too. Due the limited ram of this unit, you cannot use all features at the same time, but from the base it is much better than the original firmware for this Router"

For flashing the Siemens Gigaset SE505, you have to use the dd-wrt.v23_mini_generic.bin with boot tftp on since the Siemens default settings do not fit to the Linksys/dd-wrt ones you have additionally to check your configuration details after flashing.

(From BrainSlayer's note in hwsupport.txt)

In changelog.txt, the last entry about the SE505 mentions, that the version2 was bricked:

0000161 No gzip in 14.11.2005 ?????
0000167 ipkg broken in V23b 14-11-05
0000168 DD-wrt v23 B2 141105 SE505 v2 bricked

Could someone give more info about the issue or tell us if dd-wrt has been installed succesfully on any version 2 device?

01.mai.2006. I successfully flashed a se505 v2(S30853-S1006-R107-3) with the v23_micro sp1_4.25.06 only the browser buttons on "administration|management" are not working. WDS with WEP is running well at the moment with 2 other WRT54 V23. Other things not tested yet.with v23sp1_04.28.06 buttons on basic-setup are not working - so no adjustment on ip possible. ddt3 at gmx dot net.

02.mai.2006. Even with v23sp1_2006 micro - 0501 buttons on "administration|management" are still not working. WPA as a AP seems not to work on my se505v2. With wrt54gl V23 it works for reference with my notebook yakumo quicklan USB54 XP-generic-setup. If you flash a new fw with tftp somtimes it apears as 192.168.0.your setup and sometimes as an So change your IP to a suitable subnet and search with ping. ddt3 at gmx dot net.

08.mai.2006. Firmware: DD-WRT v23 SP1-RC1 (05/07/06) micro with se505 v2(S30853-S1006-R107-3) works fine now. all the problems from 1+2.mai2006 are solved so far i see in this short time. ddt3 at gmx dot net.

09.mai.2006. update: wpa-psk and wpa2-psk ist not working with my constelation. i flashed back to the orig. siemens_de_3.02.03 fw. with this wpa-psk is running well with orig. xp setup and with yakumo setup - so seems to be a fw problem ddt3 at gmx dot net.

12.mai.2006. after updating to "dd-wrt.v23 SP1/RC2/micro" wpa-psk and wpa2-psk works with my pc! ddt3 at gmx dot net.

18.mai.2006 with DD-WRT v23 SP1 Final (05/16/06) micro (generic) it works also fine. If the se505v2 dont accept the new parameter after press the save button try to switch off the siemens for a moment and restart your browser (be sure to close all your browser windows).ddt3 at gmx dot net.

9.june.2006 will the SE515 be supported?

17.july.2006 dd-wrt.v23_micro_generic_sp2.bin (11.07.2006) works also fine and stable on se505v2 now for 3 days with pppoe in use. but it never shows full speed rate. 36 Mbps is max shown despite the wds oposite station shows 54 Mbps. to see the lease time expire count down I had to swich off "DNSMasq for DHCP" .ddt3.

3 February 2007. DD-WRT v23 SP2 (09/15/06) mini (SVN revision 3932) worked first go with an SE505 v2 (S30853-S1006-R107-3). Same display issue of "36mbit" as ddt3 had, but I think it's cosmetic. did TFTP as per the command-line instructions above for Mac OS X, targetting as the address. After the router restarted itself, the IP changed to Third dd-wrt install in three days, on three different devices. dd-wrt is the king of "opensource WRT". zbendr.

Related Links

Motorola WR850G

See Flash Your Motorola WR850G

Mikrotik Routerboard RB/532

Mikrotik Routerboard RB/532 is supported starting with DD-WRT v23 SP1. See Mikrotik Routerboard RB/532.

La Fonera

See La_Fonera_Flashing Page.