InfoDepot Wiki

READ MORE

InfoDepot Wiki
Register
Advertisement

Your here: Home / Network / Hardware Specific / Cisco-Linksys / WRT54G-RG v1.0


File:Linksys_WRT54G-RG_a.jpg

NOTE: During configuration or flashing a device, the only that should be hooked to the device is the computer and power.

Makes a great main router (gateway), will also work as a client, client bridge, repeater, repeater bridge.

Specs[]

Fixme This section is in need of cleanup!

Platform

Serial Num. = CDF11
FCC ID = Q87-WT54GV40
CPU Type = Broadcom BCM5352EKFBG (BCM5352 chip rev 0)
MIPS Rev = ?
CPU Speed = 200MHz
Bus = ?
Flash Type = Parallel
Flash Chip = i JS28F640 J3D75 A6427699 (Intel 28F640J3 4Mx16)
Flash Size = 8MB
Max Firmware Size = ?
RAM Size = 32MB
RAM Chip = hnnix 709U C HY5DU561622ETP-D43 K0R
nvram Size = ?
Switch = Broadcom BCM5352E (SoC)
Port-based vlan = Yes
802.1q vlan = ?
Ethernet Port Count = 1-10/100-WAN 4-10/100-LAN
Wired Standard = IEEE 802.3?
boot_wait = ?
bootloader = CFE
Flash Card Socket/Type = No
SD/MMC Mod Support = Yes
MiniPCI slots = No
PoE = No
Power = 12V/1A
Color of LEDs = ?
Size = ?
USB = No
Serial Port = 2
JTAG Port = Yes
Supported by TJTAG 3.02 = Yes
Supported by dd-wrt as of = ?
dd-wrt K2.4 Support = Yes
dd-wrt K2.6 Support = Yes
Special Features = ?

Radio (wl0)

Wireless Radio = Broadcom BCM2050KMLG
WLAN DSP processor = Broadcom BCM5352E (SoC)
Antenna Connector Type = 2x RP-TNC Removable
Wireless Standard = IEEE 802.11b/g
WiFi Operating Frequency = 2.4GHz
 802.11g = 6, 9, 12, 18, 24, 36, 48, 54Mbps
 802.11b = 1, 2, 5.5, 11Mbps
Radio cor_rev = 9
Radio Capabilities = ap sta wet led wme 802.11d 802.11h rm cqa mbss4 
                     afterburner acktiming

Links of Interest[]

Flashing[]

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.

Upgrading[]

If dd-wrt is already on the router follow these instructions. If stock firmware is on the router follow the flashing instructions.

  1. Check for recommended builds here first.
  2. Set your computer to a static IP of 192.168.1.7. (or to whatever subnet the router is on) Disable all firewalls and security. Disable wireless on your computer and only have the router connected to the flashing computer by the ethernet cable between the two.
  3. Hard reset or 30/30/30 (If the router supports it, if not, reset to defults in the GUI) prior to flashing. Wait. Check for password page on re-login and change password.
  4. Flash firmware. You can use the webgui except if you have a belkin router. (For belkin use tftp.exe to flash)
  5. Wait...at least three minutes. Lights should return to normal. See important2, below. Failing to wait is how most people brick their routers.
  6. Do a power cycle of the router. (Unplug the cord, count to 30 and plug it back in.)
  7. Wait for the lights to return to normal usually about 2 minutes.
  8. Hard reset or 30/30/30 again (If the router supports it, if not, reset to defults in the GUI). Wait. Check for the password page and re-login to change the password. Then you can reconfigure your settings manually.
  9. Once configured set your computer back to autoIP and autoDNS.

Important1: This Hard reset or 30/30/30 works fine for Asus router, but you do have to power cycle after the reset.

Important2: After you flash the firmware, and before you do the hard reset, the router will be building some nvram settings. YOU MUST WAIT FOR THIS TO FINISH PRIOR TO DOING ANYTHING WITH THE ROUTER INCLUDING A HARD RESET. Usually, you can tell when this process is completed by the WAN light coming on, but it does take several minutes. Go have a beer. There are starting to be more and more people who BRICK their routers by not waiting until the nvram is rebuilt, PRIOR to doing a hard reset. YOU NEED TO WAIT!

Reverting[]

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/Serial Info[]

JTAG[]

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
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[]

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
Hyper terminal Setup in Windows XP[]
In Windows XP, Click Start Button - All Programs - Accessories - 
   Communication - HyperTerminal
Enter a name for the connection, Click ok
Choose com port you adapter is plugged into, Click ok
Set:
 Bits per second = 115200
 Data Bits = 8
 Parity = none
 Stop bits = 1
 Flow control = none
Click ok
Click File - Save As, and select a place to save it to so you 
             don't have to enter the settings again.
Putty Setup in Windows XP[]
After installing putty, run it
 Serial line = The COM port your using for serial (ie. COM3)
 Speed = 115200
Click on Serial under Connection
 Serial line to connect to = same as above (Serial line)
 Speed (baud) = 115200
 Data bits = 8
 Stop bits = 1
 Parity = None
 Flow control = None
Click Session
 Enter a name for your connection under saved sessions
Click Save
Click Open
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[]

Linksys WRT54G-RG v1 Linksys WRT54G-RG v1 Linksys WRT54G-RG v1

FCC Pictures[]

Notes[]


Hardware Modification[]


Advertisement