Linksys WRT54G2 v1.3

Links of Interest

 * DD-WRT Support Thread
 * [[media:Linksys WRT54G2-V10 Datasheet.pdf|Datasheet.pdf]]
 * [[media:Linksys WRT54G2-V10 Quick Install.pdf|Quick Install.pdf]]
 * [[media:Linksys WRT54G2-V10 User Guide.pdf|User Guide.pdf]]

Flashing DD-WRT
Supported by dd-wrt as of = Nov 05, 2009

***Warning*** - There is no Revert for this router at this time
 * 1) Configure your computer's local lan ethernet address to 192.168.1.7, 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)(Nothing else connected to router)
 * 2) Perform a Hard reset or 30/30/30.
 * 3) Open your browser to http://192.168.1.1.
 * 4) Use the firmware upgrade dialog to flash Vxworkskiller-G2V13.bin.
 * 5) WAIT for at least five minutes before you continue! (longer is better) Give vxworks killer plenty of time to do its magic!
 * 6) You will not be able to browse the WRT54G2V13 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)
 * 7) Tftp the DD-WRT firmware to the router, use latest dd-wrt.v24_micro_generic.bin from the folder where you got these instructions; after sucessful tftp, wait 5 min for the router to finish writing new nvram deafults, etc... It should reboot on its own at least 2 times, so give it 5 min and then go to http://192.168.1.1 (If it not reboot on its own, wait another 2 min, and then power cycle it), you should see the password reset page. Don't worry about changing it at this point.
 * 8) Perform a Hard reset or 30/30/30.
 * 9) WAIT for at least 5 minutes before you continue! (longer is better) Give the router plenty of time to to boot.
 * 10) Browse 192.168.1.1, you should see the password reset page, change it! Then configure.
 * 11) Check for recommended builds here.

Reverting
***Warning*** - There is no Revert for this router at this time

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

Using Universal JTAG Adapter

white   1o o2	 black red   3o o4	 GND blue   5o o6	 GND green   7o o8	 GND yelow   9o o10  GND orange 11o o12  N/C


 * /noreset switch required

JTAG Recovery

 * 1) Backup CFE x2 (Compare the files, they must match exactly or there is something wrong with your JTAG setup)
 * 2) Erase Wholeflash x2
 * 3) Flash CFE
 * 4) Unplug Power
 * 5) Unplug JTAG Cable

TFTP:


 * 1) Set Rig ip static 192.168.1.10
 * 2) Plug network cable from rig to port 1
 * 3) Get TFTP ready, server ip - 192.168.1.1, Password - blank, file - dd-wrt.v24_micro_generic.bin
 * 4) Plug in power
 * 5) As soon as windows says "connected" hit upgrade. May have to use a network hub to make sure windows is always connected.
 * 6) Hard Reset 30\30\30

Serial Pinouts
VCC 1 o  TX  3 o  RX  5 o N/C  7 o GND  9 o

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_micro_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....hard reset...then config
 * 13) when it stops spitting out txt in the serial consol....hit the enter key...you should get a login prompt...at that point, power cycle it, Hard reset or 30/30/30...then config
 * 14) you'll see it boot up

Pictures
FCCID