Linksys WRT54G v8.2

Overview
"3763-14142902R" is silkscreened on the board.

Links of Interest

 * WRT54G series on Wikipedia
 * Linksys WRT54Gxx page on the DD-WRT wiki
 * Linksys WRT54G v8 and v8.2 page on the DD-WRT wiki
 * WRT54G page on the OpenWrt wiki
 * Datasheet.pdf
 * Quick Install.pdf
 * User Guide.pdf
 * New WRT54G v8.1, v8.2; GS v7.2

Reverting to OEM Firmware from DD-WRT

 * 1) Open the Administration tab in dd-wrt and choose the Firmware Upgrade Tab
 * 2) Choose reset to default settings from the drop down.
 * 3) Browse and select vxworksrevert-Gv8-v3.bin. It will install the revert firmware and give you a rebooting indicator on the screen. When it is done it will give you a Confirm button on the screen. Click on Confirm. Your power light will be flashing on your router.
 * 4) Power cycle the router by unplugging the power cord and plugging it in again.
 * 5) Open your browser and enter into the address bar http://192.168.1.1
 * 6) Use the firmware upgrade dialog to flash your original linksys firmware WRT54Gv8_v8.00.0_fw.bin. When the upgrade success screen comes up wait 2 minutes.
 * 7) Power cycle the router by unplugging the power cord and plugging it in again.
 * 8) Open your browser and enter into the address bar http://192.168.1.1

You are now back to your factory firmware.

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

DD-WRT 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  2 o  RX  3 o N/C  4 o GND  5 o

DD-WRT vlan Info
Confirmed the WRT54G v8.2 supports port-based vlans via the GUI.
 * TechInfoDepot:DD-WRT/VLAN Support

Confirmed the WRT54G v8.2 supports port-based vlans via nvram with micro-plus-SSH.

WRT54G v8.2's ports are mapped like this:  1 2 3 4 | case labels 3 2 1 0 | nvram port numbers

Defaults
root@DD-WRT:~# nvram show | grep vlan.ports vlan1ports=4 5 vlan0ports=3 2 1 0 5* size: 17332 bytes (15436 left) root@DD-WRT:~# nvram show | grep port.vlans port5vlans=0 1 16 port4vlans=0 port3vlans=0 port2vlans=0 port1vlans=0 port0vlans=1 size: 17332 bytes (15436 left) root@DD-WRT:~# nvram show | grep vlan.hwname vlan1hwname=et0 vlan0hwname=et0 size: 17332 bytes (15436 left) root@DD-WRT:~# lsmod Module                 Size  Used by ip_nat_pptp             2192   0 (unused) ip_conntrack_pptp      2524   1 ip_nat_proto_gre       1552   0 (unused) ip_conntrack_proto_gre   2312   0 [ip_nat_pptp ip_conntrack_pptp] switch-robo            5036   0 (unused) switch-core            5984   0 [switch-robo] root@DD-WRT:~# ls /proc/switch eth0 root@DD-WRT:~# cat /proc/switch/eth0/vlan/0/ports 0      1       2       3       5t* root@DD-WRT:~# cat /proc/switch/eth0/vlan/1/ports 4      5t root@DD-WRT:~# cat /proc/switch/eth0/vlan/2/ports 4 root@DD-WRT:~#

Commands
root@DD-WRT:~# nvram set vlan1ports="3 4 5" root@DD-WRT:~# nvram set vlan0ports="2 1 0 5*" root@DD-WRT:~# nvram commit root@DD-WRT:~# reboot

nvram
root@DD-WRT:~# nvram show | grep vlan.ports vlan0ports=2 1 0 5* vlan1ports=3 4 5 size: 17578 bytes (15190 left) root@DD-WRT:~# nvram show | grep port.vlans port5vlans=0 1 16 port3vlans=0 port1vlans=0 port4vlans=0 size: 17578 bytes (15190 left) port2vlans=0 port0vlans=1 root@DD-WRT:~# nvram show | grep vlan.hwname vlan1hwname=et0 size: 17578 bytes (15190 left) vlan0hwname=et0 root@DD-WRT:~#

GUI
root@DD-WRT:~# nvram show | grep vlan.ports vlan1ports=4 5 vlan0ports=3 2 1 0 5* size: 17471 bytes (15297 left) root@DD-WRT:~# nvram show | grep port.vlans port5vlans=0 1 16 port4vlans=1 18 19 port3vlans=0 18 19 port2vlans=0 18 19 port1vlans=0 18 19 port0vlans=1 18 19 size: 17471 bytes (15297 left) root@DD-WRT:~# nvram show | grep vlan.hwname vlan1hwname=et0 vlan0hwname=et0 size: 17471 bytes (15297 left) root@DD-WRT:~#

Pictures
DarkShadow's Unit

DD-WRT Notes

 * 1) In Vista/IE, after attempting to upload the initial killer software, the process appeared to not work several times as dd-wrt-wiki:User:Clock clock received a browser error screen. The modem looked like it may be bricked (broken). The Peacock thread  said, "If reply has TTL of 100, the bootloader (CFE) is responding. This is the best time to start the TFTP transfer. In most cases you should be able to flash dd-wrt firmware if you are getting any ttl=100 responses." The user was able to do the subsequent tftp using the tftp.exe referenced in previous sections.

A CFE compressor is available for the Gv8.0, and 8.2. It enables micro_plus to be put on the router. Click here.

DD-WRT v24 RC1 micro supports this router.

[DD-WRT v24 RC3] The the WRT54 Gv8 and WRT54GSv7 is now fully supported, but requires a special flashing procedure (which is simpler than the v5 and v6 vxworks killer procedure).

See http://www.dd-wrt.com/phpBB2/viewtopic.php?t=20095

[DD-WRT v24 RC4] There are some issues with RC3 which are resolved in RC4. CFE update is critical if updating from RC3. There is an issue with port 4 not working on some routers using RC4.

[DD-WRT v24 RC5] How To Flash the WRT54Gv8 Just follow the instructions as listed, be sure to restart your modem when the install is finished and don't forget the login is root with a password of admin. headpin11

[DD-WRT v24 RC6.2] Supported -> Broadcom Generic / Micro

[DD-WRT v24 Final] As of late April 2008, the WRT54G v7.2 is now supported via the micro version of DD-WRT. (Note that the micro and the mini versions are different. For the differences, read What is DD-WRT?).

Eko's detailed instructions are HERE in English, German, and French.

And the relevant files are HERE.

The best thread in the forums on this topic is HERE.