This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
failsafe_mode_recovery [2015/08/31 13:59] nworbnhoj [Using Failsafe recover mode] tidy up |
failsafe_mode_recovery [2019/04/28 09:55] (current) ispyisail [Factory Reset] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | So your router has become unresponsive and you have heard the horror stories of ' | + | ====== Failsafe Mode, Factory Reset, and Recovery Mode ====== |
- | ===== Failsafe recovery via ssh ===== | + | ===== Gargoyle (Basic) |
+ | ==== Factory Reset ==== | ||
- | This procedure assumes that: | + | With the Gargoyle |
- | - you had a good Gargoyle install on the router | + | |
- | - you messed | + | |
- | Open a terminal and: | + | //Note: The button hold time is officially between 3 and 90 seconds// |
- | - type '' | + | |
- | - provide your password | + | |
- | - at the Gargoyle prompt type '' | + | |
- | - __wait__ until the command prompt returns | + | |
- | - power cycle the router. | + | |
- | The router which should now come up in its default Gargoyle configuration | + | |
+ | //Note: Not enabled for all router models// | ||
- | ===== Failsafe recovery via telnet ===== | ||
- | This procedure assumes that: | ||
- | - you had a good Gargoyle install on the router | ||
- | - you messed up your settings | ||
- | - you can no longer get to the Gargoyle Web interface | ||
- | - you cannot get to the Gargoyle ssh interface | ||
- | - you cannot get a ping response from your router | ||
- | To recover: | + | ===== Gargoyle/OpenWrt |
- | - Install [[http:// | + | |
- | - Configure your computer with static IP 192.168.1.2 | + | |
- | - Connect your computer to a LAN port on the router. | + | |
- | - Start Wireshark and monitor the LAN connection. | + | |
- | - Powerup your router, when wireshark shows the first packet from 192.168.1.1 immediately press and hold the reset button on the back of the router for three seconds. | + | |
- | - Router power LED should be flashing quickly. | + | |
- | - From a command prompt on your computer " | + | |
- | - at the Gargoyle prompt type '' | + | |
- | - __wait__ until the command prompt returns | + | |
- | - power cycle the router. | + | |
- | The router which should now come up in its default Gargoyle configuration and you will be able to [[getting_started|get started]] again. | + | |
+ | [[https:// | ||
- | ===== TFTP a new firmware image to your router ======== | + | ==== Failsafe Mode ==== |
- | If you router' | + | |
+ | * Failsafe Mode is useful if you have lost control of your device, and it has become inaccessible, | ||
+ | |||
+ | ==== Factory Reset ==== | ||
+ | |||
+ | * Factory Reset erases all your packages | ||
+ | |||
+ | ==== Recovery Mode ==== | ||
+ | |||
+ | * Recovery Mode allows you to install new firmware on a router that has become corrupted. ([[https:// | ||
- | Here is an example | ||
- | D:\My Documents\Downloads> | ||
- | Pinging 192.168.1.1 with 32 bytes of data: | ||
- | Reply from 192.168.1.1: | ||
- | Reply from 192.168.1.1: | ||
- | Ping statistics for 192.168.1.1: | ||
- | Packets: Sent = 2, Received = 2, Lost = 0 (0% loss), | ||
- | Approximate round trip times in milli-seconds: | ||
- | Minimum = 0ms, Maximum = 1ms, Average = 0ms | ||
- | D:\My Documents\Downloads> | ||
- | Transfer successful: 3346464 bytes in 6 seconds, 557744 bytes/ | ||
- | If you get this | ||
- | D:\My Documents\Downloads> | ||
- | Error on server : code pattern incorrect | ||
- | It means your bootloader does not understand the format of your image file. Make sure you are using the correct one for your router and make sure you reboot before trying again. | ||
- | ===== JTAG recovery method ======== | ||
- | If you cannot get either of the above to work for you then the next approach I use is the JTAG cable method. |