For coovaAP users or any firmware based on OpenWRT, if you happen to have trouble to gain access to your router or you forgot your password or even currupted the JFFS2 partition from a bad flash, you can recover your router using failsafe mode.
Step 1: Boot Router into Failsafe mode
- Unplug all the LAN cables from your router, also unplug the power cord.
- Connect the Router LAN port to your PC or Laptop
- Configure your PC with a static IP address 192.168.1.X (X being a number between 2 and 254)
- Plug the power on and wait for the DMZ LED to light up.
- When the DMZ LED turns on, immediately press any the Reset button.
- If successful the DMZ LED will quickly flash 3 times every second.
Step 2: Telnet to your Router and enter Recovery Commands
- Now you should be able to telnet to the router at 192.168.1.1
- Open Command Prompt (windows) or Terminal (mac/linux), and type: “telnet 192.168.1.1“
- To reset the password, enter: “firstboot“
- To clear nvram and reset to factory settings, enter: “mtd -r erase nvram“
Now you should be able to restart your router and connect with the default settings.
More resources to help you out: http://wiki.openwrt.org/doc/howto/generic.failsafe?s[]=telnet
image : http://neozeroproductions.wordpress.com

2 Comments " How to recover from a bad flash – Coova AP / OpenWRT "
Wayne
June 7, 2011
Pandu Hartanto
June 8, 2011