track ip addresses, phone numbers, etc

Hacking your Linksys WRT54G Wireless-G Router with DD-WRT firmware

Published on 01 January 2009

linksys wrt54g

I have a Linksys WRT54G Wireless-G router that runs Linux.

The great thing about this router is that it is easily customisable and highly configurable after uploading third-party firmwares like DD-WRT, Tomato and OpenWRT. You can even write your own scripts and upload them to the router.

At the moment, I have a client-bridge setup with the Linksys WRT54G router as the primary router and a Buffalo WHR-G125 as a secondary router using the same SSID.

DISCLAIMER: Anything you do below this line carries a certain amount of risk and there is always a possibility of bricking your router! I have only detailed the steps I took to install DD-WRT on my router and several other routers. Note that this is NOT an official DD-WRT site.

**Whatever you do is done AT YOUR OWN RISK. I AM NOT RESPONSIBLE for what happens to your router. If you are willing to risk your router with the firmware change, read on, or else look somewhere else.

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

CDF0, CDF1WRT54G 1.0DD-WRT 23 SP2 standard
CDF2, CDF3WRT54G 1.1DD-WRT 23 SP2 standard
CDF5WRT54G 2.0DD-WRT 23 SP2 standard
CDF7WRT54G 2.2DD-WRT 23 SP2 standard
CDF8WRT54G 3.0DD-WRT 23 SP2 standard
CDF9WRT54G 3.1DD-WRT 23 SP2 standard
CDFAWRT54G 4.0DD-WRT 23 SP2 standard
CDFBWRT54G 5.0DD-WRT 23 SP2 micro
CDFCWRT54G 5.1DD-WRT 23 SP2 micro
CDFDWRT54G 6.0DD-WRT 23 SP2 micro
CDFEWRT54G 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

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