This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
failsafe_mode_recovery [2017/07/30 07:58] ispyisail [Failsafe recovery via ssh] |
failsafe_mode_recovery [2019/04/28 09:55] 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 ====== |
- | Alternatively you might follow the closely related [[http:// | + | ===== Gargoyle (Basic) ===== |
+ | ==== Factory Reset ==== | ||
- | ===== Failsafe recovery via ssh ===== | + | With the Gargoyle router fully powered up (boot sequence finished) hold the router " |
- | This procedure assumes that: | + | //Note: The button hold time is officially between 3 and 90 seconds// |
- | - you had a good Gargoyle install on the router | + | |
- | - you messed up your settings | + | |
- | - you can no longer get to the Gargoyle Web interface | + | |
- | NOTE: Unplug | + | //Note: Not enabled for all router |
- | Open a terminal and: | ||
- | - type //ssh root@192.168.1.1// | ||
- | - provide your password | ||
- | - at the Gargoyle prompt type //firstboot -y// | ||
- | - then //reboot -f// | ||
- | |||
- | The router which should now come up in its default Gargoyle configuration and you will be able to [[getting_started|get started]] again. | ||
- | ===== Failsafe recovery via telnet | + | ===== Gargoyle/ |
- | This procedure assumes that: | + | [[https:// |
- | | + | |
- | - 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 | + | |
- | NOTE: Unplug all external drives from the router or they will be erased by the firstboot process. | + | ==== Failsafe Mode ==== |
- | To recover: | + | * Failsafe Mode is useful if you have lost control of your device, and it has become inaccessible, |
- | - Install [[http:// | + | |
- | - Configure your computer with static IP 192.168.1.2 | + | |
- | - Connect your computer | + | |
- | - Start Wireshark and monitor the LAN connection. | + | |
- | - Powerup | + | |
- | - Router power LED should be flashing quickly. | + | |
- | - From a command prompt on your computer " | + | |
- | | + | |
- | - __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. | + | |
+ | ==== Factory Reset ==== | ||
- | ===== TFTP a new firmware image to your router ======== | + | * Factory Reset erases all your packages and settings, returning the router |
- | If you router' | + | |
+ | ==== Recovery Mode ==== | ||
+ | |||
+ | * Recovery Mode allows | ||
- | 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. | ||
- | http:// | ||
- | http:// |