Skip to content

Watchdog

Q-engineering edited this page Aug 23, 2023 · 1 revision

Watchdog.

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.

Install the watchdog.

  1. 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>

image

  1. Download the watchdog.
$ sudo apt-get update
$ sudo apt-get install watchdog
  1. Configure the watchdog.
$ sudo nano /etc/watchdog.conf
# enable the device
watchdog-device = /dev/watchdog
# uncomment max load
max-load-1 = 24

image
image

  1. Enable the service.
$ sudo systemctl enable watchdog
$ sudo systemctl start watchdog
$ sudo systemctl status watchdog

  1. Success!
    image

Clone this wiki locally