Title: flash_wrt54g Subject: I bricked my wrt54g and re-flash with latest openwrt 0.9 RC6 # # Unbrink wrt54G v2 # # Reference: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 # A Hard Reset: # 1. Hold reset for 30 seconds with the router powered on. # 2. STILL holding it, pull the power cord for 30 seconds. # 3. Still holding it, plug the router back in and continue to hold the reset button for 30 more seconds. # You hold reset for 90 seconds. # # Note: WRT54GS v1.1, GS v2, and GS2.1 models can brick after a hard reset no matter how it is done. # # Reference: http://www.dd-wrt.com/wiki/index.php/Linksys_WRT54G_v2.0 # # Note: WRT54GS v1.1, GS v2, and GS2.1 models can brick after a hard reset # no matter how it is done. See this thread and the solution in Vulcan's # post: # http://www.dd-wrt.com/phpBB2/viewtopic.php?t=45024 # # Reference: http://oldwiki.openwrt.org/OpenWrtDocs%282f%29Installing%282f%29TFTP.html # # # Install the tftp program # emerge net-ftp/tftp-hpa eix net-ftp/tftp-hpa [I] net-ftp/tftp-hpa Available versions: 0.49-r1 ~5.0 {ipv6 readline selinux tcpd} Installed versions: 0.49-r1(07:25:34 AM 04/22/2011)(ipv6 readline tcpd -selinux) Homepage: http://www.kernel.org/pub/software/network/tftp/ Description: port of the OpenBSD TFTP server # # Download latest version of openwrt for wrt54g v2 (openwrt-0.9 rc6) # wget -r --no-parent http://downloads.openwrt.org/whiterussian/rc6/ # # plug your compter and wrt54g lan port1 into another switch # and set my ip to 192.168.1.2 # ifconfig 192.168.1.2 # # my wrt54g is usesd with pppoe dsl, # so that is the firmware I will upload # # # start the tftp to 192.168.1.1 # enable verbose, trace, retransmit until successful # set timeout to 60 seconds # cd downloads.openwrt.org/whiterussian/rc6/pppoe/ tftp 192.168.1.1 tftp> verbose tftp> binary mode set to octet tftp> rexmt 1 tftp> timeout 60 tftp> trace Packet tracing on. tftp> put openwrt-wrt54g-squashfs.bin putting openwrt-wrt54g-squashfs.bin to 192.168.1.1:openwrt-wrt54g-squashfs.bin [octet] # # Output will look like this # sent WRQ sent WRQ sent WRQ sent WRQ # # Now plug in wrt56g, and watch the tftp output change # sent WRQ sent WRQ sent WRQ sent WRQ sent WRQ received ACK sent DATA received ACK received ACK sent DATA received ACK ... sent DATA received ACK Sent 1541120 bytes in 10.0 seconds [1230250 bit/s] # # Now you can exit the program # tftp> quit # # Reboot by replugging the power # and point web browser to http://192.168.1.1 # Set the password.