Mounting the secondary partition on a Linksys WRT1900ACS

A faulty firewall configuration just means that you can't access your device over the network anymore, at least not normally, but it will still boot up correctly. So if everything else fails, the following should work:

  • do the 3-failed-reboots trick to switch back to the faulty partition set
  • now https://openwrt.org/docs/guide-user/troubleshooting/failsafe_and_factory_reset should work
    • you can now connect to the failsafe system with ssh/ blank password, the configuration in your overlay is not applied, so the faulty firewall rules aren't in effect.
      • mount_root will now make your old configuration files available, read/ write, but not applied (meaning you'll retain ssh access)
        • now you can fix the firewall configuration manually, reset them to their /rom/etc/config/firewall (respectively remove the modified file from the overlay) state or backup whatever you need.
        • reboot

now you should be back in your previously configured system, without the problematic firewall rules.

3 Likes