Linksys WRT54G v4.0

From DD-WRT Wiki

Revision as of 15:40, 30 September 2009 by DHC DarkShadow (Talk | contribs)
Jump to: navigation, search

This page needs to be brought up to date and cleaned up.

WARNING: Only DD-WRT v23 and newer will run on this model. If you use an older version, you will need to Recover from a Bad Flash.

The stock firmware from Linksys on the WRT54G v4 won't accept a firmware image over 3MB in size (you will get the error: "Upgrade are failed!" if you try) so you will need to flash the mini version of DD-WRT onto the router BEFORE flashing the std or voip versions. (Remember to hold reset button for 30 sec after flashing mini version.)

The following are the steps that I went through to get DD-WRT v23 installed on a WRT54G v4 (or WRT54GL). I tried to take screenshots of each step as I went, so as not to confuse anyone. Following the instructions found at Steps_to_flash_through_Web_Interface, I was eventually successful in getting DD-WRT installed. I will use some of the text from those instructions as well as inserting my screenshots and other encounters not mentioned in the above link.

Contents

How To Flash

Download the DD-WRT v23 firmware

 image:DD-WRT_WRT54G_v4_-MiniPackage.png


Reset through the Web Interface

if you forgot the password or IP of your router, proceed to step 2b.

  • From a PC connected to one of the 4 LAN ports on the router open a web browser and go to the IP of the router (default IP is 192.168.1.1).
 image:DD-WRT_WRT54G_v4_-StockLogin.png.jpg
  • You will be prompted for username and password. Username is not required. Enter password (default password is admin) and you should be at the Web Interface of your WRT54G v4
 Image:BasicSetup.jpg

  • Click the "Administration" tab.
 Image:AdministrationTab.jpg



  • Click the "Factory Defaults" sub-tab.
  • Select "Yes".
 image:DD-WRT WRT54G v4 -StockFactoryDefaults.jpg



  • Click the "Save Settings" button.
  • A warning will pop up, click "ok".
 Image:DD-WRT WRT54G v4 -StockFactoryDefaultsWarning.jpg



Reset to factory defaults

  • 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 password to admin.

Be aware that if your router currently has an OpenWRT firmware running on it, then using the reset button may brick your router. Research your current firmware to be safe.



Upgrade Firmware

Do not turn off the computer, close the web browser, or turn off the router during this process!!!!!
  • From a PC connected to one of the 4 LAN ports on the router open a web browser and go to the IP 192.168.1.1.
 image:DD-WRT WRT54G v4 -StockLogin.jpg



  • You will be prompted for username and password. Leave username blank, enter password admin. Now you should be at the Web Interface of your WRT54G v4.
 Image:BasicSetup.jpg



  • Click the "Administration" tab
 Image:AdministrationTab.jpg



  • Click the "Firmware Upgrade" sub-tab.
 Image:DD-WRT WRT54G v4 -StockFirmwareUpgradeTab.jpg



  • Click the "Browse" button and select "dd-wrt.v23_mini_generic.bin" file you extracted in step 1.
 Image:DD-WRT WRT54G v4 -StockBrowseMiniFirmware.JPG



  • Click the "Upgrade" button.
 Image:DD-WRT WRT54G v4 -StockSelectMiniFirmware.jpg


  • The router will take a few minutes to upload the file, flash the firmware, and then reset.
 Image:Dd-wrt login.jpg



  • Here is where my experience was a bit different than the instructions said it would be. I never got success message, instead of got a failed message. This is when I started to get a bit nervous that I had bricked my brand new router! So I started reading furiously through all the documentation I could get my hands on about recovering a bricked WRT when I relaunched "192.168.1.1" and found that DD-WRT was working! Don't ask me... but the flashed seemed to have worked perfectly despite the error message I got.
 Image:DD-WRT WRT54G v4 -StockUpgradeFailed.jpg
  • Additional note #1: as of version v23 SP1 the default login username/password has changed from <blank>/admin to root/admin.
  • Additional note #2: if you are flashing the router using Firefox, it may warn you a dozen times that some scripts are very slow, giving you the option to stop that script, or continue. You should press continue (or use alternate browser). To fix the unresponsive script issue in Firefox, navigate to about:config, then increase the integer value of dom.max_script_run_time from 5 to 20.
  • Additional note #3: make sure you are plugged in directly to the router with a network cable. Going through a switch or hub doesn't count (and believe it or not it doesn't work...I spent several hours following these instructions going through a switch with failure after failure. Please plug in directly to the router!).



  • If flashed successfully you will now be at the DD-WRT web interface and the Router Name will be DD-WRT.
 Image:DD-WRT WRT54G v4 -DD-WRT Working.jpg



Reset to factory defaults AGAIN

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



Upgrade the Firmware to DD-WRT STD v23

  • It is strongly advised that you enable the "Boot Wait" option under the "Administration" tab before continueing. 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.
  • Download the STD Version 23 HERE (dd-wrt.v23_sp2_standard.zip) or go to the DD-WRT downloads section at http://www.dd-wrt.com/dd-wrtv3/dd-wrt/downloads.html
  • Extract it



  • Click the "Administration" tab
  • Click the "Firmware Upgrade" sub-tab.
 Image:DD-WRT WRT54G v4 -DD-WRT UpgradeFirmware.jpg



  • Hit the browse button and select dd-wrt.v23_generic.bin that you just extracted.
 Image:DD-WRT WRT54G v4 -DD-WRT SelectSTDPackage.jpg



  • You should see the progress of the flash like so:
 Image:DD-WRT WRT54G v4 -DD-WRT STDPackageProgress.jpg



  • If the upgrade went well then you should see a success message. You're done!
 Image:DD-WRT_WRT54G_v4_-DD-WRT_UpgradeSuccess.jpg



Troubleshooting

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