Please note that you might need to run a local http-server in order to continue I would like to recommend you the Small HTTP server ver 3.05 for Windows be sure to have Putty in place and ready.
The main idea is to upload the firmware you need into the router and flash it from there directly, but we don't have access to the internet only to LAN that's why we need to start a http-server and put the firmware we want to back to in the root of that server. Enable the server before doing the restoration procedure and make sure it's working at port 80.
1. Telnet to the 192.168.1.1 on port 23
2. cd /tmp
(assume your PC you are fashing the router from is having the 192.168.1.2 address and firmware.bin is the file you want to flash it with).
In the next step the router should upload the firmware we want to the /tmp directory of your router. If that works the next command will be:
4. mtd -r write /tmp/firmware.bin firmware
! DO NOT TURN OFF THE POWER !
You'll see something like: Rebooting... and in a few moments your router will be alive again. Now open the web-interface at 192.168.1.1 it works!
© 2012 Denis I. Zabiyako