How do you set the overclock for the WRT54g

GuRu

Senior Member
Joined
Mar 12, 2005
Messages
812
Reaction score
0
Location
Free Electrons
I am doing this the lazy way to try and save time but posting instead of googling ...
How do you do the overclock on the WRT54g , to set it to 216mHz ?
 
get a shell login, either telnet or ssh, the options to allow for these logins can be found in dd-wrt/sveasoft/hyperwrt,ewrt. Openwrt/freifunk use shell by default

once in the shell, type
Code:
nvram set clkfreq=216
nvram commit
reboot

to test current clockfrequency, type:
cat /proc/cpuinfo
it should list the frequency somewhere in the output
should look something like this if the cpufrequency has been set to 216
Code:
root@OpenWrt:~# cat /proc/cpuinfo
system type             : Broadcom BCM947XX
processor               : 0
cpu model               : BCM3302 V0.7
BogoMIPS                : 215.44
wait instruction        : no
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : no
hardware watchpoint     : no
VCED exceptions         : not available
VCEI exceptions         : not available
215.44 is what it will run at (or something similiar
 
Dont try set it to something thats not one of the multiples ( I have only ever used 200, 216 and 240 ) or you will brick your wrt.

look on www.openwrt.org forums for the "safe" values you can use
 
Okay people.. lets get a few things straight here.
The reason you would want to overclock the CPU on the WRT54G to 216Mhz, is to get around a nasty bug that causes the device to hang when doing large transfers.

It was discovered that the LAN port controller runs at 216Mhz, and the CPU runs at 200Mhz. This difference caused them to get "out of sync" at high usage.

So, the solution was to equalize their clock speeds. And the easiest one to change is the CPU.
That, is the ONLY reason you should ever want to overclock these things.
Unless you really really really want a pretty black and blue doorstop.
 
Is it only the v2.2 that has this problem? the latest firmware v4.20.6 from Linksys claims to fix this, tried it on my v2.2 and its sorted the problem out.
I have tried with a 2Gb file and a 3.4Gb file and both went through perfect no hanging at all, Anyone else tried this?
 
Top
Sign up to the MyBroadband newsletter
X