Installation
From DD-WRT Wiki
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.
Contents
[edit] Is your router supported?
For a list of devices working with DD-WRT, please see Supported Devices.
[edit] Downloading DD-WRT
[edit] Precautions
Follow all the instructions precisely, or you may run into trouble. Incorrectly flashing can brick your router!
[edit] Flashing with Web GUI (Not for Buffalo devices)
===Reset to Factory Defaults=== (outdated....it is best to do a Hard reset or 30/30/30)
If you know the IP address, username, and password of your router:
If you do not 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.
[edit] 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 are known to have problems with Firefox.
[edit] Upload The Firmware
[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 192.168.1.1 after a reset, unplug and plug in the power cord real quick. Wait a few seconds and then everything is hunky-dory.
[Comment added 2007/03/27 by staylor] Or, you won't be at the dd-wrt web interface I have a wrt54g v1.1 (also with wrt54gl v1.1), flashing with dd-wrt v23 sp2. I waited the requisite number of minutes, and my "Wireless-G" badge lit up (a good sign), but when I clicked "Continue" after the upload was successful, I did not get to the dd-wrt web interface. Nor was the device ping-able.
[Comment added 1/04/08 by jwebste1] I can confirm Staylor's comment above for a brand new store bought WRT350N (had to soft reset the router to get the mini install to become accessible on 192.168.1.1.
Holding down the reset button for 30 seconds (leaving the power cable connected) re-booted the router, and all was fine thereafter.
If the above doesn't result in a successful load of the dd-wrt web interface, try a "ipconfig -renew" in a command prompt window.
[edit] Possible errors
During the firmware upload process, if your router says something similar to, "Upload Failed," you may be using the wrong version of DD-WRT. This may occur through the web GUI if you use a *wrt54g.bin version when you should have selected the generic version instead. It may also be that your router requires the mini version to be flashed before the full version. Be sure to double check to make sure you have the right version. If you are certain that your router is supported and that you have the correct firmware, you may simply need to use a different web browser (e.g. from Firefox to Internet Explorer).
When logging in fails with the default username/password (see above), you can reset the password. See Why does my login no longer work? for information on how to solve this.
[edit] 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. Also see Reset And Reboot. This is because SP2 uses encrypted password storage inside NVRAM. You are unable to login using root/admin before you reset. Please take this step seriously!
With Linksys WRT54G variants, just holding the reset button for 30 seconds may be sufficient to allow logging in. One user has reported that resetting wasn't necessary at all.
For previous versions: Press and hold the reset button on the back of the router for 30 seconds. See also Reset And Reboot.
[edit] Flashing with TFTP
Although TFTP is a safe method to flash many routers, it should 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, as it is adequate for any standard situation. See that section for more information. If you still wish to flash with TFTP, see the articles TFTP flash and Recovering with TFTP.
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.
Owners of the Siemens Gigaset SE505 have to flash their device with tftp. Look at Flash Your Siemens SE505.
[edit] Flashing with Command Line
This is available on routers that have DD-WRT installed and Telnet/SSH enabled.
It's the *ONLY* recommended mode to flash the router wirelessly.
1) telnet or ssh into WRT
2) download dd-wrt.v2*_generic.bin with wget or scp to /tmp
2a) Alternatively, you could use the mounted share if you have one, and simply download the file there.
3) (optional, but advised) compare MD5 checksum of the original and the downloaded file
4)cd /tmp
write dd-wrt.v2*_generic.bin linux
5) wait...
6) reboot
7) 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.
[edit] Upgrading to a newer version of DD-WRT
If DD-WRT is already installed on your router, you can simply upgrade to a new version via the web interface or TFTP. However, it is highly recommended that you restore the router to defaults using the reset button before and after flash. Never restore old backups from previous versions! Skipping these steps could lead to a bricked device!
Please see wiki article Hard reset for further information on how to restore your device back to DD-WRT default settings.
[edit] Configuration Notes
[edit] If something goes wrong
[edit] Hardware-Specific Information
[edit] Netgear WNR834Bv2
(See Important Notes below before attempting to flash)
The Netgear WNR834Bv2 is now fully supported as of 3rd July 2008. Thanks to Eko, Brainslayer, etc. for their superb work in getting this router supported.
These (slightly modified) instructions were first posted by sparkie HERE. Read that complete thread for the hairy details on getting this device fully supported, if you are so interested or suffer from insomnia.
Step 1: Download the mini version of DD-WRT version 24, build 9856, new driver in the dot CHK format HERE.
Step 2: Flash the firmware to your router using Netgear's factory firmware standard web interface. Note that to successfully flash this device, you may need to use IE or Firefox 3 or higher. sparkie has reported in the thread linked above that Firefox 2 will not work with the Netgear factory web upgrade page to flash this device.
Step 3: If the mini build is insufficient for your needs, you may download your preferred flash BIN file from HERE. Then flash up the new .BIN file using the DD-WRT web interface from the Administration tab, then the Firmware Upgrades tab.
Important Notes (Please read these in full before attempting to flash):
DOUBLE SUPER DUPER Extremely Important Note:
According to Eko, the NVRAM of this router has an additional partition on it which contains your router's serial number, MAC address, and board code. DD-WRT builds prior to 9856 would overwrite this section of NVRAM, if the user enabled JFFS. Builds 9856 and higher include support for turning JFFS on with this model router. In the event that you accidentally erase this part of the NVRAM, you can only recover your router by flashing it via JTAG.
WNR834Bv2 JTAG Pinout:
J12 Pin 1 connected to JP1 pin 1 via 100 ohm resistor. J12 Pin 3 --100r--> TDI (Pin 2 of parallel port) J12 Pin 5 --100r--> to TD0 (Pin 13 of parallel port) J12 Pin 7 --100r--> to TMS (Pin 4 of parallel port) J12 Pin 9 --100r--> to TCK (Pin 3 of parallel port) J12 Pin 10 -------> to GND (Pin 20&25 of parallel port)
[edit] Linksys WAP54G
MAC ADDRESS CHANGES - redhawk
If you really want your WAP to have the correct MAC address when it boots up there are 2 methods....one simple but not permanent, and one not so simple but permanent.
Method 1 -
For V1.x only On the Administration>>Commands tab enter
nvram set et1macaddr=<your MAC address minus 1 here> (due to the port swap) (i.e. 00:11:22:33:44:54)
nvram commit
Run then Save as Startup....now reboot the unit for the new MAC to take effect.
For V2 units - this step is NOT necessary. This unit version has a unique motherboard flag and should be recognized as a WAP on the Status tab.
For V3.x - follow the same step above except substitute the et1macaddr with et0macaddr and don't use the minus 1, use your actual MAC address. (i.e. 00:11:22:33:44:55)
This will need to be re-entered if you do a hard reset (like when doing firmware upgrades).
Example of startup script for a V1:
nvram set et1macaddr=00:11:22:33:44:54
nvram set boardnum=2
nvram commit
Example of startup script for a V3.X:
nvram set et0macaddr=00:11:22:33:44:55
nvram set WAPver=3
nvram commit
Once the script is run and saved as a startup....power cycle the unit. It should then be recognized as a WAP unit on the status tab.
Method 2 - Works for all WAPs (For V2.X+ use actual MAC and MAC+1) Extract your CFE, edit in your MAC address, et0macaddr = MAC, and il0macaddr=MAC+1. (For V1.x... Use your MAC-1 for the lan_hwaddr and your MAC for the wan_hwaddr), then put the CFE back on using the HairyDairyMaid or TJTAG utility. This method is risky. You could potentially turn your router into a brick. Once this is reinstalled on the unit and the firmware has been loaded, your unit will have its own MAC addresses permanently embedded and will show every time you boot.
[note] - for the V1s, search for the embedded text string "hwaddr" using your hex editor. This will find the two MAC addresses that are embedded. Again due to the port swap the LAN MAC address needs to be entered as MAC-1 and wan_hwaddr needs to be entered as the MAC for the V1.X only
[note] - my WAP 1.0 required 192.168.1.1 using tftp.exe for the firmware load the first time... my V3.1 required 192.168.1.245 using tftp.exe for the firmware load the first time.
For loading firmware on the WAP54G V1.X - Has fixed LED displays starting with V24 RC5. - redhawk
nvram show | grep boardnum (then click on "Run Commands")
If it returns blank then issue the following commands... if it returns a boardnum=2 then you won't have to.
nvram set boardnum=2
nvram commit
Power = Power, Diag = Diag or Commit
WLAN - Link LED is now a Radio On/Off indicator, Act = Wireless Activity
LAN - Link = Link, Full/Col = Full, 100 = 100
Thanks goes to Eko for making this unit display correctly.
For loading the firmware on the WAP v2.x - follow the steps for the WAP v3.x below... except don't include the nvram variable for WAPver=3. The v2 units have a unique board and should be already recognized by the RC5 and later firmware. Eko informed me that there are no special variables needed for the v2 units. [redhawk - 11/16/07]
If you receive a error message saying "Unable to downgrade firmware" go to http://192.168.1.245/fw-conf.asp, set pull-down menu "DownGrade Header :" to disable and click [apply]. If this setting executed successful you see a message "Your changes have been saved". [ddvelzen - 18/01/08]
For loading the firmware on the WAP54G v3.X Use V24-RC5 or later for Reset button function
User: <blank>
Password: admin
Hit the Administration tab, and upload the MICRO version of the firmware.
[Added by redhawk - 11/16/07]
nvram set WAPver=3
nvram commit
[Added by lerley - 1/29/08]
I kept getting "upgrade failed" message when trying to update the micro firmware on my WAP54G v3.1 - I ended up doing the following to make it work:
At this point it worked great and I could configure it. Probably still need the nvram stuff as above...
[Added by rfuhrman 19 April 2008]
WAP54v31 hardware, running Firefox on brand new WAP54v31, loading dd-wrt.v24_micro_generic.bin ....on upload completion received "upload failed" message ala 'lerley'. My WAP54 was unaffected, I was still in Admin page, so no need to panic.... Simply switched to IE and ran same exact commands at 192.168.1.245, perfect upload 1st try. Then I could later use Firefox for finishing the configuration.
So I assume do not use browser of choice, but rather use IE for 1st upload (this is same as suggested for WRT54GL install notes).
[edit] Linksys WRT54G or WRT54GL or WRT54GS or WRT54GGX
See Linksys WRT54G/GL/GS/GX page.
[edit] Linksys WRTSL54GS
See Linksys WRTSL54GS page.
[edit] Linksys WRT300N v1
See Linksys WRT300N v1 page.
[edit] Linksys WRT600N v1 and 1.1
See Linksys WRT600N page.
[edit] 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.
[edit] 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 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 described above.
[edit] Buffalo
[edit] WHR-G54S, WHR-HP-G54, WZR-HP-G54
NOTE: Use only v23 SP1 final or later with Buffalo devices. Older releases may cause trouble!
NOTE: For some models you can use the ddadder program
[edit] First Time Flashing from Stock Buffalo Firmware
Normally, most companies let you upload firmware directly from the user interface. Buffalo, unfortunately, encrypts their firmware, and their routers will accept only encrypted firmware in the web interface.
The first time you flash, the TFTP method can be used to bypass this 'encrypted' firmware requirement. Afterwards, the router firmware can be changed through the Web interface normally.
All the Broadcom routers normally 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. 1. power up the router, and then 2. send the router the new firmware, quickly.
[edit] WHR-G125 Specifics
There is no decrypted firmware available for the WHR-G125 so after flashing dd-wrt there is no way to revert to the original Buffalo firmware.
Support for this model has now been integrated into the generic v24 builds. If you are flashing v24 Final you can ignore the following warnings.
NOTE: There is a separate RC5 firmware section for the WHR-G125. For available v24 RC5 downloads see here.
WARNING - You MUST use the special G125 build of v24 if you flash RC6 or earlier on the WHR-G125 router or you will brick it. If loading an Eko- RC5 or Eko-RC6 the file name must contain 535X. If it is a Pre-RC7 build...the Eko builds must contain NEWD in the filename....BrainSlayer RC7 builds can be used directly as is...no special build designation with his Pre-RC7....Now that V24 Final is out...you can load the std_generic.bin file from the Buffalo WHR-G125 directory. Do NOT use any VINT builds on the G125 unit.
[edit] WZR-RS-G54 Specifics
Substitute 192.168.12.1 as the router IP, and 192.168.12.2 as your computer IP in this guide.
[edit] TFTP Flashing Buffalo Routers under Windows
Vista Users: Go into Control Panel, Programs, turn Windows Features on of off, check "TFTP Client".
The computer you are using, and the router you are resetting, must be close to each other: so it is possible to have one hand on the enter key of the computer, and the other holding the power plug of the router, and able to put it in the wall or power outlet.
tftp -i 192.168.11.1 PUT ddwrt.bin Do not press enter yet. Keep this second command window in the foreground, so all you have to press is the Enter key to send the firmware.
Transfer successful: 3502080 bytes in 5 seconds, 700416 bytes/s. Leave the router ALONE at this point! The router will reboot and then boot DD-WRT. At this point, the router is ready to use. There is no need to reboot it (unplug/plug). You can reconfigure your network interface on your computer to use DHCP. The computer pulls an IP address and network information from the router. Access the router via http://192.168.1.1
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 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.
Timeouts
***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. Connect power while holding the reset button till the red diag button begins to blink, release the reset button and hit the Upgrade button on the Linksys TFTP Utility. For WHR-HP-G54 I had to flash through a switch with Windows or suffer timeouts trying.***
I tried several time on Windows XP. The result is always a timeout. Disabling Media Sense feature of Windows XP, I finally succeeded. How to disable Media Sense feature of Windows. http://support.microsoft.com/kb/239924
On Windows Vista, I used the Linksys TFTP utility and had to upload the micro version first. The mega version would never complete in time. After successfully uploading micro, I was able to login to web-based admin and perform an upgrade to mega.
One other way to prevent a timeout is to first set the NIC to 10 Mbit half duplex.
[edit] Another way is to use a (script) cmd file under Windows
@echo off echo ============================================================================ echo Type or paste the firmware filename below and then press Enter. echo. set /p dd-wrt_fn=Firmware Filename: echo. if not exist %dd-wrt_fn% goto FNF_ERROR echo ============================================================================ echo This batch file will upload %dd-wrt_fn% in the current echo directory to 192.168.11.1 during the router's bootup. echo. echo * Set your ethernet card's settings to: echo IP: 192.168.11.2 echo Mask: 255.255.255.0 echo Gateway: 192.168.11.1. echo * Unplug the router's power cable. echo. echo Press Ctrl+C to abort or any other key to continue . . . pause > nul echo. echo * Re-plug the router's power cable. echo. echo ============================================================================ echo Waiting for the router; Press Ctrl+C to abort . . . echo. :PING ping -n 1 -w 50 192.168.11.1 > nul if errorlevel 1 goto PING echo tftp -i 192.168.11.1 put %dd-wrt_fn% tftp -i 192.168.11.1 put %dd-wrt_fn% if errorlevel 1 goto PING echo. echo ============================================================================ echo * WAIT for about 2 minutes while the firmware is being flashed. echo * Reset your ethernet card's settings back to DHCP. echo * The default router address will be at 192.168.1.1. echo. pause goto END :FNF_ERROR echo ============================================================================ echo ERROR: Make sure this batch file and the firmware are in the same directory! echo. pause :END
[edit] TFTP Flashing Buffalo Routers under Linux, OS X, or other
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. Now that you are ready, here we go:
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 192.168.11.1 tftp> put dd-wrt.v23_mini_generic.bin
OS X timing tip: Open the network preference pane and select "Network Status" under the "show" pull-down menu. When the router is unplugged the dot next to "Built-in Ethernet" will be red. Now plug in the router and watch for the "Built-in Ethernet" dot to turn green. As soon as it does, execute the connect and put commands.
[edit] Alternatives and Troubleshooting under Linux
tftp 192.168.11.1 -m binary -c put dd-wrt.v23_generic.bin
[edit] Flashing WBR-G54 WLA-G54 WBR2-G54 WBR2-G54S
See Flash Your Buffalo WBR-G54, WLA-G54, ... also includes WBR2-G54, WBR2-G54S
[edit] Flashing WHR-HP-AG108
See WHR-HP-AG108
[edit] Notes
[edit] Additional WHR-HP-G54 information
See WHR-HP-G54
[edit] Troubleshooting
mtd erase nvram
cd /tmp wget http://openwrt.inf.fh-brs.de/~nbd/nvram-clean.sh chmod a+x /tmp/nvram-clean.sh /tmp/nvram-clean.sh nvram commit
De-bricking
[edit] Belkin F5D7230-4 v2xxx and Lower
As this Belkin router comes in several versions, this firmware build will only work for Belkin router models up to v2000. v2000 has a different switching chip than earlier versions though, so you may lose the functionality of the switch and may only be able to connect wirelessly after flashing a v2000 Belkin (see instructions below for adding limited wired capability). v3000 should work, but attempts to flash it have been unsuccessful with current versions of DD-WRT. Attempting to flash a v3000 could brick your router. Version 4000 and higher appear to be based on the TI chipset found in the Linksys WRT54GC. v1000, and v1111, have 4 MB flash ROMs while v1444 has only a 2 MB flash. You have to flash the router with the 2 MB micro firmware via TFTP. If you have a 4 MB 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.
Flashing v1232a with the latest VINT (currently dd-wrt.v24-9517_VINT_micro.bin) worked. Flashing with the latest micro (dd-wrt.v24_micro_generic.bin) worked with the wired connection but the wireless did not seem to work (no SSID was broadcast).
Warning: These instructions will brick v1212 and v1213 Belkin F5D7231-4 routers, apparently without a hope of fixing them short of some rewiring. See the forum posts here[1] for possible help un-bricking one of these units.
cd "C:\Documents and Settings\All Users\Desktop" Type tftp -i 192.168.2.1 PUT (file name of firmware image) For example: tftp -i 192.168.2.1 PUT dd-wrt.v24_micro_generic.bin. Do not press enter yet. Connect the power to the Belkin. All port LEDs will illuminate. 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. 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. Power cycle the router. (unplug the power, wait a few seconds, plug it back in). Set your IP address back to automatic (DHCP), or set it to something beginning with 192.168.1. The router is now accessible at http://192.168.1.1/ The user name is 'root' and the password is 'admin' Enjoy your DD-WRT routerAlternative 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:
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.
Second Alternative for Flashing F5D7230-4
If you're having difficulty with either of the above methods (or just don't feel like going through all the hoops required) there is a much simpler method that may work.
After trying the first two methods a few times (the first method several times in particular) I managed to get my v1444 flashed in one try (!) using this method. As such I am unsure of the exact delay between resetting the router and starting TFTP, but it was definitely less than a second. At the very least this method is much more enjoyable than unplugging and re-plugging your router over and over again.
Linux Instructions for Flashing F5D7230-4
sudo ifconfig eth0 inet 192.168.2.2 netmask 255.255.255.0
# tftp 192.168.2.1 tftp> verbose Verbose mode on. tftp> trace Packet tracing on. tftp> rexmt 1 tftp> binary mode set to octet tftp> statustimeout 60 Connected to 192.168.2.1. Mode: octet Verbose: on Tracing: on Rexmt-interval: 1 seconds, Max-timeout: 25 seconds tftp>
tftp> put dd-wrt.v24_micro_generic.bin putting dd-wrt.v24_micro_generic.bin to 192.168.2.1:dd-wrt.v24_micro_generic.bin [octet] Sent 1746029 bytes in 14.8 seconds [943799 bits/sec] tftp>
OSX Instructions for Flashing F5D7230-4
tftp tftp> connect 192.168.2.1 tftp> verbose Verbose mode on. tftp> ascii <- [Edit: I think this is a typo, should be "binary"!] mode set to octet tftp> status Connected to 192.168.2.1. Mode: octet Verbose: on Tracing: off Rexmt-interval: 5 seconds, Max-timeout: 25 seconds tftp> timeout 60
tftp> put dd-wrt.v24_micro_generic.bin
Using v2000 Or FD57231-4 As A Wireless Client Or Access Point With DD-WRT
(borrowed from http://forum.bsr-clan.de/ftopic8732.html)
The Belkin F5D7230-4 v2000/FD57231-4 (with screws not under label) are still not completely functional with DD-WRT, but it can be used as either a wireless access-point or a wireless client. The reason for this limitation is due to the fact that the current robo-switch is unable to properly configure the vlan with this router's implementation of the BCM5325EKQM switch chip. By bypassing the vlan stuff we can get limited functionality from this router. In order to load DD-WRT micro you must tftp it on to the router. These instructions are for the v24 build of DD-WRT micro not the multi-language version which seems to have stripped out the reboot, ls and other shell commands.
A) Belkin F5D7230-4 v2000 as a wireless client.
1) Connect to the router wirelessly
2) Telnet to the router and sign in or use a serial console cable
3) Enter the commands below:
nvram set lan_ifnames="eth0 vlan0"
nvram set port0vlans=0
nvram set lan_ifname=eth0
nvram set wan_ifname=vlan1
nvram set wan_ifnames=vlan1
nvram commit
reboot
B) Belkin F5D7230-4 v2000 as a wireless access point
1) Connect to the router wirelessly
2) Telnet to the router and sign in or use a serial console cable
3) Enter the commands below:
nvram set lan_ifnames="vlan0 eth1"
nvram set port0vlans=1
nvram set remote_management=1
nvram set lan_ifname="br0"
nvram set wan_ifname=eth0
nvram set wan_ifnames=eth0
nvram commit
reboot
If you enter in the wrong setting or can not access your router you can always hold down the reset button to restore it to the factory defaults. Remember that we are bypassing all the vlan stuff so some of the web configurations will not work.
4) After the reboot, unplug the router and plug it back in. When it starts back up your wan port should be active. The router's default IP address is 192.168.1.1. Just use the web interface via the WLAN port to configure the router as an access-point. 4) After the reboot, unplug the router and plug it back in. When it starts back up your LAN ports should be active. The router's default IP address is 192.168.1.1. Just use the web interface via the LAN port to configure the router as a wireless client.
[edit] Belkin F5D7230-4 v2000 and v2000de
This version has a different flash chip than the other versions, and it will enter a reboot loop if a special SF build is not used. If you have already flashed the device and it is in a reboot loop, you can still flash the correct build using tftp.
This version also has a different switch chip so only wireless will work after flashing. Wired can be enabled, but the ports can only be set to either WAN or LAN. If you only have wireless clients or want to use it as an AP or Client Bridge; this is not a problem. However, you are not able to use this device as a wired router with wired clients.
Flashing Instructions
Eko has made 2 new builds for this router. Build 10305 The file names are dd-wrt.v24-10305_NEWD-Bv2000_micro-plus.bin and dd-wrt.v24-10305_NEWD-Bv2000_micro.bin If you don't know what micro-plus is you should read this: Micro-plus
A v24 final SF build for this device is currently available here. The file name is dd-wrt.v24-9517_NEWD_SF_micro.bin
Flashing method is the same as other Belkin versions.
Enabling Wired Ports
After flashing, the router will only be accessible through wireless.
-
- nvram set Belkin_ver=2000
- nvram commit
- reboot
- nvram set Belkin_ver=2000
The default setting is for all the ports to act as LAN ports.
Setting Wired Ports to WAN
It is not possible to set only the WAN port to WAN due to the switch chip in this version. You may set all the ports to WAN after following the above instructions for enabling wired ports. In this mode, you cannot connect any other wired devices other than WAN. If you are going to use the device as an AP or Client Bridge, this step is not needed.
Connect to the router using wired or wireless and telnet to 192.168.1.1 as explained above.
To use all ethernet ports as WAN, set
nvram set wan_to_lan=yes
nvram commit
reboot
To restore setting to LAN (default)
nvram unset wan_to_lan
nvram commit
reboot
[edit] Mitsubishi R100 Gateway
The Mitsubishi R100 is a relabeled 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 three year warranty. Obviously, flashing with a third-party firmware voids this warranty.
[edit] Asus WL500G (Original)
You will need:
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 relabeled R100 are stubborn routers that need a bit of encouragement. Eventually, you will be successful with installing DD-WRT onto them.
, subnet: 255.255.255.0 gateway: 192.168.1.1 primary dns: 192.168.1.1. Turn off your firewall. Before you plug the power connector in, press and hold the Restore or Reset button on the back.
While holding the reset button, plug the power connector in.
This causes it to go into Restore mode. This is indicated by the PWR LED flashing at regular intervals.
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.
Once done, unplug the power connector. Wait for 30 seconds or so.
Repeat steps 2 to 6, but upload wl500g-recover.trx instead.
Now plug the power connector back into the router.
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!
Once done, wait for a few minutes until it reboots. This can be seen by the AIR LED flashing at regular periods.
Now try pinging the router with DD-WRT firmware installed.
If it does NOT respond to pings, repeat steps 2 to 11. Repeat until it responds with DD-WRT installed.
Enjoy your R100 or WL500G with DD-WRT v24 mini! :D
If you like you can flash the DD-WRT v24 vint over WebIF
[edit] Asus WL500G Deluxe
First, you need a firmware file. If you're not sure, use the dd-wrt.v23_asus.trx from [2].
There are three ways to upload DD-WRT on WL500G Deluxe:
[edit] Web interface
The easiest way. If you can connect to the router and administer it via its web interface, skip to point 5:
[edit] Asus recovery utility
You can get the utilities here, or you can browse the Asus site to download the latest version. Asus only seem to provide these for Windows.
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.
[edit] Comments
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 wl500.info website.
http://wl700g.info/showthread.php?t=1606
I had to do the following:
2. Unplug power cord from wl-500g.
3. Press and hold restore button and then insert power cord back into router.
3a. When the PWR light starts flashing, release Restore button.
3b. 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 http://192.168.1.1 and check if it is ok :-)
Hope it helps... for me it was couple hours to fix it...
1. Set my IP address on PC's interface to 192.168.1.10 (DHCP on Asus didn't work)
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. QBA: WL-500g premium - used the asus recovery tool (from Eng_1380.zip) to upload v23-sp2 (dd-wrt.v23_vpn_asus.trx) in recovery mode on original asus out of the box firmware - works like a charm :-)
[edit] TFTP
The utility mentioned below might be the OpenWRT Flash utility, although the syntax is different.
posted by Evan Carrol sept 28, done with with WL-500gP:
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
done.
[edit] Asus WL500G Premium
DD-WRTv23 SP2 ok so far ...
C

