User Tools

Site Tools


rpi-watchdog

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
rpi-watchdog [2024/01/19 19:34] gm5augrpi-watchdog [2024/01/19 23:48] (current) m0lte
Line 8: Line 8:
 sudo -i sudo -i
 echo 'dtparam=watchdog=on' >> /boot/config.txt echo 'dtparam=watchdog=on' >> /boot/config.txt
-reboot 
-</code> 
- 
-Then copy/paste these commands into your terminal, one at a time: 
- 
-<code> 
-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 20: 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> </code>
  
 +To include your WiFi interface in the scope of the watchdog check:
 +
 +<code>
 +sudo su
 +echo 'interface = wlan0' >> /etc/watchdog.conf
 +reboot
 +</code>
  --- //[[gm5aug@topple.scot|Michael GM5AUG]] 2024/01/19 19:28//  --- //[[gm5aug@topple.scot|Michael GM5AUG]] 2024/01/19 19:28//
  
rpi-watchdog.1705692879.txt.gz · Last modified: 2024/01/19 19:34 by gm5aug