How To Flash the WRT54Gv8

From DD-WRT Wiki

Revision as of 22:58, 25 August 2009 by DHC DarkShadow (Talk | contribs)
Jump to: navigation, search

NOTE: These instructions only apply to the Linksys WRT54Gv8.0 and WRT54Gv8.2. They do not work for the WRT54Gv8.1. If you want to flash a WRT54Gv8.1, pls read this.

How To Flash the WRT54G v8.0 and v8.2 Using v24 (including sp2)

  1. Configure your computer's local lan ethernet address to 192.168.1.10, subnet 255.255.255.0, gateway 192.168.1.1 . Then connect an Ethernet cable to your computer and port 1 of your router. (Do Not Use Wireless)
  2. Unplug the power cord from the router.
  3. Perform a Hard_reset_or_30/30/30 reset
  4. Open your browser to http://192.168.1.1. (Note: Some people, such as sth had problems with Firefox (in June 2008), while others, such as dennisn had no such problems with Firefox 3.0.3 in Dec 2008), with the next step (and later on when trying to save changes in dd-wrt's web gui). Sth had to Recover from a Bad Flash.)
  5. Use the firmware upgrade dialog to flash vxworkskillerGv8-v3.bin.
  6. WAIT for at least two minutes before you continue! (longer is better) Give vxworks killer plenty of time to do its magic! After the 2 minutes is up, if you notice a dialog asking you to reboot the router, go ahead and power cycle the router by unplugging the power cord and plugging it back in again.
  7. You will not be able to browse the WRT54 at this point, but you should be able to ping 192.168.1.1. If the router doesn't reply you haven't set your computer's network settings correctly (on step 1)
  8. Now it's time to flash the DD-WRT firmware using TFTP
    • For Windows, enter tftp -i 192.168.1.1 put dd-wrt.v24_micro_generic.bin at your cmd shell (Vista users will need to install TFTP first) If you don't wish to use command line, follow the instructions for using the tftp.exe program at note 11 of the peacock thread announcement - http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486
    • For Linux, enter tftp -m octet 192.168.1.1 -c put dd-wrt.v24_micro_generic.bin at your shell (beware that there is more than one TFTP client program out there. If you have David A. Holland's NetKit TFTP client -- which is probably the case on Debian or Ubuntu -- then the above instructions won't work. Instead, try these commands, which I've separated by semi-colons here, but which you shall separate by line feeds when you enter them: tftp; mode binary; rexmt 1; timeout 60; put filename. Have fun.)
    • Alternatively for Linux (ie. if you get "error code 3" while trying to flash it), enter atftp --option "mode octet" --verbose -p -l dd-wrt.v24_micro_generic.bin 192.168.1.1
    • For OSX, enter tftp -e 192.168.1.1. At the tftp> prompt enter put dd-wrt.v24_micro_generic.bin at your shell
  9. The file will now be transfered and flashed to your router. After this is done, dd-wrt will automatically boot.
  10. WAIT for at least two minutes before you continue! (longer is better) Give the router plenty of time to to boot.
  11. Perform a Hard_reset_or_30/30/30 reset again

After about a minute, you can browse dd-wrt on your router at http://192.168.1.1.

If you had previously flashed your router with a beta/RC version of v24 and are currently experiencing issues with LAN port 4 and/or wireless, an upgrade to the CFE-Updater and v24 stable should fix it.

Be sure to use the webgui to update to a newer build such as 11296 once you have dd-wrt running. See the peacock thread announcement for further information. http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486

How To Return To Your Original Linksys Firmware V8

  1. Open the Administration tab in dd-wrt and choose the Firmware Upgrade Tab
  2. Choose reset to default settings from the drop down.
  3. Browse and select vxworksrevert-Gv8-v3.bin. It will install the revert firmware and give you a rebooting indicator on the screen. When it is done it will give you a Confirm button on the screen. Click on Confirm. Your power light will be flashing on your router.
  4. Power cycle the router by unplugging the power cord and plugging it in again.
  5. Open your browser and enter into the address bar http://192.168.1.1
  6. Use the firmware upgrade dialog to flash your original linksys firmware WRT54Gv8_v8.00.0_fw.bin. When the upgrade success screen comes up wait 2 minutes.
  7. Power cycle the router by unplugging the power cord and plugging it in again.
  8. Open your browser and enter into the address bar http://192.168.1.1

You are now back to your factory firmware.