Replacing the firmware on a Linksys WRT54G
I brought a WRT54G from Fon some time ago and since then have upgraded it to a fonerno and so today I decided to install the lastest test of X-wrt as usual I could not remember the atftp command so after a quick scan of the web I found this at the <a href="/cgi-bin/ikiwiki.cgi?page=OpenWrt&from=thoughtsplurge%2Fposts%2F2007%2F06%2F19%2FReplacing_the_firmware_on_a_Linksys_WRT54G&do=create" rel="nofollow">?OpenWrt forums:
atftp --trace --option "timeout 1" --option "mode octet" --put --local-file openwrt-xxx-x.x-xxx.bin 192.168.1.1
So pull the plug on your router run the command above, replaceing the correct firmware filename for xxx-x.x.-xxx, and plug your router in. It should load the new firmware and then reboot.
Sorted.