Restoring the tenda n3 router after unsuccessful firmware. Preparing to flash Asus router firmware

Happens after a failure D-Link firmware DIR-300/NRU B5, for some reason the router stops responding. Do not rush to throw it away or run to the D-Link service center. There are many proven methods self-recovery device, as well as returning it to the factory firmware.

Restoring a router can be described in several steps:

1. Download BIN firmware from 320NRU follow the link: http://ftp.dlink.ru/pub/Router/DIR-320_NRU/Firmware/DIR_320NRU-1.2.94-20110803.bin, and save the file. Exactly BIN firmware from 320NRU, restore the router directly through files original firmware the DIR-300/NRU B5 does not always work.

2. In the properties network adapter register the computer static address 192.168.0.10, subnet mask 255.255.0.0. What we follow: Start -> Control Panel -> Network and Internet -> Network and Sharing Center shared access-> Change adapter parameters, select Connection and open its properties.

Next, you need to check “Internet Protocol version 4 (TCP/IP4)” and also select properties. In the properties window that opens, you need to activate “Use the following IP address” and enter the address 192.168.0.10, subnet mask 255.255.0.0.

3. Disconnect all cables, leaving only the router’s LAN1 –> PC connection from the router. We always use the “straight” wire (blue included in the kit).

4. Turn off the power to the router and press the button Reset device (small hole on the back of the panel) and do not let go. We remove the power supply plug from the router, and without releasing the button, insert the power back in, wait for the router to boot for about 15 seconds and only then release the button.

5. Now quickly open the browser ( Internet Explorer, Firefox, Google Chrome), enter 192.168.0.1 and in front of us is the Emergency room. Through Failsafe UI, select the downloaded firmware file DIR_320NRU-1.2.94-20110803.bin and click “Submit”.

6. We wait 3-4 minutes during the flashing process and the router will come to life.

7. Same as in step 2. We return the automatic issuance of IP addresses.

  • For RT-N10: RT-N10-1.9.2.7-rtn-rXXXX.trx
  • For RT-N12: RT-N12-1.9.2.7-rtn-rXXXX.trx
  • For RT-N16: RT-N16-1.9.2.7-rtn-rXXXX.trx
  • For WL500W: WL500W-1.9.2.7-d-rXXXX.trx
  • For WL500gP Premium v.1: WL500gp-1.9.2.7-d-rXXXX.trx
  • For WL500gP Premium v.2: WL500gpv2-1.9.2.7-d-rXXXX.trx
  • For WL500gD Deluxe: WL500gx-1.9.2.7-d-rXXXX.trx
  • For WL520gU Ultra: WL520gu-1.9.2.7-d-rXXXX.trx
  • For WL320gE Encore: WL320gE-1.9.2.7-d-rXXXX.trx
  • For WL320gP Premium: WL320gP-1.9.2.7-d-rXXXX.trx
  • For WL330gE Encore: WL330gE-1.9.2.7-d-rXXXX.trx
  • For WL550gE Encore: WL550gE-1.9.2.7-d-rXXXX.trx
  • For DIR-320 D-Link*: DIR320-1.9.2.7-d-rXXXXM.trx
Look carefully at the model of your device! Don't try to flash someone else's firmware! The firmware itself is a file with the extension .trx, so when downloading the firmware in the form zip or gz-file, unzip it first.

Preparing for firmware Asus router

Preliminary steps before flashing

Disconnect the router. It is advisable to disconnect the network cable from WAN, take everything out USB ports
(otherwise, if there are connected disks, they may be disconnected incorrectly).

Resetting the router settings to default

First reset the router settings to default settings by choosing one of the following methods:

  • by selecting in the router web shell: System Setup -> Factory Default.
  • pressing a button on its body RESET for 5 seconds, light bulb POWER starts flashing, at this moment release the button.
  • For experienced users who have already configured the router - commands " erase /dev/mtd/3" And " erase /dev/mtd/4"
    (first you need to make sure that on your firmware version these sections correspond nvram And flashfs).
To reset the device settings to default ( 192.168.1.1 , admin/admin ) while the device is running (about 30 seconds after turning on the power), press the button with a sharp object RESET/RESTORE
(on the back panel, its name depends on the model) and hold until the indicator POWER will not start blinking and only at this moment let go. After the reset, the device will automatically reboot.
Please note that at first there will be no reaction ( POWER will light up, fool proof), then it may just go out for a few seconds, keep holding the button.

