InfoDepot Wiki

Linksys WRT54G v8.2

1,124pages on
this wiki
Add New Page
Talk0 Share

Your here: Home / Network / Hardware Specific / Cisco-Linksys / WRT54G v8.2

Linksys WRT54G v8.2
Linksys WRT54G
Wireless-G Broadband Router




Linksys Routers


WRT54G v8.2


Linksys WRT54G v8.2


Not for 2MB Devices


Not for 2MB Devices


Not for 2MB Devices


Not for 2MB Devices

NOTE: Requires Micro, Do not flash anything else.
NOTE: Requires K2.4, Do not flash anything else.
NOTE: During configuration or flashing a device, the only that should be hooked to the device is the computer and power.

Works well as a client, client bridge, repeater bridge. Not enough memory to be a main router or a repeater. In my opinion.



Serial Num. = CDFJ
FCC ID = Q87-WRT54GV82
CPU Type = Broadcom BCM5354KFBG (BCM5354 chip rev 2 SoC)
MIPS Rev = ?
CPU Speed = 240MHz
Bus = ?
Flash Type = Parallel
Flash Chip = Samsung 746 K8D1716UBC P107 URJ828P1
Flash Size = 2MB
Max Firmware Size = ?
RAM Size = 8MB
RAM Chip = hynix 748A C HY57V641620ETP-7
nvram Size = ?
Switch = Broadcom BCM5354KFBG (BCM5354 chip rev 2 SoC)
Port-based vlan = Yes
802.1q vlan = ?
Ethernet Port Count = 1-10/100-WAN 4-10/100-LAN
Wired Standard = IEEE 802.3?
boot_wait = ?
bootloader = CFE
Flash Card Socket/Type = No
SD/MMC Mod Support = No
MiniPCI slots = No
PoE = No
Power = 12V/.5A
Color of LEDs = ?
Size = 7.32" x 1.89" x 6.06"
USB = No
Serial Port = Yes
JTAG Port = Yes
Supported by TJTAG/Version = Yes/3.02
Supported by dd-wrt as of = ?
dd-wrt K2.4 Support = Yes
dd-wrt K2.6 Support = No
Special Features = ?

Radio (wl0)

Wireless Radio = Broadcom BCM5354KFBG (BCM5354 chip rev 2 SoC)
WLAN DSP processor = Broadcom BCM5354KFBG (BCM5354 chip rev 2 SoC)
Antenna Connector Type = Fixed
Wireless Standard = IEEE 802.11b/g
WiFi Operating Frequency = 2.4GHz
 802.11g = 6, 9, 12, 18, 24, 36, 48, 54Mbps
 802.11b = 1, 2, 5.5, 11Mbps
Radio cor_rev = 13
Radio Capabilities = ap sta wet led wme 802.11d 802.11h rm cqa mbss4
                     afterburner acktiming

Links of Interest


by clock

Background Preparation

  1. Failing to prepare and do your background research can cause considerable frustration, loss of time, and render your modem absolutely useless (bricked). In other words, you may have to literally throw it away. With an hour or so of research, you'll save hours of time in frustration.
  2. Before you begin, it is recommended that you look through the installation wiki Installation (particularly its precautions - not necessarily its implementation per se). Also, the notorious peacock thread [1], and basic techniques such as Hard reset or 30/30/30 and Tftp flash. These may have some sections in some pages that are not relevant, which you can skim.
  3. You will need to review many of the recommended sites to download below. You'll want to save this page (see below) and come back here, but you will want to get the background first. Be careful about implementation on the wiki. Come back here for the best guide for your modem.
  4. According to multiple sources (peacock, wiki), you are going to do almost everything offline with a LAN connection (how to Disable your wireless). The wiki recommends that you download everything you need before you start. Given the many types of problems you can encounter that can prohibit you from getting help, the process of reactivating and deactivating your security settings if you actually can get back online, and the likelihood for browser crashes if you try to just keep the pages up, this makes a lot of sense.
  5. Make sure to save all webpages as HTML. Do not save as compressed html files (some computers default to that) or bookmarks. Do not skip the saving step.
  6. Here are the websites to save:
    • This page.
    • The peacock thread [2].
    • The wiki Installation.
    • Recover from a Bad Flash.
    • FAQ's
    • Tftp Flash instruction TFTP Flash. It describes how you may have to enable Tftp, which is very quick and easy (just one check box).
    • The wikipedia instructions for Compound TCP, if applicable [3].
  7. In addition, you will probably also need:

