Linksys WRT54G2 v1.3

Overview
Same hardware as WRT54GS2 v1.0

Links of Interest

 * On the DD-WRT wiki
 * On the DD-WRT forums
 * Listed on the WRT54G series page on Wikipedia

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

Pictures
FCCID