Skip to content
Contents
GuidesOpenWrt
Editorial verified

When OpenWrt is unreachable, should you use Failsafe, a factory reset or bootloader recovery?

Locked out of LuCI after a firewall change? Try the original LAN address over Ethernet. The next step depends on whether the running system, Failsafe or only the bootloader responds.

Try the original LAN port and management address

When Wi-Fi drops, connect directly to the original LAN port. Check the address and default gateway assigned to the computer, then try the management page. If LuCI or SSH still works, back up the configuration and undo the most recent change. For a wireless-only mistake, keep the Ethernet session open while fixing Wi-Fi. This preserves dial-up or PPPoE, VLAN and firewall settings. What a configuration backup contains

Use Failsafe when OpenWrt starts but its settings block access

Failsafe starts a supported device with a minimal configuration. Entering it preserves the persistent settings, so you can regain access and repair a known mistake. Check the device page for image and filesystem support, the button, the LED signal and the port to use. OpenWrt Failsafe documentation

  1. Connect directly to the specified Ethernet port. Generic OpenWrt Failsafe usually uses 192.168.1.1 with DHCP disabled. If your device documentation agrees, temporarily set the computer to 192.168.1.2 with mask 255.255.255.0. Ports and entry procedures vary.
  2. Press the indicated button during startup at the documented LED signal. Once Failsafe is confirmed, use the login method for that release. Holding Reset during normal operation can erase settings, so observe the timing.
  3. On a device with SquashFS and a writable overlay, run mount_root as documented to access the saved configuration. Make a copy of the file you intend to change, then fix the known error, such as an incorrect LAN management address. If mounting fails, investigate before editing a temporary filesystem where the changes may disappear.
  4. Run reboot to start normally. Restore the computer's network settings and verify administrative access at the corrected address.

Before resetting OpenWrt, check what the image can restore

A reset returns to the installed image defaults and removes settings and extra packages in the writable layer. It keeps OpenWrt. To return to vendor firmware, follow the recovery instructions for the exact board revision.

Work on site over wired LAN. Disconnect other DHCP servers. In LuCI open System → Backup / Flash Firmware, generate an archive and download it. Check that it opens and contains the network, firewall and wireless files you need. Save the package list, image version and external data separately. Protect keys and passwords. Stop if essential files or local access are missing.

Compare the mount points over SSH. These isolated OpenWrt 25.12.6 x86/64 guests illustrate the controls. Neither was reset. Set an admin password on your own router.

awk '$2=="/" || $2=="/rom" || $2=="/overlay" {print $1,$2,$3}' /proc/mounts
sysupgrade -l | grep /etc/config/network

SSH · ext4 /

Here / is ext4. The network file is listed for backup. LuCI can generate and restore archives, but offers no reset button. Restoring an archive can leave additional files behind.

LuCI · ext4 /

SSH · SquashFS /rom · ext4 /overlay

Here ext4 is on /overlay, /rom is squashfs and / uses overlay. LuCI shows Perform reset under Restore. Check the mount points even if both systems mention ext4. For external overlays or missing controls, verify the image-specific procedure first.

LuCI · Restore → Perform reset

Reconnect after a reset

Only confirm a supported reset if you accept the loss. Keep power connected. Button timing varies by model. Renew the computer lease and check the new gateway. Many images use 192.168.1.1. With only 169.254.x.x check cabling and use a temporary address in the documented subnet. If still locked out, see Failsafe above.

Set the password, check the version, reconnect the uplink and verify leases, DNS and browsing after a normal reboot. Restore individual settings first. Restore a compatible full archive only if you want the original configuration and can rule out bringing the fault back.

Check bootloader recovery when the kernel cannot start

If you repeatedly see only early boot LEDs after an upgrade, check the power supply, cable and management address and compare the startup pattern with your hardware revision's guide. If the bootloader's recovery page or TFTP mode is available, use its documented method and accepted image. Some bootloaders require an image signed by the manufacturer. If the expected recovery signals never appear, record the LED pattern, image used and hardware revision for diagnosis. Installation and recovery references · The two TFTP recovery directions

Explore hardware

Comments