Linksys WRT54G-RG

Links of Interest

 * WRT54G-RG (Fido UNO router)?

Flashing DD-WRT
Linksys WRT54G-TM and WRT54G-RG are identical in terms of hardware, but not firmware. You MUST USE THE CORRECT firmware files. The WRT54G-TM was a t-mobile router put out by Linksys, and the WRT54G-RG was a Rogers router put out by rogers in Canada.


 * 1) Download the CFE_Updater-WRT54G-RG.bin from here: ftp://dd-wrt.com/others/tornado/CFE_Updater/
 * 2) For the RG Router double check that you got the file with RG in the filename!
 * 3) Download the TFTP.exe file from here: ftp://dd-wrt.com/others/tornado/Windows-TFTP
 * 4) Download the svn 12548 NEWD_Mini.bin (NOT NEWD2!) file from here: ftp://dd-wrt.com/others/eko/V24_TNG/svn12548/
 * 5) Read the peacock announcement here: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486
 * 6) Do a proper hard reset on your router, according to the instructions at note 1 of the peacock announcement. Because you do not have dd-wrt firmware on the router at this point, you will not be prompted for a password.
 * 7) Connect your computer to your router with a lan cable, connecting to a LAN port on the router.
 * 8) Set your computer to a static IP address of 192.168.0.17 and a 255.255.255.0 subnet mask.
 * 9) Open your browser window to 192.168.0.1. You should see the linksys webgui. If you don't power cycle your router.
 * 10) Go to administration, firmware upgrade
 * 11) Select the file CFE_Updater-WRT54G-RG.bin (the one you downloaded in the first step) and click upgrade.
 * 12) GO FOR A WALK for at least 5 minutes. IF YOU TOUCH YOUR ROUTER YOU WILL LIKELY BRICK IT!
 * 13) Change your computer to a static IP of 192.168.1.17. THIS IS VERY IMPORTANT!
 * 14) Open a command window and try to ping 192.168.1.1. with the "ping 192.168.1.1. -t" command. You should get some timeouts. When you get a ttl=100, wait two more minutes. Keep this window open.
 * 15) Open up tftp.exe
 * 16) Select the address of 192.168.1.1. Leave the password blank. Set it to 99 retries and pick the file dd-wrt.v24-12548_NEWD_mini.bin that you previously downloaded.
 * 17) Hit upgrade.
 * 18) GO FOR ANOTHER WALK. WAIT AT LEAST 5 MINUTES. Watch the ping window. You should see ttl=64. When you do, wait two more minutes.
 * 19) Set your web browser to 192.168.1.1. You should see the dd-wrt password page.
 * 20) Power cycle your router.
 * 21) Try to open the webgui again a 192.168.1.1. When you can, change your password and user name to anything.
 * 22) Do ANOTHER Hard reset on the router. Again try to open 192.168.1.1. When you can, you should see the password page again. Now finally set your password and configure your router.
 * 23) Set your computer back to auto IP and auto DNS.
 * 24) Check for recommended builds here.

If you wish to use another build rather than the mini build, you can upgrade with the webgui, following the instructions at note 1 of the peacock thread. This router will take any generic build.

Please note that there is no way to go back to Rogers firmware on this router without a jtag cable and a stock rogers wholeflash.

Reverting to OEM Firmware from DD-WRT
Please note that there is no way to go back to Rogers firmware on this router without a jtag cable and a stock rogers wholeflash.

JTAG Pinouts
 nTRST 1o o2  GND TDI 3o o4  GND TDO 5o o6  GND TMS 7o o8  GND TCK 9o o10 GND nSRST 11o o12 N/C

DD-WRT JTAG Recovery

 * 1) Erase Wholeflash x2
 * 2) Flash CFE
 * 3) Unplug Power
 * 4) Unplug JTAG Cable

TFTP:


 * 1) Set Rig ip static 192.168.1.10
 * 2) Plug network cable from rig to port 1
 * 3) Plug in power
 * 4) click upgrade.
 * 5) wait, wait, wait. If you cannot browse the GUI of the router, return to step 1.
 * 6) Hard Reset 30\30\30

Serial Pinouts
 VCC 1 o o 2  VCC TX1 3 o o 4  TX0 RX1 5 o o 6  RX0 N/C 7 o o 8  N/C GND 9 o o 10 GND

DD-WRT Serial Recovery
Modified redhawk0 instructions
 * 1) Connect Serial cable
 * 2) Start one of the programs from above
 * 3) Get TFTP ready with file selected
 * 4) Use dd-wrt.v24_mini_generic.bin
 * 5) Connect power to the router
 * 6) start a rapid fire Cntl-C as you plug the router to power
 * 7) type "nvram erase" w/o quotes, hit enter
 * 8) type "flash -noheader : flash1.trx" w/o quotes, this starts the tftp daemon, hit enter
 * 9) but have tftp.exe ready
 * 10) Click go or start on TFTP
 * 11) give it 5 minutes after it finishes
 * 12) then power cycle....Reset to default settings in the GUI...then config
 * 13) when it stops spitting out txt....hit the enter key...you should get a login prompt...at that point, power cycle it, hard reset...then config
 * 14) you'll see it boot up

Pictures
Images