Quantcast
Viewing all articles
Browse latest Browse all 5381

Troubleshooting • Re: Auto-reboot if ping to gateway fails

I hate to say this but... it works for me.

Test setup:
  • Pi 5 (probably irrelevant)
  • RPiOS Bookworm booting to desktop
  • Booting from NVMe though I believe that's irrelevant.
Steps:
  1. Code:

    sudo apt install watchdog
  2. Uncomment line 121 of the default /etc/watchdog.conf. The target address on that line does not exist on my LAN and is not routable.
  3. Code:

    sudo systemctl restart watchdog
  4. Wait
Conclusion::
One or more of the following apply.
  • The OP has created a watchdog.conf but not installed and enabled the watchdog package and daemon.
  • The OP's ping target is reachable by a route that doesn't require WiFi e.g. ethernet.
  • The OS the OP is using has a broken watchdog daemon
  • Something else is broken in the OP's setup.

Statistics: Posted by thagrol — Sat Feb 10, 2024 7:04 pm



Viewing all articles
Browse latest Browse all 5381

Trending Articles