Linksys WRT54GS v1.0

Links of Interest

 * WRT54G series on Wikipedia
 * Linksys WRT54Gxx page on the DD-WRT wiki
 * Linksys WRT54G, WRT54GL and WRT54GS page on the OpenWrt wiki
 * WRT54GS v1.0 & WRT54G v2.0 MMC/SD Mod In Russian
 * Datasheet.pdf
 * User Guide.pdf
 * Quick Install.pdf

Flashing DD-WRT

 * Linksys WRT54GS v1.0
 * 1) Connected power and Ethernet cable to the router.
 * 2) 30-30-30 Hard Reset.
 * 3) Waited until lights returned to normal (longer is better).
 * There is A LOT of WAITING. Cannot emphasize that enough. Waiting is the key. **


 * 1) Connected to http://192.168.1.1 using Internet Explorer.
 * 2) Logged in and flashed with dd-wrt.v24-13491_VINT_mini via the web interface.
 * 3) Waited until Upgrade Successful message and lights returned to normal (longer is better).
 * 4) Connected to http://192.168.1.1 using Internet Explorer and logged in to look around.
 * 5) Closed Internet Explorer.
 * 6) 30-30-30 Hard Reset.
 * 7) Waited until lights returned to normal (longer is better).
 * 8) Check for recommended builds here.

Flashing OpenWrt

 * Linksys WRT54GS

Flashing Tomato

 * Supported
 * Support Chart at Bottom

Flashing Gargoyle

 * Supported

Reverting to OEM Firmware from DD-WRT

 * 1) Read the peacock announcement found here: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486
 * 2) Do a Hard reset or 30/30/30 on the router according to note 1 of the peacock announcement (30/30/30)
 * 3) Set a static IP on your computer to 192.168.1.7. Subnet mask should be 255.255.255.0.
 * 4) Connect the lan cable from your computer to a LAN port of your router. Make sure your router is plugged in. Nothing should be connected to your computer or the router except the lan cable between them. Turn your firewall and any wireless computer connections OFF.
 * 5) Power cycle the router (uplug the power from the router for 30 seconds and then plug it back in)
 * 6) Open your browser to 192.168.1.1 by putting that in the browser address window of your browser. You should open the linksys webgui and NOT a page that says Management Mode. If you see management mode, power cycle the router again.
 * 7) Enter your username and password
 * 8) Go to administration and firmware upgrade
 * 9) Navigate to the folder that you are using, and select WRT54GSv3_4.71.4.001_fw.bin.
 * 10) Hit upgrade
 * 11) When you get a success, wait FIVE FULL minutes.
 * 12) When you can again access the Linksys webgui using a browser at 192.168.1.1, do another Hard reset or 30/30/30 on the router.
 * 13) Reset your computer ethernet connection to auto IP and auto DNS

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 yellow 9o o10  GND orange 11o o12 N/C
 * /noemw switch required for flash

JTAG Recovery to DD-WRT
JTAG:


 * 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_mini_generic.bin
 * 4) Plug in power
 * 5) Wait for DMZ light to do a steady pulse, When it is lit on the 3rd time click upgrade. The DMZ light must be lit when you click upgrade.
 * 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

Serial Recovery
1= Serial Recovery Instructions!

Pictures
Images 

DD-WRT Notes
Source Unknown "I installed dd-wrt.v24-13064_VINT_std.bin directly from Linksys web interface (v4.7 something) using the standard process. Getting great signal to my wireless clients and playing around with all my new features"
 * 1) 30-30-30 Hard Reset (no forced password reset from orig Linksys firmware)
 * 2) Use firmware update page.......wait...wait...wiat
 * 3) reboot....wait....wait...wait
 * 4) 30-30-30 Hard Reset (forced password reset from new dd-wrt firmware)
 * 5) Configure ppoe, connect to DSL modem in bridged mode, enjoy

comment added 17/05/08 by 7E0D1450 Reference in dd-wrt forum: "I installed dd-wrt.v24-9433_VINT_mega.bin directly from Linksys Web Interface (Firmware version 2.07.1) without problems or issues. The procedure is:
 * 1) Hard Reset (press for 30 secs the reset button - IMPORTANT).
 * 2) Upload the firmware from Linksys Web Interface.
 * 3) When finished the flashing, Hard Reset (press for 30 secs the reset button - IMPORTANT)."

comment added 01-08-2010 by DJJB "I tried to install the mega pack as well through the Linksys Web Interface. Did the resets even the 30-30-30 way, but it bricked my router. The power LED flashes fast and the DMZ sometimes comes up for about 5 seconds. When pinging TTL = 100, but doesn't respond to the TFTP-tool anymore. If it's safer to install the mini version first, you might want to do that first to take less chances..."

comment added 18/03/09 by fattrain "I installed dd-wrt.v24-9517_VINT_std.bin directly from Linksys Web Interface (Firmware version Ver.4.71.4) without problems or issues. The procedure is: Enjoy! :-)"
 * 1) Hard Reset (press for 30 secs the reset button - IMPORTANT).
 * 2) Upload the firmware from Linksys Web Interface.
 * 3) When finished the flashing, Hard Reset (press for 30 secs the reset button - IMPORTANT).