-
Notifications
You must be signed in to change notification settings - Fork 9
Watchdog
Q-engineering edited this page Aug 23, 2023
·
1 revision
It might happen that your Raspberry Pi stops working for no reason at all. The screen is frozen, mouse nor the keyboard is working.
Even our Alive safeguard can't restart the Rpi.
That's why we advise you to use the watchdog found in the Raspberry Pi hardware; it's the only way to get the RPi up and running again.
- Enable the watchdog in the configuration by adding an extra line at the end.
$ sudo nano /boot/config.txt
# add
dtparam=watchdog=on
# save and close with <Ctrl>+<X>, <Y>, <Enter>
- Download the watchdog.
$ sudo apt-get update
$ sudo apt-get install watchdog
- Configure the watchdog.
$ sudo nano /etc/watchdog.conf
# enable the device
watchdog-device = /dev/watchdog
# uncomment max load
max-load-1 = 24
- Enable the service.
$ sudo systemctl enable watchdog
$ sudo systemctl start watchdog
$ sudo systemctl status watchdog
- Success!