User Tools

Site Tools


rpi-watchdog

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
rpi-watchdog [2024/01/19 19:32] – created gm5augrpi-watchdog [2025/07/28 20:44] (current) – [Steps to install and run RPi Watchdog:] 2e0ijc
Line 5: Line 5:
 ===== Steps to install and run RPi Watchdog: ===== ===== Steps to install and run RPi Watchdog: =====
  
 +<code>
 sudo -i sudo -i
-echo 'dtparam=watchdog=on' >> /boot/config.txt +echo 'dtparam=watchdog=on' >> /boot/firmware/config.txt
-reboot +
- +
- +
-Then copy/paste these commands into your terminal, one at a time: +
- +
-sudo -i+
 yes | apt install watchdog yes | apt install watchdog
 echo 'watchdog-device = /dev/watchdog' >> /etc/watchdog.conf echo 'watchdog-device = /dev/watchdog' >> /etc/watchdog.conf
Line 18: Line 13:
 echo 'max-load-1 = 24' >> /etc/watchdog.conf echo 'max-load-1 = 24' >> /etc/watchdog.conf
 systemctl enable watchdog systemctl enable watchdog
-systemctl start watchdog +reboot 
-systemctl status watchdog+</code>
  
 +To include your WiFi interface in the scope of the watchdog check:
  
 +<code>
 +sudo su
 +echo 'interface = wlan0' >> /etc/watchdog.conf
 +reboot
 +</code>
  --- //[[[email protected]|Michael GM5AUG]] 2024/01/19 19:28//  --- //[[[email protected]|Michael GM5AUG]] 2024/01/19 19:28//
  
rpi-watchdog.1705692737.txt.gz · Last modified: by gm5aug