- Advertising (1)
- Artificial Intelligence (AI) (10)
- Classification (2)
- Coding / Programming (6)
- Cryptography (1)
- Data Mining (11)
- ewrt linux (2)
- Fixing Stuff (5)
- Machine Learning (21)
- Math (1)
- Politics (2)
- Psychology (3)
- Ramblings (19)
- Random (6)
- Security (13)
- Society (9)
- Sociology (3)
- spam (2)
- Statistics (9)
- August 14, 2008 11:13 pm: CAPTCHAs - Not dead
- August 1, 2008 10:25 pm: ISC on the Future of Anti-Virus Protection
- July 12, 2008 4:41 pm: The cloud obscuring the scientific method
- June 22, 2008 5:05 pm: Debugging and Evaluating Predictive Models
- May 21, 2008 8:08 pm: Cult of the Amateur
- April 21, 2008 1:38 am: ART OF SEDUCTION: Not Pretty, Really
- March 25, 2008 2:25 am: "Internal Server Error" when converting phpBB v2 to phpBB v3
- March 6, 2008 1:29 am: Firewire and DRM
- February 28, 2008 10:46 pm: Using Psychological Domain Knowledge for the Netflix Challenge
- February 12, 2008 1:24 am: VPN Tunnels from within VMWare (Windows XP and GRE weirdness)
Blogroll
Useful Links
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
Fixing a broken Linksys WRT54G
A friend of mine recently fried one of his linksys router, a WRT54G (hardware version 2.0), after trying to upgrade the firmware. The box is old, no more warranty and all that. Since I played a bit with eWRT linux on the Linksys a while ago, he thought I might have use for a broken router (maybe as a paper-weight). Turns out the power light was blinking forever, but the routers firmware didn’t come up. I recall having seen some documents on the web on fixing a broken Linksys WRT54G firmware (search for “unbrick wrt54g”; that took me a while to find). Here’s what worked for me using linux. First, download the matching firmware for your router from the linksys website. Then I pressed the reset-button, plugged in the power (holding the reset-button down) and kept holding the reset-button down for about 5-6 seconds, and then started the process below (i.e. I typed all that beforehand, just hitting enter for the put command). The router will be on IP 192.168.1.1 and will accept firmware updates with TFTP. It seems that even is the case without boot_wait being set to on.
ifconfig eth0 down
ifconfig eth0 up 192.168.1.100
# clear your local firewall rules if you have to!tftp 192.168.1.1
tftp> mode binary
tftp> rexmt 1
tftp> trace
tftp> timeout 300
tftp> put code.bin
You might have to try several times to get the timing right. You can also check with tcpdump if you get arp-replys/pings back from the router.