UnBrick your Linksys router – WRT54GS v7

 

Why my router got brick?

Alot. Usually it because of power-surge that cause the chip to corrupt your router’s boot-loader. Some people make use of this method to Unbrick the router by shorten the 16 pin of the chip. I personally dont like the trouble of opening my router, so I dont recommend this method.

Some other reason that lead your router to BRICK is… of course firmware upgrade. I have re-written and merge Part 1 and Part 2 of my tutorial to this page. Anyway let get started.

image

Read what others are saying: useful info for troubleshot. 

Notes:
Please bear in mind that this tutorial is specifically for Linksys WRT54GS version7. If you got question that is not for “how to unbrick your Linksys router – WRT54GS v7” then the chances are your question will never be answer, ever.

Let me emphasize:
For your router to get brick, the chances are you have an itchy hand to flash the firmware or at least you know how to play around with command prompt. If you don’t know anything about command prompt, the chances are you might not survive by the end of this tutorial and your question might not be answer. :P

What to expect:
I’m going to show you guys how to UN-Brick brick router. For your info, the router is Linksys Wireless Router with SpeedBooster WRT54GS v7, running Broadcom chip. What inside this tutorial:
- Prerequisite
- Prepare your test computer
- Before Un-bricking begins
- Let the UN-Brick begins

 

