Serial numbers of Linksys WRT54G and WRT54GL routers
Before buying the routers, you need to check the serial numbers so you'll know the version.
WRT54G versions 1-4 and any version of WRT54GL are the best since they have Linux.
WRT54G versions 5-8 come with VXWorks, a lousy proprietary operating system. To get DD-WRT on this, you have to kill VxWorks first.
Here's how you detect the version of Linux routers from the carton. The serial number of the router should end in this
Serial Version Version/Notes
CDF0, CDF1 WRT54G 1.0 DD-WRT 23 SP2 standard
CDF2, CDF3 WRT54G 1.1 DD-WRT 23 SP2 standard
CDF5 WRT54G 2.0 DD-WRT 23 SP2 standard
CDF7 WRT54G 2.2 DD-WRT 23 SP2 standard
CDF8 WRT54G 3.0 DD-WRT 23 SP2 standard
CDF9 WRT54G 3.1 DD-WRT 23 SP2 standard
CDFA WRT54G 4.0 DD-WRT 23 SP2 standard
CDFB WRT54G 5.0 DD-WRT 23 SP2 micro
CDFC WRT54G 5.1 DD-WRT 23 SP2 micro
CDFD WRT54G 6.0 DD-WRT 23 SP2 micro
CDFE WRT54G 7.0 DO NOT BUY THIS, it is not supported by DD-WRT
Installing DD-WRT in Linksys WRT54G versions 1.0, 1.1, 2.0, 2.1, 3.0, 4.0
1.Download the mini version of DD-WRT (dd-wrt.v23_sp2_mini.zip)
2.Log on to your Linksys in the admin mode. Click on http://192.168.1.1.
3.Go to Administration → Firmware Upgrade and upload the DD-WRT mini firmware. Do NOT interrupt the process or your router will be toast!
(The mini version was uploaded first because the default Linksys firmware contains insufficient space in the nvram, so we have to blow it up with the mini before the std.)
4.Now, lets upload the real standard version. Download and unzip the standard version (dd-wrt.v23_sp2_standard.zip). You will need to use corresponding .bin file, for example, if you have a WRT54G, you would be using the firmware dd-wrt.v23_wrt54g.bin for the upgrade.
5.You should get a message like "Upgrade successful".
6.Check if DD-WRT standard version 23 is installed by going to http://192.168.1.1.
If everything is alright, you may log in now. The default username is root and default password is the same password that you used before.
Installing DD-WRT in Linksys WRT54G versions 5.0, 5.1, 6.0, 8.0
1.First download VxWorks Killer {vxworkskillerGv8-v3.bin}.
2.Download DD-WRT micro generic v24 RC6.2 {dd-wrt.v24_mini_generic.bin}.
3.Download TFTP2 {tftp2.exe}.
4.Reset the router to factory defaults
Login to the router interface at http://192.168.1.1
Go to Administration → Factory Defaults and reset it
5.Update your firmware with VxWorks Killer
Go to Administration → Firmware Upgrade
Select vxworkskillerGv8-v3.bin and click on the Upgrade button.
Wait for a couple of minutes till it resets and then move to the next step.
6.Upgrade to dd-wrt micro
Double-click on tftp2.exe and enter these details.
Server: 192.168.1.1
Password: admin
File: path to dd-wrt.v24_micro_generic.bin
Click on Upgrade
Wait for it to upgrade. If you get this message Upgrade are successful login to the new DD-WRT firmware.
If everything is alright, you may log in now. The default username is root and default password is admin.
Configuring DD-WRT
Enable SSH
Go to Administration » Management and select Enable for SSH Management
Set any other settings that you would like. Then, click on the Save Settings button.
Increase transmit power
The default transmit power is only 28 mW! You can increase it upto more than 200 mW, but lets keep it below 70.
Go to Wireless » Advanced Settings and enter a decent value (below 70) for Xmit Power.
Federal regulations prevent increasing your wireless signal beyond a point because the signals may kick out other signals (your poor neighbours').
Shell commands
DD-WRT comes with a built-in shell called ash. Lets play around with the commands. Connect to your router via SSH using PuTTY (if you use Windows) or any remote terminal software.
Login as "root" and type in your password. You should get something like this
Display CPU information of your router
# cat /proc/cpuinfo
system type : Broadcom BCM4712 chip rev 1
processor : 0
cpu model : BCM3302 V0.7
BogoMIPS : 199.06
wait instruction : no
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : no
hardware watchpoint : no
VCED exceptions : not available
VCEI exceptions : not available
Display time the router has been up
~ # uptime
08:49:30 up 7 days, 11:56, load average: 0.03, 0.02, 0.00
Display Linux version
~ # cat /proc/version
Linux version 2.4.33-pre2 (root@linux) (gcc version 4.1.0) #775 Tue May 16 20:13:17 CEST 2006
Scan for wireless networks nearby
~ # wl ap 0
~ # wl scanresults
~ # wl ap 1
![]()
![]()