Before Implementation

  1. Do not try to skimp on the Hard reset or 30/30/30 reset before or after each change to your router's firmware. The peacock thread goes into extensive justifications. (clock used a stopwatch.) Be sure to follow all power cycling and reset instructions as described.
  2. The wiki recommends that you only use Internet Explorer as a browser for this process.
  3. Log off your wireless (see the right way to do it).
  4. Disable all firewalls and security (how to Disable Security. You should do this AFTER you are offline. Restore before you go back online, something your browser may automatically prompt you to do.


  1. Configure your computer's local lan ethernet address to, subnet, gateway (this is for Linksys/most modems). (How to Change Ethernet Address). Then connect an Ethernet cable to your computer and port 1 of your router. (Do Not Use Wireless)
  2. Power cycle (ie, unplug the power cord from the router).
  3. Perform a Hard reset or 30/30/30 reset.
  4. If you are using certain operating systems, such as Window's Vista, an additional step to Disable Compound TCP may be required.
  5. Open your browser to
    • (Note: Some people, such as sth had problems with Firefox (in June 2008), while others, such as dennisn had no such problems with Firefox 3.0.3 in Dec 2008), with the next step (and later on when trying to save changes in dd-wrt's web gui). Sth had to Recover from a Bad Flash.)
  6. Use the firmware upgrade dialog to flash vxworkskillerGv8-v3.bin. (clock found that this step did not necessarily go smoothly (browser error screen). Despite this, the next few steps did work. Please note below for the work-around and Pinging.). If a page opens that says "Management Mode", close your browser and try again. (It may take a couple times.)
  7. WAIT for at least two minutes before you continue! (longer is better) Give vxworks killer plenty of time to do its magic! After the 2 minutes is up, if you notice a dialog asking you to reboot the router, go ahead and power cycle the router by unplugging the power cord and plugging it back in again.
  8. You will not be able to browse the WRT54 at this point, but you should be able to ping If the router doesn't reply you haven't set your computer's network settings correctly (on step 1)
  9. Now it's time to flash the DD-WRT firmware using TFTP.
    • For Windows, enter tftp -i put dd-wrt.v24_micro_generic.bin at your cmd shell (Vista users will need to install TFTP first) If you don't wish to use command line, follow the instructions for using the tftp.exe program (at note 11 of the peacock thread announcement [4]). (The peacock thread will redirect you to [5] for more specific instructions based on your operating system. This is a good resource and may be all you need - clock).
    • For Linux (distros other than Debian or Ubuntu), enter tftp -m octet -c put dd-wrt.v24_micro_generic.bin

Debian or Ubuntu -- The above instructions won't work. Open Terminal and run:

~$: tftp
tftp> mode binary
tftp> rexmt 1
tftp> timeout 60
tftp> put dd-wrt.v24_micro_generic.bin

    • Alternatively for Linux (ie. if you get "error code 3" while trying to flash it), enter atftp --option "mode octet" --verbose -p -l dd-wrt.v24_micro_generic.bin
    • For OSX, enter tftp -e At the tftp> prompt enter put dd-wrt.v24_micro_generic.bin at your shell
  1. The file will now be transfered and flashed to your router. After this is done, dd-wrt will automatically boot. WAIT for at least two minutes before you continue! (longer is better) Give the router plenty of time to to boot. Make note (perhaps copy) any on-screen instructions.
  2. Perform a Hard reset or 30/30/30 reset again.

After about a minute, you can browse dd-wrt on your router at According to the Peacock thread, if the hard reset was done correctly, you will be asked to change your password when you get to the webgui. (clock found this to be true.)

You may then go on to any of the other options you wish to pursue, such as linking routers [6]. Please see the Peacock thread to make sure that you are pursuing the correct one - do not assume! clock.

If you had previously flashed your router with a beta/RC version of v24 and are currently experiencing issues with LAN port 4 and/or wireless, an upgrade to the CFE-Updater and v24 stable should fix it.

Be sure to use the webgui to update to a newer build such as 12548 Newd_Micro.bin once you have dd-wrt running. See the peacock thread announcement for further information. When selecting a build, do not use any build with NEWD2 in the name. NEWD Micro Only!

Check for recommended builds here.


If dd-wrt is already on the router follow these instructions. If stock firmware is on the router follow the flashing instructions.

  1. Check for recommended builds here first.
  2. Set your computer to a static IP of (or to whatever subnet the router is on) Disable all firewalls and security. Disable wireless on your computer and only have the router connected to the flashing computer by the ethernet cable between the two.
  3. Hard reset or 30/30/30 (If the router supports it, if not, reset to defults in the GUI) prior to flashing. Wait. Check for password page on re-login and change password.
  4. Flash firmware. You can use the webgui except if you have a belkin router. (For belkin use tftp.exe to flash)
  5. least three minutes. Lights should return to normal. See important2, below. Failing to wait is how most people brick their routers.
  6. Do a power cycle of the router. (Unplug the cord, count to 30 and plug it back in.)
  7. Wait for the lights to return to normal usually about 2 minutes.
  8. Hard reset or 30/30/30 again (If the router supports it, if not, reset to defults in the GUI). Wait. Check for the password page and re-login to change the password. Then you can reconfigure your settings manually.
  9. Once configured set your computer back to autoIP and autoDNS.

Important1: This Hard reset or 30/30/30 works fine for Asus router, but you do have to power cycle after the reset.

Important2: After you flash the firmware, and before you do the hard reset, the router will be building some nvram settings. YOU MUST WAIT FOR THIS TO FINISH PRIOR TO DOING ANYTHING WITH THE ROUTER INCLUDING A HARD RESET. Usually, you can tell when this process is completed by the WAN light coming on, but it does take several minutes. Go have a beer. There are starting to be more and more people who BRICK their routers by not waiting until the nvram is rebuilt, PRIOR to doing a hard reset. YOU NEED TO WAIT!


  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
  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

You are now back to your factory firmware.

JTAG/Serial Info


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


  1. Set Rig ip static
  2. Plug network cable from rig to port 1
  3. Get TFTP ready, server ip -, 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
Hyper terminal Setup in Windows XP
In Windows XP, Click Start Button - All Programs - Accessories - 
   Communication - HyperTerminal
Enter a name for the connection, Click ok
Choose com port you adapter is plugged into, Click ok
 Bits per second = 115200
 Data Bits = 8
 Parity = none
 Stop bits = 1
 Flow control = none
Click ok
Click File - Save As, and select a place to save it to so you 
             don't have to enter the settings again.
Putty Setup in Windows XP
After installing putty, run it
 Serial line = The COM port your using for serial (ie. COM3)
 Speed = 115200
Click on Serial under Connection
 Serial line to connect to = same as above (Serial line)
 Speed (baud) = 115200
 Data bits = 8
 Stop bits = 1
 Parity = None
 Flow control = None
Click Session
 Enter a name for your connection under saved sessions
Click Save
Click Open
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 should get a login that point, power cycle it, Hard reset or 30/30/30...then config
  14. you'll see it boot up

vlan Info

Confirmed the WRT54G v8.2 supports port-based vlans via the GUI.

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


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
size: 17332 bytes (15436 left)
root@DD-WRT:~# nvram show | grep vlan.hwname
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
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


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


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
size: 17578 bytes (15190 left)
root@DD-WRT:~# nvram show | grep vlan.hwname
size: 17578 bytes (15190 left)


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
size: 17471 bytes (15297 left)


WRT54Gv82a WRT54Gv82b WRT54Gv82c

WRT54Gv82d WRT54Gv82f WRT54Gv82e

FCC Pictures

Linksys WRT54G v8.2 FCCa Linksys WRT54G v8.2 FCCb Linksys WRT54G v8.2 FCCc

Linksys WRT54G v8.2 FCCd Linksys WRT54G v8.2 FCCe Linksys WRT54G v8.2 FCCf


Notes on challenges

  1. In Vista/IE, after attempting to upload the initial killer software, the process appeared to not work several times as clock received a browser error screen. The modem looked like it may be bricked (broken). The Peacock thread [7] 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.

Other Notes

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).


[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 is DD-WRT?#File_Versions 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.

Hardware Modification

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.