Rollback from OpenWRT to the original TP-LINK TL-MR3420 firmware
You can flash the router in original way after OpenWRT using the tftp or MTD method, but in no case
DO NOT PASS through the Web-interface . Otherwise, you risk getting a "brick" instead of a router.
The name of the firmware should not contain the word "boot" Routers of the second revision V2.X being flashed by one of the latest, factory firmware support recovery via a tftp server. Therefore, before flashing alternative firmware, always update your native one to the latest version. If it was not possible to flash through tftp, then there should be no problems with MTD.
Firmware with TFTPD32
Download utility Tftpd32
HERE Looking for firmware for your hardware revision intended for recovery. Such firmware does not contain the word boot in the title. Change the name of the firmware file: "mr3220v2_tp_recovery.bin or mr3420v2_tp_recovery.bin", respectively.
Connect the router to the computer using a network cable and change the IP address of the network card to 192.168.0.66, mask 255.255.255.0.
Disable antivirus and other firewalls present in the system.
Throw the image in the folder with the program TFTPD. Run it as administrator. When you click the Show Dir button, the file with your firmware should be listed. No need to configure anything.
Holding the WPS / Reset button, turn on the router, after loading the image, release the button and wait for the reboot.
After that, do not forget to return the receipt of the IP address automatically.
MTD Firmware
Download programs
PuTTY and
WinSCP Open WinSCP, select SCP protocol, address 192.168.1.1, port 22, User name: root, Password that was set earlier, click “Login”.
We answer all vague questions and see a window with files on your computer and on the router. Next, take the native firmware, rename it to code.bin and throw it on the router in the / tmp folder. Close the program.
Open PuTTY, select the SSH protocol, address
[email protected] port 22, click "Connection". We type the password that was set earlier for root. We enter the router and type the command for its firmware:
mtd -e firmware -r write /tmp/code.bin firmware
You can do everything in one PuTTY by running the following commands:
cd / tmp
wget http://www.example.org/code.bin
mtd -e firmware -r write /tmp/code.bin firmware
P.S. Attention: if you see the error "Writing from /tmp/code.bin to firmware ... [e] Failed to erase block" after flashing with the mtd method, do not turn off or restart the router, otherwise you risk getting a "brick". Probably, you used a version with a "boot" for flashing, for example, mr3420v2_en_3_13_27_up_boot (121206) .bin, try flashing with another version.
P.S. If you did not find the firmware without "BOOT", then before executing mtd -e firmware -r write /tmp/code.bin firmware you need to run the command
dd if = code.bin of = tplink.bin skip = 257 bs = 512
which will cut the boot, ie the first 0x20200 bytes from the original firmware. After this, the name of the firmware will change and you will have to execute the command
mtd -e firmware -r write /tmp/tplink.bin firmware
Post has been edited-SunLion- - 04.06.15, 17:44Reason for editing: in the header