Linksys WRT54GS v4.0

WRT54GS v4.0 serial numbers begin with CGN6. Wikipedia states that a few have 8MB Flash and 32MB RAM.

Specs
Platform Serial Num. = CGN6 FCC ID = Q87-WT54GV40 Industry Canada ID = ? CPU Type = Broadcom BCM5352E MIPS Rev = R1 CPU Speed = 200 MHz Bus = ? Flash Type = Parallel Flash Chip = ? Flash Size = 4 MB Max Firmware Size = 3801088 bytes RAM Size = 16 MB RAM Chip = ? nvram Size = 32 kb ETH chip1 = Broadcom BCM5352E Switch = Broadcom BCM5352E (SoC) vlan Support = ? Ethernet Port Count = 1-10/100-WAN 4-10/100-LAN Wired Standard = IEEE 802.3/3u Ethernet interface OUI = none specified boot_wait = ? bootloader = CFE Flash Card Socket/Type = No SD/MMC Mod Support = No Expansion IF types = none specified PoE = No Power = 12 VDC, 1 A Connector type/size = Barrel Plug LEDs/Color = ? 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 = No Supported by TomatoUSB as of = 54/NoUSB-Std (4MB flash) TomatoUSB K2.4 Support = Yes TomatoUSB K2.6 Support = Yes Special Features =? Radio (wl0) Wireless Radio = Broadcom BCM2050KML WLAN DSP processor = Broadcom BCM5352E (SoC) Wireless interface OUI = none specified Antenna Connector Type = RP-TNC MIMO status = ? Wireless Standard = IEEE 802.11b/g 802.11g = 6, 9, 12, 18, 24, 36, 48, 54 Mbps 802.11b = 1, 2, 5.5, 11 Mbps WiFi Operating Frequency = 2.4 GHz Radio cor_rev = 9 Radio Capabilities = ? Other Default IP address = 192.168.1.1 Default login user = blank Default login password = admin Default SSID = ? OEM = CyberTAN 3rd Party Firmware Support = DD-WRT, Tomato, OpenWrt, TomatoUSB

Links of Interest

 * [[media:Linksys WRT54GS v7-Datasheet.pdf|Datasheet.pdf]]
 * [[media:Linksys WRT54GS-User Guide.pdf|User Guide.pdf]]
 * [[media:Linksys WRT54GS-Quick Install.pdf|Quick Install.pdf]]

Flashing DD-WRT

 * 1) Read the peacock announcement found here: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486
 * 2) Do a HARD reset 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) Leave the username blank and enter "admin" as the password
 * 8) Go to administration and firmware upgrade
 * 9) Navigate to the folder that you are using, and select dd-wrt.v24_mini_wrt54gs.bin
 * 10) Hit upgrade
 * 11) When you get a message that the upgrade is successful, wait FIVE FULL minutes before continuing.
 * 12) If you don't get success, repeat from steps 6 up to this one. If you still don't get success, clear your browser cache. Try using a different browser as well, to navigate to 192.168.1.1.
 * 13) When you can access the dd-wrt webgui using a browser at 192.168.1.1, power cycle the router.
 * 14) When you can again access the dd-wrt webgui using a browser at 192.168.1.1, do another HARD reset on the router.
 * 15) At this point you can choose to put a different build on, depending on what you needs are.
 * 16) Reset your computer ethernet connection to auto IP and auto DNS
 * 17) Check for recommended builds here

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

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 Notes
The stock firmware from Linksys on the WRT54GS v4 won't accept a firmware image over 3MB in size (you will get the error: "Upgrade are failed!"(sic) if you try) so you will need to flash the mini version of DD-WRT onto the router BEFORE flashing the std or voip versions. (Remember to hold reset button for 30 sec after flashing mini version.)

[Comment added 10/07/07 by gatorback] V24 mini would not load: V23 mini wrt54gsv4.bin would load. After this success, V24 VPN generic (9/13/07) loaded successfully. Based on observations below, I recommend loading V23_mini_wrt54gsv4 first before loading the final target firmware.

[Comment added 11/01/06 by bigbloke of cownet.org] Today I purchased a 'GS V4 not having read this note previously. It flashed V23 standard perfectly first time from the specific file (dd-wrt.v23_wrt54gsv4.bin) therefore there may be some additional factors influencing this) - I hope this is useful feedback

[Comment added 12/01/06 by Mart] I just purchased a GS V4 too. After reading bigbloke's note, i decided to try skip the warning and directly flash V23 VPN from the (dd-wrt.v23_vpn_generic.bin) file without any problems too. I simply followed the "right way to flash" instructions step by step. Looks like the warning mentioned above does not apply with this version.

[Comment added 18/01/06 by Macks] I can second the above, just flashed a GSv4 from Linksys original and used dd-wrt.v23_vpn_wrt54gsv4.bin without problems, directly without going via the mini.

[Comment added 22/01/06 by JD] I can confirm the statement from Macks. Two days ago I bought also a 'GS v4' and I flashed it with the v23 standard without problems (directly without going via the mini)

[Comment added 19/02/06 by markusk] and i did it that way as well and after that got the weirdest behaviour of a router i've ever seen, mainly giving something like unstable wan-connection by going with high traffic over the router (be it via bittorrent, icq-filetransfers and similar).. unfortunately reflashing with mini and then a "big" one didn't help at all..

[Comment added 28/02/06 by mfb] Like Macks I flashed my 'GS v4' with v23 vpn direct, without mini first - working fine, no problems.

[Comment added 09/04/06 by zonk] I also can confirm the above statements of flashing two fresh bought WRT54GS v4 routers using the vpn version (v23) instead of the mini version. I used Firefox 1.5 and Opera 7.5 without any failed message. Both routers run stable.

[Comment added 04/06/06 by Yusuf Motiwala I too can confirm that it can be upgraded directly to standard version. Even after reading this, I experimented upgrading my WRT54GSv4 directly with v23 SP1 standard image without any problem. May be stated limitation is firmware version dependent. At the time of upgrade, my linksys stock firmware version was 1.5.2.

[Comment added 13/09/07 by [hajj_3] DO NOT PUT FULL VERSION ON FIRST, i just did that and now my router is bricked:( make sure you do mini first guys!