From DD-WRT Wiki

Revision as of 19:20, 20 June 2006 by Atzekalle (Talk | contribs)
Jump to: navigation, search

--==Supported Devices==--

as of version v23 SP1 final

  • Allnet
    • All0277
  • Askey
    • RT210W, see flashing notes for Siemens SE505 v1
  • Asus
  • Belkin
    • F5D7130/7330 (2mb flash)
    • F5D7230-4 v1444 (2mb flash)
  • Buffalo
    • WHR-G54S
    • WHR-HP-G54
    • WHR-HP-G54S
    • WZR-RS-G54
    • WBR-G54
    • WBR2-G54
    • WBR2-G54s
    • WLA-G54
  • Linksys
    • WRT54G v1.0, v1.1, v2.0, v2.2, v3.0, v3.1, v4.0, v5.0 (2mb flash)
    • WRT54GL v1.0, v1.1
    • WRT54GS v1.0, v1.1, v2.0, v2.1, v3.0, v4.0, v5.0 (2mb flash)
  • Motorola
    • WR850G
  • Ravo
    • W54-RT, see flashing notes for Siemens SE505 v1
  • Siemens
    • Gigaset SE505

Almost all the above wireless routers have at least 4MB of flash memory. All the WRT54GS models except v4.0 have 8MB of flash. Many other routers (including v5.0 of the WRT54G and WRT54GS) have only 2MB of flash memory. The "full" and "mini" versions of DD-WRT requires 4MB to install; the "micro" version requires 2MB.

List of WRT54G versions and their hardware capabilities

Various other brands and models have been mentioned as supported by BrainSlayer and others in the fora. However, it's not clear (to me) if any of the readily available images will boot on those models, or if you have to ask Brainslayer for them directly, or if you have to grab the sources and build versions yourself. It would be great if someone who did know this would edit this further.


Precautions for flashing

Follow all instruction precisely. You will run into trouble if you don't!

  • Incorrect flashing procedure can brick your router!
  • You CANNOT flash/backup your firmware over a "https" connection!
  • Firmware flashes and upgrade should be done over a wired Ethernet connection.
    • Flashing via wireless is inherently unstable and can result in a bricked router.
  • Disable your anti-virus-software, as a false-positive virus detection could interrupt the upload.
  • Disable any wireless adapters on your system to ensure that the upload goes through the wired connection!
  • You will not have/need internet access from steps 2 through 5.
  • We recommend you save this webpage and the webpages on how to Recover from a Bad Flash to your hard drive (File - Save Page As, *NOT* a bookmark). This will allow you to review the information offline in the event that something goes wrong.

Flashing with TFTP

This procedure 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.

(more info to be added here) - RoManiak 7-6-2006

Flashing through Web GUI

[Comment: I can't tell whether this is for the DD-WRT GUI or the Linksys GUI! I need to know in order to revise the inaccuracies either way --Jgoldberg 03:29, 1 May 2006 (CEST)] 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.

1) Download firmware

  • Download the latest stable release HERE or go to the DD-WRT homepage at [1]
  • Read the changelog and all other information files on the download pages. They contain important information!
  • Note: Use the mini version when upgrading from original Linksys firmware!
  • If you downloaded a .zip file, then extract the archive.
  • Confirm good download by comparing the MD5 hash fingerprint of the firmware you downloaded with published Hashes.

2a) Reset to Factory Defaults through the Web GUI
If you forgot the password or IP of your router, proceed to step 2b.

  • Log into the Web GUI of the router. Type in the address of the router (default into the address bar of your browser.
  • You will be prompted for username and password. Username is not required (for versions >= 2006-Feb-28, username is root). Enter password (default password is admin) and you should be at the Web Interface of your router.
  • Click the "Administration" tab.
  • Click the "Factory Defaults" sub-tab.
  • Select "Yes".
  • Click the "Save Settings" button.
  • A new page will open, click "continue".

2b) Reset to Factory Defaults Using the Reset Button

  • Press and hold the reset button on the back of the router for 30 seconds. This will clear your NVRAM, the configuration and reset the username/password pair to root/admin.

3) Send in the Firmware!

It is VERY important that you do not interrupt the setup while the router is being flashed/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.
  • Use Internet Explorer as the Linksys firmware has many incompatibilities with Mozilla Firefox, in particular in the firmware upgrade section.
  • Again, you should be in the Web GUI of the router. Go there now.
  • Click the "Administration" tab
  • Click the "Firmware Upgrade" sub-tab.
  • Click the "No reset" radio button (works for me, but please double check if "Firmware Defaults" would be better!).
  • Click the "Browse" button and select the DD-WRT .bin file you extracted in step 1.
  • Click the "Upgrade" button.
  • The router will take a few minutes to upload the file, flash the firmware, and then reset.
  • A new page will open, wait about 5 minutes before clicking "Continue".
  • If flashed successfully you will now be at the DD-WRT web interface.

4) Reset to factory defaults AGAIN

  • Repeat step 2a or 2b above. Note: Step 2b (the manual way of clearing the NVRAM) is recommended to make sure the radio gets the correct parameters.

5) Enjoy

  • 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.

6) 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.

Flashing the WRT54Gv4/WRT54GL

Only DD-WRT versions 23 or higher will support the WRT54Gv4. Neither device supports flashing the std or voip versions of DD-WRT from the original Linksys firmware (Linksys limited the maximum firmware size to 3 MBytes). Therefore, only the MINI version of DD-WRT can be flashed initially. Once DD-WRT mini is installed, you can upgrade to std or voip versions. When using the Web GUI, use the *_generic.bin types when upgrading. If the Web GUI is unavailable, use tftp in combination with the special *_wrt54g.bin files. Remember to reset to factory defaults before and after every flashing.

WRT54G v4 Installation Tutorial (with lots of images)

Flashing the WRT54GSv4

The WRT54GSv4 does not support flashing the std or voip version of DD-WRT from the original Linksys firmware, because they limited the maximum firmware size to 3 MByte (as noted below). Use only the mini version of DD-WRT for the WRT54GSv4 on the initial flash load. Failure to due so may cause the upgrade to abort. Afterwards you can upgrade to the std or voip versions of the firmware through the web-interface of DD-WRT. Interestingly after flashing 4 WRTGSv4 routers with the "v4mini" flash rom, I had to use the file for WRT54GS without v4 for upgrading to std / voip, else the update would abort with "Upgrade are failed". Remember to reset to factory defaults before and after every flashing. *NOTE* At least this true of the most current (27.10.05-dd-wrt.v23.beta2) rom.

[Comment added 11/01/06 by bigbloke of] Today I purchased a 'GS V4 not having read this note previously. It flashed V23 standard perfectly first time from the specific file (dd-wrt.v23_wrt54gsv4.bin) therefore there may be some additional factors influencing this) - I hope this is useful feedback

[Comment added 12/01/06 by Mart] I just purchased a GS V4 too. After reading bigbloke's note, i decided to try skip the warning and directly flash V23 VPN from the (dd-wrt.v23_vpn_generic.bin) file without any problems too. I simply followed the "right way to flash" instructions step by step. Looks like the warning mentioned above does not apply with this version.

[Comment added 18/01/06 by Macks] I can second the above, just flashed a GSv4 from Linksys original and used dd-wrt.v23_vpn_wrt54gsv4.bin without problems, directly without going via the mini.

[Comment added 22/01/06 by JD] I can confirm the statement from Macks. Two days ago I bought also a 'GS v4' and I flashed it with the v23 standard without problems (directly without going via the mini)

[Comment added 19/02/06 by markusk] and i did it that way as well and after that got the weirdest behaviour of a router i've ever seen, mainly giving something like unstable wan-connection by going with high traffic over the router (be it via bittorrent, icq-filetransfers and similar).. unfortunately reflashing with mini and then a "big" one didn't help at all..

