Reviving a dead DI524 router

Well, I was ploughing through the GPL’d source code of the firmware for my router as a bored person would do on the holidays. I was hoping to find a exploit somewhere on my router (the DI524 runs Linux) so I could run SSH and do some other interesting things with the router. My router was the B4 revision.

Eventually, I overflowed the Domain Name Server option in the webgui and it must have screwed something up because the router stopped responding. None of the lights came on except the Power indicator.

I rebooted the router, nope, after all the initialization, I was back to square one.

“Easy to fix,” I thought and flipped the router over and hit the reset button. No response. I unplugged it, held the reset button and plugged it in. No deal. I must have corrupted some part of the firmware so I look up some emergency recovery guides for the router. It looks like a brick.

I eventually found this. But even after following the instructions several times, I still had a non functioning router.

So after a bit of fiddling and over 12 hours of headache and grumpiness since I didn’t have internet, I finally had it booting again. Here’s the procedure to recover your DI-524 from a brick.

First, try a hardware reset. This will reset everything back to factory defaults. First, unplug your router. At the back of your router, there is a reset button. Use a toothpick or ballpoint pen to press it. Plug in your router while holding the button in place. Hold it in for exactly 2 seconds and let go of the button.

If it works, simply skip the rest of this guide and reconfigure your router.

If that didn’t work, try reflashing your firmware.

  1. Download the firmware and firmware flasher to a Windows computer.
  2. Set the IP settings of that computer to a static IP (make sure to write down the current settings before you do). The IP can be any IP between and Set the subnet to and set the gateway and DNS to another random IP between
  3. If your status light on the router is already flashing like crazy, skip this step. Unplug your router, hold the reset button in and plug it in. This time, keep holding it until the status light starts flickering really fast. This kicks it into recovery mode.
  4. Plug an Ethernet cable from the computer to one of the LAN ports on the router.
  5. Run the firmware flash program. It should detect the router as “ crash”. Simply click Upgrade and don’t touch for a minute.

When it says that the recovery if complete, try booting the router again. If it boots successfully, reconfigure. If it doesn’t simply redo the reset technique.

And Voila, you have rescued your dead router!

Other things I observed during my experience:

  • There is a tftp server running when the router was in recovery mode.
  • Sending a read request for the file “R!” reboots the router.

3 thoughts on “Reviving a dead DI524 router

  1. Thank you very much!
    Step 2 and 3 where the important ones.

    Didn’t expect that this could work!
    But it did 🙂


  2. Great. This worked for me. If you can’t find the fireware flasher software in your firmware package, try the german og united kingdom sites. They had other firmware packages then my locan/country site.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s