DIR Router - Router Recovery from Corrupt Firmware
For those of you who's routers may not start correctly due to a possible interruption during the FW update or the router has become bricked, try this:Note: Use this is only if a Factory Reset using the button in back fails to bring the router to a ready state. There are no guarantees Recovery mode will fix anything. This is a last resort option. This procedure provides the steps necessary to recover a DIR series router that will not properly boot due to corrupt or improperly loaded firmware. Do not perform this procedure if you can successfully access the router web interface.PC 3rd Party Security Software Configurations
Use the following browsers only: IE or Fire Fox
- Turn off all anti virus and firewall programs on PC and browser add-ons while using this procedure. These may interfere with the FW update process.
- Turn off all devices accept for one wired LAN PC while testing. Disconnect the router from the main ISP modem/Services.
. Chrome and other browsers may cause the FW download to become corrupt or may improperly handle the data causing the router to be come bricked. Internet Explorer works sometimes however users have reported that FF has better results and works 100% of the time. For IE, lower the IE security settings, add the 192.168.0.1 or .50 to the trusted sites under "sites" in security tab of the Internet Options.Procedure for DIR series routers
- Store a copy of the router firmware (.BIN) on the HDD of a local PC. Download the FW file ahead of time.
- Connect an Ethernet cable between one of the LAN ports on the rear of the router and the network port on the local PC
- Configure the PC with a static IP address other than 192.168.0.1 (e.g. 192.168.0.5)
- Power down the router and unplug the power cord
- Press and hold the reset button on the rear of the router for 3 to 5 seconds and re-plug the power cord without releasing the reset button
- Continue to hold the reset button until the amber power light keeps blinking on and off
- Open a web browser and enter the following address: http://192.168.0.1/
- Wait for the D-Link Router Recovery Mode page to load (See Exhibit 1 below)
- Using the Choose File button, select the router firmware stored on the local PC and then press Upload
- After the firmware successfully loads, a Success page will display
- If the Success page fails to display, then repeat steps 3 through 9
Exhibit 1 - D-Link Router Recovery Mode PageProcedure for DSL series Modems
You'll need to set up a Static IP address on the wired connected PC, set to 192.168.1.49.
Store a copy of the Modem firmware (.IMG) on the HDD of a local PC
- Switch Modem OFF.
- Press the reset button, i.e. insert ballpoint pen in reset hole under the Modem.
- Keep holding the reset button and turn ON the Modem.
- Keep holding the reset button for about 12 seconds after you power ON the Modem.
- Now you'll see that the power led has turned RED
signifying that the Modem is in crash recovery mode.
- When you enter the address 192.168.1.1 on your PC browser, you find the upgrade firmware page.
- Just browse to the downloaded firmware file and flash!D-Link products confirmed and tested for the Recovery Mode:
DIR-890L, DGL-5500, DIR-868L, DIR-615, DIR-655 (Rev B and C), DIR-657, DIR-825, DIR-685, DIR-601, DAP-1360, DIR-826L, DAP-1350, DSL-2750B and 2750U.
Presume most if not all DIR series routers support this mode. Will add models if anyone can confirm other models not already posted.
For DIR-645 series routers, please try the following IP address:192.168.0.101http://forums.dlink.com/index.php?topic=58080.0NOTE: 20161107
SIERRA OSX USERS
"I just joined the forum after trying to unbrick my DIR-645 using the Emergency Room tips here. I wasn't able to fix it using the techniques described here, so I went investigating a bit, and came up with a hypothesis on why it didn't work for me, as well as a browser-independent solution (which is a bit technical). From what I can deduce after packet sniffing the conversation between the router and my computer, the browsers I tested (FF, Safari, Chrome) try to upload the firmware image with a content-type of "application/macbinary" instead of "application/octet-stream" on OS X, which could be why it didn't work for me (and seeing as the latest DIR-645 advice is from 2012, they may have changed their behaviour).
Anyway, I managed to upload the firmware using curl (http://curl.haxx.se/) using a command line of
curl -X POST -v -i -F "firmware=@DIR645A1_FW106B01.bin" http://192.168.0.101/
and got the router to reboot into the normal GUI at 192.168.0.1. Just thought I'd share it in case anyone else on OS X has had problems with it recently.
For DIR-506L series routers, please try the following IP address:192.168.123.254http://forums.dlink.com/index.php?topic=55175.0D-Link products tested for the Recovery Mode that do not support this mode:
DGL-4500 and presume all DGL Series routers. The DGL-5500 is the only model that supports recovery mode. DIR-865L. Any other products found to support or not support this option, send me a PM and I'll add it to the list. Older generation routers like the DIR-655/825/855 Rev A series do not support recovery mode. DCS Series Cameras:
Press and hold "Reset", connect Power and hold Reset until the blue LED goes out (about 8 seconds).
Configure your computer to 192.168.0.x
Fire up a web browser and connect to 192.168.0.20
Upload your new firmware in the emergency web interfacehttp://www.dlink.com/uk/en/support/faq/cameras-and-surveillance/dcs-series/dcs_recovery_procedures_after_bad_flash_firmware
If this recovery process fails to correct the routers condition, it's recommended to contact D-Link support and seek an RMA for your router. Additional Resource:Of Modems and Men - Unbricking Tutorial