Three methods for safely changing firmware Asus router

The first method is the simplest

Second method, for advanced users

Through the recovery utility Firmware Restoration(described in the manual, program rescue.exe on CD-ROM it's in a box). Difference between methods:

How to restore firmware on an ASUS router using the utility Firmware Restoration:

1. Connect the power supply to the router.
2. We are not supplying power to the router yet.
3. Connect the router with a patch cord to the Ethernet port of a PC running Windows XP / 7.
4. On this PC, turn off the firewall and all unnecessary network adapters, incl. and Wi-Fi, in addition to the network adapter - where the router is connected.
5. Install the ASUS Firmware Restoration utility on the PC (pre-downloaded from the website)

Rice. 1. Firmware Restoration utility.

6. Launch ASUS Firmware Restoration:

Rice. 2. Appearance of the utility window.

7. Specify the path to required file firmware

Rice. 3. Path to the firmware file.

8. Next, press the RESET button on the back panel of the router and turn on its power supply. Hold the button down for about 5 seconds and on the PC in the window ASUS utilities Firmware Restoration, click the “Download” button. After this, the firmware update process begins. It takes about 3 minutes.
9. IMPORTANT!!! Do NOT turn off the power supply to the router until the flashing process is completed, the router DO NOT RESTART!!!

Nuances of IP address and subnet mask settings depending on the Asus router model

For models: ASUS RT-N13/DSL-N13/RT-N13U/RT-N15/RT-N16

(WL-320gP/320gE/330gE/500gP/500gPv2/500W/520gC/520gU/600g)

For models: ASUS RT-N11

For models: ASUS RT-G32

The third method, described in FAQ from Oleg

An analogue of the second method, described in the FAQ from Oleg: Firmware via tftp
(if changed IP address router, then you will need to look for it on it, and not on 192.168.1.1 )

How to restore firmware on an ASUS router through tftp

It is often necessary to erase all previously made changes to the router, for example, when switching from one type of firmware to another (necessarily from DD-WRT to Oleg and back).

To do this, the following “zeroing” firmware is used:

To recover after uploading the wrong firmware (for example from another model):

The firmware usually looks like this<модель роутера>-recover.trx

To completely clear nvram:

The firmware usually looks like this <модель роутера>-clear-nvram.trx

How to flash via tftp:

Preparation:

  • Turn off the power of the device;
  • Press the RESTORE button and hold it, turn on the power to the device;
  • Wait until the POWER indicator starts flashing (about 1 second) and release the button;
  • Take the network cable ( twisted pair), connect one tail to any of the LAN ports of the device, the other to the network adapter of your PC;
  • In Windows, for the TCP/IP protocol, assign the adapter the address 192.168.1.2 with a network mask of 255.255.255.0 (if the device had an address of 192.168.1.1);
  • Run cmd.exe;
  • Check that there is a connection with the device by running the command:
ping 192.168.1.1

Something similar to:

Pinging 192.168.1.1 with 32 bytes of data: Reply from 192.168.1.1: bytes=32 time=2ms TTL=100 Ping statistics for 192.168.1.1: Packets: Sent = 1, Received = 1, Lost = 0 (0% loss) , Approximate round trip times in milli-seconds: Minimum = 2ms, Maximum = 2ms, Average = 2ms Control-C ^C

Press Control-C when you get tired of it. Pay attention to TTL=100 - this is the response of the built-in bootloader.

  • We restore the firmware (firmware.trx must be replaced with the name of the file with the firmware);
tftp -i 192.168.1.1 put<path to the firmware file><firmware_filename>.trx

We wait a few seconds, an inscription like

Transfer successful: 3706880 bytes in 7 seconds, 529554 bytes/s

  • We wait from 2 minutes to 10 until the firmware is programmed and the AIR indicator lights up - the device has booted. If after 10 minutes AIR does not light up, then you need to turn the router on/off - autoboot did not work for some reason.

Note: PC owners with Windows Vista: the craftsmen at Microsoft surprised again: tftp client(just like telnet) may be absent when initial installation. You need to install it by visiting the Control Panel and selecting "Programs and...".

You can also use the tftp2 utility instead of the standard tftp command.

Situation in which it is necessary to do restoring firmware on DIR-300 routers different revisions may arise due to various reasons. In addition to a malfunction in the firmware, when a WiFi router simply stops distributing the Internet and its web interface becomes unavailable, this could also be a simple rollback to the usual “stock” firmware after DD-WRT. Or it could be a recovery after an unsuccessful flashing, when the router was fed firmware from a different hardware version.
In general, the developers - the D-Link company - foresaw a similar development of events on many modern devices made Emergency Web Server or Failsafe UI, which is essentially the same thing. Now let's figure out together how to use it.

Before doing anything with the router, you must first download the firmware from the official D-Link servers— ftp.dlink.ru :

You can find out what hardware version of DIR-300 you have on the sticker on back cover housings:

After that we go to the desired folder on the server, look for the “Firmware” directory there and download latest version firmware and the previous one, just in case. After this, we begin to conjure with a piece of iron. We disconnect the provider’s cable from it and all clients, except the computer from which we will do the recovery.
Then we do this - go to the Connections settings local network and manually enter the IP address in the properties of the TCP/IPv4 protocol 192.168.0.2 , mask 255.255.255.0 and the gateway - 192.168.0.1 :

You can register the addresses of DNS servers, or you can not - this is not important, because they will not be used. Click on OK and close the settings.

We take our DIR-300 in our hands and press the button Reset:

Keeping it pressed, turn off the power to the router with your other hand and turn it on again. Wait 15 seconds and release Reset.

Now you need to launch your Internet browser and address bar enter the address - http://192.168.0.1. The result should be like this:

There may be another nuance here. Have more early models DIR-300 interface disaster recovery was at a different address. Therefore, if your router does not respond to 192.168.0.1, then again go to the properties of the TCP/IP protocol and register the following IP:

IP: 192.168.20.80
mask:255.255.255.0

You also need to enter the address 192.168.20.81 in the address bar of the browser:

The interface of Emergency Web Server and Failsafe UI is virtually identical - a file selection button, and a button to start flashing. Click on “Browse” and select the downloaded file with the firmware. Then click on “Upload” and wait for the process to complete.

What do we have as a result? Worker D-Link router DIR-300! All the best!

Many wireless users WiFi routers We are already accustomed to the fact that if failures and problems occur in their operation, the devices must be reflashed. This is fine! But here's what to do if the firmware is unsuccessful. For example, you uploaded the wrong firmware version, or during flashing the device’s power supply was cut off. What to do if it turns into a brick? In principle, the most correct way out is to carry service center. But before that you can try next way restore the TP-Link router to working condition. It has been tested on TL-WR740N, TL-WR841ND, TL-WR941ND, TL-WR1043ND and WDR4300. You need to check it on other models - I haven’t tried it myself.

To use it, you must first find correct firmware for TP-Link. You can download it from the official website in the “Support” section or search the forums. A firmware that is not in the name is suitable for recovery. words boot. It will need to be renamed so that it is called like this:

Modelversion_tp_recovery.bin

For example, in my case I will be restoring a TP-Link WDR4300 V1 router. Accordingly, the file will be called wdr4300v1_tp_recovery.bin.

Then you need to download the TFTP32 program from here and install it. After this, you need to put the file with the firmware in the folder with the program. After this, the program can be launched.

The next step is to connect your computer to one of the router’s LAN ports. It doesn’t matter which one specifically, the main thing is that it’s to the LAN, and not to the WAN (Internet).

After this you need to register to network card computer static IP address – 192.168.0.66 with subnet mask – 255.255.255.0 . Like this:

Leave the Gateway and DNS server fields empty.

By the way, I found information on the network that the address 192.168.1.66 is used for the TL-WR842 V1, and 192.168.0.86 for the TL-WR842ND V2. The mask is 255.255.255.0 everywhere.

Next you need to pick up the router, press and hold the button WPS/Reset for about 15 seconds until the indicators light up USB/WPS. With this we will launch emergency mode recovery TP-Link router . Well, then the firmware downloading via the TFTP server should begin.

As soon as the firmware is loaded into the router's memory, it will restart.

Now you can check access to the web interface. Just don't forget to return it back automatic receipt IP addresses on the network card.