From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 08:41, 6 July 2006 (edit)
Buffalo (Talk | contribs)
m (Flashing the Belkin F5D7230-4)
← Previous diff
Revision as of 13:37, 6 July 2006 (edit) (undo)
Atzekalle (Talk | contribs)
m (Reverted spam)
Next diff →
Line 1: Line 1:
-<u style="display: none;">... no changes ... no changes ... no changes ... no changes ... no changes ... no changes ... no changes ... no changes ... no changes ... no changes ... no changes ... <a href=''>free ringtones</a> : [ download ringtones] - [HTTP:// download ringtones] : [nokia ringtones|] - [nokia ringtones|HTTP://] : : [[ ring tones]] : [[ | ringtones download]] : "samsung ringtones" : [|ringtones free] </u>==Supported Devices==+==Supported Devices==
as of version v23 SP1 final as of version v23 SP1 final

Revision as of 13:37, 6 July 2006


Supported Devices

as of version v23 SP1 final

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.

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

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.

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 through Command Line (via Telnet/SSH on WRT)

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

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)

[Comment added 26/06/06 by Elvey]] Firefox works fine when flashing and using this router. I've flashed and set up 2 WRT54GL's, with Firefox, and had no problems. I've no idea what incompatibilities others are talking about (mentioned below).

[Comment added 24/06/06 by msc_buff]] I ran into serious port forward problems with my GL v1.1. I reread the flash procedure here and used the '30 second reset' with the button instead of the WebGUI and it fixed my problem. Not sure what the difference between a soft reset and a hard reset is but I will stick with what worked for me.

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.

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

Flashing the WRT54G(S) Version 5

Flash Your Version 5 WRT54G

Flashing the Buffalo WHR-G54S, WHR-HP-G54 and WZR-RS-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. (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. Then enter the info as shown and click 'OK'. Leave Default Gateway blank. Shown wrong in image. Image:LAN_Properties.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. Prepare to send the firmware by typing in the TFTP command.
  7. 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.
  8. Read the next few steps ahead of time to get an idea of the sequence. Timing is key.
  9. Connect the power to the Buffalo.
  10. All port LEDs will illuminate.
  11. After a second or so, all LEDs except the one you are connected to will turn off. This is when you hit Enter to execute the command.
  12. 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
  13. The router will begin to boot DD-WRT, wait until the bridge/diagnostic light light turns of.
  14. At this point, the router is ready to use. There is no need to reboot it (unplug/plug), although this is a safe precaution.
  15. The router will be now be accessible on netmask You will need to change your IP to this range to access it for configuration.
  16. 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. For the WZR-RS-G54 router, replace all the occurances of ip with in the following examples :
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/WZR-RS-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, 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

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

Flashing Other Buffalo devices

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

Flashing the Belkin F5D7230-4

This belkin router comes in several versions. 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 wireless router.
  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.

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