Prerequisite

  • Make sure your router really is brick.

    • Un-connect any cable from your router.

    • Connect power plug to your router and turn it on. Let it on for 5 minutes.

    • Then plug ethernet cable to your router, and plug the other end to your computer.

    • Wait until it gives your computer an IP. If you have a "No connectivity or limited connectivity" message, then you might want to look at my other article here (http://blog.rim3y.net/zero/?p=720). If the same problem occur then follow next step.

    • Then ping 192.168.1.1 (assuming that is your router IP)

    • If you received no reply or error, then look at the LED lights.

    • Look at Power light, if the light is dimmer; and there is no LED light for your Wireless; then bad news: you router is Brick.

    • Sometimes the Power light is blinking continuously. This is the same symptom about brick router.

  • Get necessary firmware.

    • If you want to flash the original firmware then you can download it from Linksys. Update: Some people said that sometimes original firmware didn’t work.
      http://www.linksysbycisco.com/US/en/support

    • If you want, you can use DD-Wrt (http://www.dd-wrt.com/). For my case I use DD-WRT firmware which is specifically for my router. Yours may vary.
      http://www.dd-wrt.com/site/support/router-database

    • Please read whatever notes and warning on each site. For instance:

      • For WRT54GL – using DD-WRT:
        You need to flash using “mini generic” version first before you can apply “standard generic” version.
         
        WRT54GL v 1/1.1 can go up to “standard generic” version.

      • For WRT54GS v7 – using DD-WRT:
        You need to flash it using “VXWorks-killer” first before you can apply “micro generic” version.
         
        WRT54GS v7 can go up to “micro generic” only.

    • Once you go the any of the mention website, download any relevant firmware files (the one that ends with “.bin” extension) and put it to “c:\temp” folder. If “c:\temp” folder don’t exist, then create one.

    • Based on this tutorial which is for Linksys WRT54GS v7, we have two files in our “c:\temp”
      - vxworkskillerGSv7-v3.bin
      - dd-wrt.v24_micro_generic.bin

  • Get the tool:

    • Another tool that you may need is “tftp.exe”, which is TFTP-Client for Windows:
      http://www.tftp-server.com/tftp-client.html

      • If you download it, please put it to “c:\temp”

    • If you are using Vista or Windows 7, they have a built in TFTP which you need to enable:

      • Go to Start > Control Panel > Programs

      • Under Programs and Features, click “Turn Windows features on or off”

      • Check TFTP Client, and click OK.
         
        tftp

Now you are getting closer to start un-bricking your router.

Prepare your test computer
You need to make a simple communication between your computer and your router. This mean, using lowest speed possible and manually configuring the IP.

  • This is an assumption that your router IP is “192.168.1.1”

  • Open your Network Connections. Right-click your Local Area Connection then click Properties

    image1

  • Click TCP/IP, then click Properties

    image2

  • Click "Use the following IP address" then enter below IP:
    IP address: 192.168.1.2
    Subnet: 255.255.255.0
    Default gateway: 192.168.1.1
     
    This is assuming your router’s IP is “192.168.1.1”

    image3
    Click OK.

  • Again on Local Area Connection Properties;

    • choose Advance tab

    • Speed & Duplex

    • change value to 10mbps/half duplex

      image4

      Click OK.

Before Un-bricking begins
Let start already… I know, I know, but lets do another testing to make sure you cover everything up before you start the un-bricking of your router.

  • Have you done Hard Reset (aka 30/30/30 reset):?
    If you done that and yet your router still brick then follow next step.
     
    If you haven’t done this yet, then visit http://www.dd-wrt.com/wiki/index.php/Hard_reset_or_30/30/30
     
  • Maintenance Mode Firmware Screen
    The nice thing about Linksys router is that they have Maintenance Mode Firmware Screen. This screen will over-write the router from booting up and instead allows you to upload any firmware to it. The problem is how to get to that page.
     
  • Its a good idea to turn off your router and make sure it is not connected to power adapter and network cable, at least for 15 minutes (I find this very important)
     
  • From your testing computer, click Start and on the search field type “cmd
    cmd
     
  • Command prompt show up
    cmd2
     
  • At the prompt type (without quote “”):
    ping 192.168.1.1 –t
     
    Again, this is assuming your router IP is 192.168.1.1
     
  • You should received an error message. This is OK.
    cmd3
     
  • Now take an ethernet cable and plug one end to your testing computer. DON’T connect the other end to your outer yet!
     
  • Turn on your router’s power adaptor and DON’T connect it to your router yet.
     

  • Now take your router. PRESS and HOLD the reset button for 10-15 seconds.
     
  • While still holding the reset button, plug the power to your router.
     
  • Now connect the other end of the ethernet cable to your router.
     
  • And… while still holding the reset button, continue holding it for 10-15 seconds.
     
  • By now you should notice that on the command prompt, there is a reply from your router.
     
  • Open up any web browser and type (without quote “”):
    http://192.168.1.1
     
  • You should get Maintenance Mode Firmware Screen.
     
  • Remember the download firmware just now? So, now browse to that file which should be located at: “c:\temp”
     
  • Then click APPLY.
     
  • You should received a message saying “Update Successful”
     
  • You command prompt also showing a success reply. Close the web browser. You’re done!
     

If Maintenance Mode Firmware Screen didn’t work. Then its time for the final show down.

Let the UN-Brick begins

Please bear in mind that before you start this step, make sure your router is not connected to power adapter and network cable, at least for 15 minutes (I find this very important) The objective of this step is to interrupt/attack the router before it able to boot to the current firmware. Your router BRICK because it try to boot up to the current firmware, if its not successful, then it crash, leaving your router useless, thus it BRICK.

  • From your testing computer, click Start and on the search field type “cmd
    cmd
     
  • Command prompt show up
    cmd2
     
  • At the prompt type (without quote “”):
    ping 192.168.1.1 –t
     
    Again, this is assuming your router IP is 192.168.1.1
     
  • You should received an error message, well just let it running.
    cmd3
  • Next, connect one end of the cable to your testing computer.

  • Press reset button on your router, and DONT let go.

  • At the same time connect the other end of the cable to any other port on your router.

  • Still holding the reset button, connect your router to the power cord.

  • …and STILL holding the reset button, keep pressing it more than 30seconds.

  • Then release the reset button.

  • By the time you doing so, you can see there is a reply from your router.

  • Next, open up another command prompt on your testing computer.

  • Through your command prompt, go to the location where you put your firmware. If you been following this tutorial it should be “c:\temp”
     
    cmd4

  • Then type tftp -i 192.168.1.1 put <firmware>
    For our case we have “dd-wrt.v24_micro_generic.bin”, so we type:

    tftp -i 192.168.1.1 put dd-wrt.v24_micro_generic.bin

  • You will see successful and your router will restart.

If everything goes well, you might see that your power LED light is brighter, wireless LED lights up, and your current port’s LED keep on blinking. CONGRATS! You just UNBRICK your router!

Tested on: WRT54GS V4, WRT54GS V7, and WRT54GL V1.1, if yours didn’t work; do and redo before asking questions. Thanks.

Read what others are saying: useful info for troubleshot.

Last 5 posts by Valiant

32 Comment(s)

  1. That was just awesome dude!! I just unbricked my router that had been stored away for a long time now!!!

    Thanks a lot!

    Best regards.

      krn | Feb 8, 2010 | Reply

  2. Worked like a charm! Now I can take back this POS WRT54G2 I bought last night, thanks!!

      BG | Feb 16, 2010 | Reply

  3. Aloha! Worked great and fast! Good job!

    MAHALO

      Mahalo | Mar 1, 2010 | Reply

  4. when i go to ping my router i dont get an error it says reply from 192.168.1.1: bytes=32 time<1ms TTL=100 .. but i cant connec to 192.168.1.1 in the browser and the power light is dim.

      caleb | Mar 8, 2010 | Reply

  5. YES! this is so damn helpful thanks a lot!!!!

      Martin | Mar 8, 2010 | Reply

  6. Caleb: If browser didn’t work you can proceed and use tftp method

    Valiant  Valiant | Mar 8, 2010 | Reply

  7. It seems I CAN ping 192.168.1.1

    did the 30 30 30 and 15 min rest.

    But I can’t tftp, I get time out.

    I can’t browser connect to 192.168.1.1 I get timeout

    Any suggestion?

      Spam Sorenson | Mar 9, 2010 | Reply

  8. Hmmmm I can telent into it and get dd-wrt v24-sp2. what next?

      Spam Sorenson | Mar 9, 2010 | Reply

  9. Oh man. dumb me. I forgot to reset the half duplex back to auto, works dandy now.

    Thanks for the help!

      Spam Sorenson | Mar 9, 2010 | Reply

  10. Worked for me. I un-bricked my LinkSys WRT54g-V5 Thank you very much

      TrueRock | Mar 14, 2010 | Reply

  11. 1. Unplug power and ethernet from bricked router
    Leave unplugged for 15 minutes

    2. Put latest firmware .bin in C:\temp
    For example:
    C:\temp\dd-wrt.v24_micro_generic_2009-10-10_build13064.bin

    3. start a cmd window
    put the following at the prompt – but, do not hit enter, yet:
    C:\TEMP>tftp -i 192.168.1.1 put dd-wrt.v24_micro_generic_2009-10-10_build13064.bin

    4. start another cmd window
    enter the following at the prompt:
    ping 192.168.1.1 -t
    you should see this:

    C:\>ping 192.168.1.1 -t

    Pinging 192.168.1.1 with 32 bytes of data:

    Destination host unreachable.
    Destination host unreachable.
    Destination host unreachable.
    Destination host unreachable.
    Destination host unreachable.
    Destination host unreachable.
    Destination host unreachable.
    Destination host unreachable.
    Destination host unreachable.
    Destination host unreachable.

    5. Leave the ping running in the cmd window.
    This is a way to monitor the status of the computer’s connection to the router.

    6. connect ethernet to router

    7. press re-set button for 30 seconds

    8. while continuing to hold down the re-set button…
    connect the power to the router while continuing to hold down the re-set button for 30 seconds

    9. release the re-set button
    after a few seconds, the ping cmd window should start showing this:

    Reply from 192.168.1.1: bytes=32 time=6ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=2ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=1ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=1ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=4ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=5ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=3ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=5ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=5ms TTL=100

    10. as soon as you see the good pings as shown above, you know the router is ready for the next step. Do not wait – immediately do the following…

    11. Go to the first cmd window and enter the tftp command
    In about 15 seconds you will see this:

    C:\TEMP>tftp -i 192.168.1.1 put dd-wrt.bin
    Transfer successful: 1765376 bytes in 9 seconds, 196152 bytes/s

    and then the ping window will do this:

    Reply from 192.168.1.1: bytes=32 time=2ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=1ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=1ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=4ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=5ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=3ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=5ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=5ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=4ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=5ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=2ms TTL=100
    Reply from 192.168.1.1: bytes=32 time=4ms TTL=100
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Request timed out.
    Reply from 192.168.1.1: bytes=32 time=2ms TTL=64
    Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.1: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.1: bytes=32 time<1ms TTL=64

    The "Request timed out." message occurs when the router re-boots itself.

    The router is now un-bricked.

      TrueRock | Mar 14, 2010 | Reply

  12. I temporarily bricked my WRT54GS v7.2 trying to upgrade to DD-WRT. I followed the steps meticulously, but ended up with a router that had no power light, no wan light and only a port light. No amount of 30/30/30 resets or any other published net tricks resolved this for me (I tried them all). To make a long story short (and to help others in my predicament), I simply flashed the router with “dd-wrt.v24_micro_olsrd_generic.bin” instead of the plain micro_generic. That’s all I needed to do and now I’m up and running! Hope that helps someone.

      Alex | Mar 29, 2010 | Reply

  13. I should clarify my above post with the fact that I was never able to access 192.168.1.1 in the “bricked” state. I downloaded Raytec router tools and flashed the correct bin (no password in the tool menu). I assume that tftp’ing the bin file would also have worked, but I’m not going backwards to test that. :)

      Alex | Mar 29, 2010 | Reply

  14. I have a WRT54GS v7.2 and recently bricked it; now I have 5 steady lights (1, 2, 3, 4, Internet) and a blinking power light every 4 seconds. I followed this tutorial thoroughly and even waited a day to try it out, but getting NO PING. Still the same lights and no ping. Any ideas?

      Han | Apr 6, 2010 | Reply

  15. I have wrt54gs v1.1. Power light blinks continiously. I am not getting DHCP address and when I put static I am not able to ping my router. But if connected another dhcp server to wan port. Connects but not geting dhcp add. Looks like actinng as switch. Could you help. Thanks

      AC | Apr 6, 2010 | Reply

  16. I have wrt54gs v1.1. Power light blinks continiously. I am not getting DHCP address and when I put static I am not able to ping my router. But if connected another dhcp server to wan port. Connects but not geting dhcp add from this.Looks like actinng as switch. Could you help. Thanks

      AC | Apr 6, 2010 | Reply

  17. Great work! I just picked one of these up at a garage sale today. The dd-wrt wiki instructions failed me, so I came here. I had to go ahead and do the TFTP install. Now I have DD-WRT working perfectly! Thanks again!

      TEKrazy | Apr 10, 2010 | Reply

  18. OK i have tryed every thing i can My cmd tells me /temp is not recognized Why plz help.

      josh | Apr 15, 2010 | Reply

  19. i got a wrt54gl ver 1.1; it probably got a power surge issue. the WLAN works fine and i can on the web interface but the DMZ and the 5 ethernet ports turn on when i plug the power in but then immediately go off. so the DMZ and 5 ethernet ports dont work. what can i do

      ds | Apr 16, 2010 | Reply

  20. Worked like a charm. Couldn’t ping, did the 30/30/30 waited a while, pinged and the last solution unbricked it after going through the complete process and I was @ dd-wrt gui. Up and running.

      gypski | May 31, 2010 | Reply

  21. Hello! plz help me :( i tried this steps
    10. as soon as you see the good pings as shown above, you know the router is ready for the next step. Do not wait – immediately do the following…

    11. Go to the first cmd window and enter the tftp command
    In about 15 seconds you will see this:

    C:\TEMP>tftp -i 192.168.1.1 put dd-wrt.bin
    Transfer successful: 1765376 bytes in 9 seconds, 196152 bytes/s

    and then the ping window will do this:

    these dont work on me… i cant get it to work.. Please can some one teamviewer with me!!!

      Alfonso GArcia | Jun 14, 2010 | Reply

  22. worked brilliantly!! Thanks a bunch!!!

      chris | Jun 23, 2010 | Reply

  23. CONFIRMED this .bin file works for this model with the method described above. Wait for it, you will get the TTL=64…Don’t be surprised, the tftp transfer happens in about 3 seconds, it’s not an error.

      Chizz44 | Jun 29, 2010 | Reply

  24. Thank you!
    Worked on my WRT54G V7.2 Linksys Router

      smake | Jun 30, 2010 | Reply

  25. Nice tutorial. Each thing is nicely explained and it is easily understandable. Appreciate your work.

      data recovery | Jul 15, 2010 | Reply

  26. Great guide the UN-Brick begins worked for me and my wrt 54g v8. GREAT I AM SO HAPPY

      Peter | Jul 27, 2010 | Reply

  27. Nice! The manager mode one helped me. And I unbricked my router!

      Alex | Aug 2, 2010 | Reply

  28. Thank you sooooo much! This was so helpful!

      Desperate Router | Aug 6, 2010 | Reply

  29. Many thanks! Followed the steps and got the key player in my home network up and running again after bad upgrade.

      Saku | Aug 6, 2010 | Reply

  30. Thank you SO MUCH! I thought for sure my router was toast.
    Very nice step-by-step guide that anyone can understand and follow. Thanks again!

      Henke | Aug 11, 2010 | Reply

  31. another happy happy person. for me (ubuntu 10.04 NEEDS TFTP INSTALLED) i had to have enet cable attached on both sides hold the reset button and then apply power. open terminal and “cd” to the config files and then:
    ~$: tftp 192.168.1.1
    tftp> mode binary
    tftp> rexmt 1
    tftp> timeout 60
    tftp> put dd-wrt.v24_micro_generic.bin

      Tim | Aug 23, 2010 | Reply

  32. Can anyone tell me if this method MIGHT unbrick my linksys wrt310N ? I bricked it installing the incorrect firmware, now I cannot even access the router with webrowsers.

      Bert D | Sep 5, 2010 | Reply

2 Trackback(s)

  1. Feb 7, 2010: from UnBrick your Linksys router – WRT54GS v7 : RiM3Y.net | BlogZero { "it" was so famous that I have to hide it here}
  2. Apr 28, 2010: from Tweets that mention UnBrick your Linksys router – WRT54GS v7 : RiM3Y.net | BlogZero { "it" was so famous that I have to hide it here} -- Topsy.com

Post a Comment