A friend recently brought us a Linksys WRT54GL
which had been laying around for a while and whose password was not available anymore.
None of the "easy" password recovery methods seemed to work (like holding the reset button, power-cycling etc.) - possibly because the corresponding options had been previously disabled.
In the end, I used the TFTP method described here: http://oldwiki.openwrt.org/OpenWrtDocs(2f)Installing(2f)TFTP.html
However, it didn't work until all these conditions were met:
- the laptop with the firmware image and the tftp client had to be connected to the WRT through an external switch
- the switch had to be unplugged from the LAN
- I had to lauch a "ping -f 192.168.1.1" in a different terminal before powering on the WRT in order for the tftp transfer to start
- before and after the flashing I followed the 30/30/30
procedure (not sure if that one is mandatory but it is recommended)
To make sure the hardware was working I installed the latest firmware from the Linksys website (WRT54GL_v4.30.11_012_ETSI_EN_code.bin), but now I'll likely reflash it with OpenWRT
- this time from the web interface :o)
It seems that after having been up for a couple of days, the WAG200G starts having issues routing UDP packets properly. This particularly affects VoIP traffic (here IAX2 on port 4569). The symptoms are that "regular surfing" works flawlessly, but the registration with the asterisk server fails. tcpdump
shows no traffic on the server side. Restarting the WAG200G immediately solves the problem.
Here is how I restarted the router from the command line:
wget --http-user=admin --http-password=pa55w0rd \
(replace password and IP address as appropriate)