rpi-watchdog
Raspberry Pi Watchdog
The Watchdog feature of the Raspberry Pi is both under-rated and under-publicised. As this website explains, Watchdog can be used to automatically restart your Raspberry Pi in the event of a system error that otherwise bricks the device. It takes <5 mins to install and enable Watchdog, and particularly for remote RPis, you could find it saves the day.
Steps to install and run RPi Watchdog:
sudo -i echo 'dtparam=watchdog=on' >> /boot/config.txt yes | apt install watchdog echo 'watchdog-device = /dev/watchdog' >> /etc/watchdog.conf echo 'watchdog-timeout = 15' >> /etc/watchdog.conf echo 'max-load-1 = 24' >> /etc/watchdog.conf systemctl enable watchdog reboot
To include your WiFi interface in the scope of the watchdog check:
sudo su echo 'interface = wlan0' >> /etc/watchdog.conf reboot
— Michael GM5AUG 2024/01/19 19:28
rpi-watchdog.txt · Last modified: 2024/01/19 23:48 by m0lte