[Comment added 28/02/06 by mfb] Like Macks I flashed my 'GS v4' with v23 vpn direct, without mini first - working fine, no problems.

[Comment added 05/03/06 by PhoneBoy] On my WRT54GSv3, I found that the device wouldn't take ANY firmware unless I reset it using the button rather than just factory reset from the web interface. Word of warning.

[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.

[Comment added 09/04/06 by zonk] I also can confirm the above statements of flashing two fresh bought WRT54GS v4 routers using the vpn version (v23) instead of the mini version. I used Firefox 1.5 and Opera 7.5 without any failed message. Both routers run stable.

[Comment added 04/06/06 by Yusuf Motiwala] I too can confirm that it can be upgraded directly to standard version. Even after reading this, I experimented upgrading my WRT54GSv4 directly with v23 SP1 standard image without any problem. May be stated limitation is firmware version dependent. At the time of upgrade, my linksys stock firmware version was 1.5.2.

Flashing the WRT54G(S) Version 5

Flash Your Version 5 WRT54G

Flashing the Buffalo WHR-G54S and WHR-HP-G54

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.
  3. Because the Buffalo starts up with, your IP needs to be something in the subnet (e.g., mask You will have to set a static IP. 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. Then enter the info as shown and click OK. I had to leave Default Gateway blank, otherwise I could not even ping my buffalo - shown wrong in image.
  4. Prepare to send the firmware by typing the TFTP command into a command window. Go to Start->Run->"cmd" and Enter.
  5. Change your directory to the folder containing the firmware image. (Ex. cd C:C:\Documents and Settings\All Users\Desktop
  6. Type tftp -i PUT (file name of firmware image) like: tftp -i PUT dd-wrt.v23_generic.bin. Do not press enter yet.
  7. Connect the power to the Buffalo.
  8. All port LEDs will illuminate.
  9. After a few seconds, all LEDs except the one you are connected to will turn off. This is when you must immediately hit enter to execute the command.
  10. The LED on the LAN port will flash rapidly for about 6 seconds. The command will complete with a success printout.
  11. Power cycle the router. (unplug the power, wait a few seconds, plug it back in).
  12. [For some versions] After it boots back up, the router will be accessible on You will need to change your IP to this range to access it for configuration.
  13. The username is 'root' and the password is 'admin'

TFTP instructions for Linux or OS X

  1. In Linux/OS X first, execute the tftp and change the mode to binary. Then, type out but don't execute the "connect" command. Then, using a text editor, or this web page, copy (crtl+c) the PUT command. Then, as soon as the LEDs go off on all ports except the connected port, hit enter on the connect command and then immediatly paste (crtl+v) the PUT command and hit enter. You may be able to execute multiple commands using && operator.
tftp> binary
tftp> connect
tftp> status
Connected to
Mode: octet Verbose: off Tracing: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp> put /path/to/dd-wrt.v23_mini_generic.bin

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, and you for whatever reason want to flash back to the Buffalo firmware, then contact BrainSlayer. He will supply you with a flashable originial Buffalo firmware.
  • 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 2006-03-27 through 2006-04-28 (and maybe later versions), the router will restart with IP
  • It is not necessary to use the two-step flash process as with the WRT54Gs. The Buffalo will accept the entire 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.
    • It is important to "Reset to Factory Defaults" before and after flashing new firmware to prevent odd cases where the router could be bricked. Hold reset button for at least 30 seconds while powering on for the most complete "Reset to Factory Defaults".

Additional to WHR-HP-G54 - Changing boardflags

  • Telnet to router
  • 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.

Flashing Other Buffalo devices

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

Flashing the 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.
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

Flashing the 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?

Related Links

Flashing the Motorola WR850G

Flash Your Motorola WR850G