Finally found a way to flash back a DIR-300 (running DD-WRT) back to D-Link firmware.It is a great thing that they have included the emergency web server in the RedBoot.So the first step is actually restoring the RedBoot to the one DIR-300 originally had.Note: It seems like x will not be represented as alphabet x after copy and pasting.
D-Link Dir 300 Download File BoardFiles that you need RedBoot file: Download file board config: shadowandyboardconfig.bin (refer to section Generating board config) Mirrors for RedBoot file Noticed that D-Link Czech Republic and Poland has hosted the copy of my RedBoot. D-Link Dir 300 How To Generate TheYou can get them from these mirrors D-Link (Czech Republic) D-Link (Poland) Generating board config Refer to this guide ( Generating DIR-300s board config ) on how to generate the board config file shadowandyboardconfig.bin. Getting into Redboot Connect the network cable to your ethernet port and the WAN port of DIR-300. Configure your System IP address (static) to be 192.168.1.2255.255.255.0. Prepare your telnet client to connect to 192.168.1.1, port 9000. Power on the DIR-300 and telnet in the instance your ethernet link is up. Hit CtrlC the moment you see Executing boot script in You should be greeted by the DD-WRT prompt. DD-WRT Changing back to the original RedBoot Ensure that you have extracted the file dir300redboot.rom into your TFTP server directory. Follow the following command to flash back to original RedBoot. DD-WRT ipaddress -h 192.168.1.2 Default server: 192.168.1.2 DD-WRT fis init About to initialize format FLASH image system continue (yn) y Initialize FLASH Image System Erase from 0xbffe0000-0xbfff0000. DD-WRT load -r -b FREEMEMLO dir300redboot.rom Using default protocol (TFTP) Raw file loaded 0x80040800-0x800607ff, assumed entry at 0x80040800 DD-WRT fis create -l 0x30000 -e 0xbfc00000 RedBoot An image named RedBoot exists continue (yn) y Erase from 0xbfc00000-0xbfc30000: Program from 0x80040800-0x80060800 at 0xbfc00000. Wait for a while (30 seconds) before proceeding to the next section. Preparing your system for board config recovery Connect the network cable to your ethernet port and the WAN port of DIR-300. ![]() Remove the power from DIR-300 Flashing back the board config Ensure that you have placed the file shadowandyboardconfig.bin into the TFTP server directory. Follow the following instructions to flash back the board config partition. Ensure that the DIR-300 is not powered on Hold on to the reset button and power DIR-300 on Hold on to the reset button for about 30 seconds while DIR-300 is booting Telnet to 192.168.20.81 on port 9000 You should be greeted by RedBoot Follow the following commands RedBoot load -r -b FREEMEMLO shadowandyboardconfig.bin Using default protocol (TFTP) Raw file loaded 0x80036400-0x800463ff, assumed entry at 0x80036400 RedBoot fwrite -f 0xbfff0000 -b 0x80036400 -l 0x10000 -e 0x80036400 About to write image into flash continue (yn) y Erase from 0xbfff0000-0xc0000000. You can issue the command x -b 0xbfff0000 -l 0x100 and ensure that memory location content starts with 5311.Atheros Your router would reboot after the reset command. Preparing your system router recovery Download the D-Link firmware for DIR-300 from your respective region support page. For me, I would be downloading from DIR-300 firmware page at D-Link Singapore. Connect the network cable to your ethernet port and the WAN port of DIR-300. Remove the power from DIR-300 Getting into Emergency Recovery Page Ensure that the DIR-300 is not powered on Hold on to the reset button and power DIR-300 on Hold on to the reset button for about 30 seconds while DIR-300 is booting Open up your web browser and go to You should be able to see the emergency recovery page as seen below. Emergency Firmware recovery page Uploading the original D-Link firmware Click on the browse button and locate the firmware you have downloaded from D-Link firmware page earlier Click on the upload button to start flashing the device.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |