Linksys WRT54G2 v1.0

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 05:51, 9 February 2009 (edit)
Alexk (Talk | contribs)
(Added short hint to why WRT54G2 needs different flashing vs classic WRT54 models)
← Previous diff
Revision as of 06:11, 9 February 2009 (edit) (undo)
Alexk (Talk | contribs)
(Moved info about supported versions to the top of the page)
Next diff →
Line 11: Line 11:
__TOC__ __TOC__
-== Differences to older WRT54G models ==+== Things to know about WRT54G2 ==
-WRT54GL and other devices could be upgraded to dd-wrt firmware directly via Linksys web interface. Unlike classic WRT54 versions, however, WRT54G2 runs vxworks-based firmware and requires a special procedure outlined below. It is not possible to upgrade directly via web interface.+Unlike classic WRT54 versions, It is '''not''' possible to upgrade directly via stock Linksys web interface. WRT54G2 runs vxworks-based firmware and requires a special procedure outlined below.
 + 
 +''' Supported firmware versions''':
 +It is possible to flash either Micro or [[Micro-plus]] versions. Once you have Micro, it is possible to update to Micro-plus build via the web gui, as usual. ''Mini'' versions are not compatible and may brick the router.
 + 
 + 
== Software Tools Required == == Software Tools Required ==
Line 37: Line 42:
to a management screen, if you only refresh the browser after upgrading. Just close the browser to a management screen, if you only refresh the browser after upgrading. Just close the browser
and try again. and try again.
-* It is possible to flash either Micro or [[Micro-plus]] versions. Once you have Micro, it is possible to update to Micro-plus build via the web gui, as usual. ''Mini'' versions are not compatible and may brick the router. 
* WARNING: It is currently not possible to restore Linksys firmware after DD-WRT has been flashed. The only possibility is a full JTAG backup. * WARNING: It is currently not possible to restore Linksys firmware after DD-WRT has been flashed. The only possibility is a full JTAG backup.
* If you cannot use Linksys tftp and must use standard tftp that does not take password, there is a workaround from Eko: Login to the linksys and set the password to be empty (no characters at all). Save and exit the router. Then you can uses command line tftp without password. Alternatively, you can use this tool: http://www.dd-wrt.com/dd-wrtv2/downloads/others/tornado/Linux_Linksys_Tftp/linksys-tftp.tar.bz2 * If you cannot use Linksys tftp and must use standard tftp that does not take password, there is a workaround from Eko: Login to the linksys and set the password to be empty (no characters at all). Save and exit the router. Then you can uses command line tftp without password. Alternatively, you can use this tool: http://www.dd-wrt.com/dd-wrtv2/downloads/others/tornado/Linux_Linksys_Tftp/linksys-tftp.tar.bz2

Revision as of 06:11, 9 February 2009

Process developed by Eko
Wiki created by Doramius

Linksys WRT54G2 Flash Instructions

A big thanks to Eko for making this available.

Contents


Things to know about WRT54G2

Unlike classic WRT54 versions, It is not possible to upgrade directly via stock Linksys web interface. WRT54G2 runs vxworks-based firmware and requires a special procedure outlined below.

Supported firmware versions: It is possible to flash either Micro or Micro-plus versions. Once you have Micro, it is possible to update to Micro-plus build via the web gui, as usual. Mini versions are not compatible and may brick the router.


Software Tools Required

- VxWorksPrep-G2V1
- VxWorksKiller-G2V1
- Linksys tftp.exe
- dd-wrt.v24-10709_NEWD_micro.bin - (Always recommended to check for newer versions available here)

Flash Process

  • install Linksys tftp.exe, set your PC to static IP, 192.168.1.10.
    • 1) Reset the router to defaults on the Linksys Admin page, and let it reboot or manually reboot it after it is finished.
    • 2) Set your computer to a static IP address of 192.168.1.10 and 255.255.255.0 for a mask and plug Ethernet cable into LAN port of the G2v1 unit.
    • 3) Close all browser windows. Start the Linksys's tftp.exe utility, set IP to 192.168.1.1 and browse to the VxWorksPrep-G2V1.bin file; enter password = admin, and click Upgrade. Wait 60 seconds for it to reboot on its own. If it does not, then power cycle the router manually.
    • 4) DO NOT open any browser windows. Again, start Linksys's tftp.exe utility and browse to the VxWorksKiller-G2V1.bin file; enter password = admin, and click Upgrade. Wait 2 min for it to reboot on its own. If it does not, then power cycle the router manually. Note: normal tftp doesn't work, this step requires a tftp utility supporting password authentication.
    • 5) Tftp the DD-WRT firmware to the router, using "dd-wrt.v24-10709_NEWD_micro.bin or dd-wrt.v24-10709_NEWD_micro-plus.bin" (or latest version) from the folder where you got these instructions; after successful tftp, wait 3 min for the router to finish writing new nvram defaults, etc... It should reboot on it's own at least two times, so give it the 3 min and then open a browser and type 192.168.1.1 in the address field. If it does not reboot on its own, wait another 1 min, and then power cycle it.
    • 6) When it finishes booting....do a hard reset on the unit....let it boot again, and configure.
    • 7) Do not forget to set your computer back to automatically obtaining DHCP and DNS.

Notes

  • It may be necessary to completely close and reopen the browser, it sometimes will return

to a management screen, if you only refresh the browser after upgrading. Just close the browser and try again.

  • WARNING: It is currently not possible to restore Linksys firmware after DD-WRT has been flashed. The only possibility is a full JTAG backup.
  • If you cannot use Linksys tftp and must use standard tftp that does not take password, there is a workaround from Eko: Login to the linksys and set the password to be empty (no characters at all). Save and exit the router. Then you can uses command line tftp without password. Alternatively, you can use this tool: http://www.dd-wrt.com/dd-wrtv2/downloads/others/tornado/Linux_Linksys_Tftp/linksys-tftp.tar.bz2
  • tftp.exe and tftp2.exe seem to have a problem working through Vista. Several users have complained of connection problems using Vista. However, tftp.exe and tftp2.exe seem to work well in XP. Try using another tftp program that allows a password or set the password to blank and use the Vista command line tftp program.


See this forum thread for more information about dd-wrt on WRT54G2.

Credits

Tornado and redhawk0 for their help.
Thx to Ick & gfunk911 for donating routers.

Links

Forum Reference: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=40142&postdays=0&postorder=asc&start=0