20 votes

Watchdog on the RPi4

To check if the watchdog is available, you can run wdctl which gives you a bit more info than just looking at /dev/watchdog. To start using the watchdog, you can still use the old watchdog daemon ...
Malvineous's user avatar
  • 1,864
8 votes

FATAL: Module bcm2708_wdog not found

how i can load Module bcm2708_wdog At first I thought you were looking for the wrong thing because of this: Linux raspberrypi 4.4.7-v7+ ^^^ Since this means you are using a ...
goldilocks's user avatar
  • 58.7k
7 votes

How do I hard reset a Raspberry Pi?

It is very easy to wire a hardware reset to the Rpi3. Here is where you will find holes already open and waiting: (Shown here with header pins soldered in place directly above the screw hole) Don't ...
SDsolar's user avatar
  • 2,348
6 votes

WatchDog Daemon not restarting PI after fork bomb

I spent a bit of time getting the watchdog working on a Debian Stretch version of Raspbian: pi@orangepi:~ $ cat /etc/rpi-issue Raspberry Pi reference 2018-11-13 Generated using pi-gen, https://github....
berto's user avatar
  • 1,231
6 votes

How to keep watchdog timer running during reboot/shutdown

sudo poweroff means shut down and stay off. The watchdog does not, and should not, intercept this. The behaviour you are experiencing is correct and you should not expect the watchdog to restart a ...
nickcrabtree's user avatar
5 votes

How to keep watchdog timer running during reboot/shutdown

I didn't wade through all the rant you linked, but the author doesn't seem to understand the watchdog. There is a BCM hardware watchdog; If you want to start the hardware watchdog include dtparam=...
Milliways's user avatar
  • 59.5k
5 votes

Watchdog on the RPi4

For the RaspberryPi4 it's more straightforward than for earlier software as much of the configuration scaffolding is already in place. Edit /etc/systemd/system.conf adding the line RuntimeWatchdogSec=...
vk5tu's user avatar
  • 151
3 votes

Disabling watchdog in Raspberry Pi Archlinux ARM

Watchdog is built into the Raspbian kernel using CONFIG_WATCHDOG=y in kernel parameters, so rmmod is not possible unless you rebuild the kernel. /proc/sys/kernel/watchdog is not implemented in ...
Dmitry Grigoryev's user avatar
3 votes
Accepted

Using Watchdog to reboot in case of overheat

I think temperature-device option should be used in watchdog config file for Raspbian (8.0) instead of temperature-sensor. There is an old watchdog version which supports temperature-device option ...
Łukasz Marcin Ślachciak's user avatar
3 votes
Accepted

Restart Pi if not reachable (3G)

I was facing a very similar situation. I ended up not using ping but curl. because many times, ping will still work even though the mobile 3G/4G connection has run out of credits/data -- while ...
Eugen's user avatar
  • 488
3 votes
Accepted

Installing Watchdog Daemon on Arch

Update. This package was moved from the upstream of the Arch Repo over to the AUR and no one has produced an ARM version so the watchdog package is no longer available via pacman. The sources are ...
tobyd's user avatar
  • 988
3 votes
Accepted

Watchdog on the RPi4

Ok, after some testing it seems like the watchdog module is loaded by default. To check for yourself, see if /dev/watchdog exists. This is the guide what worked for me.
tlqmj's user avatar
  • 159
3 votes

Watchdog on the RPi4

Do NOT attempt to load ANY modules. Add dtparam=watchdog=on to config.txt and Device Tree will load the module. NOTE you also need to enable the watchdog service. See https://raspberrypi....
Milliways's user avatar
  • 59.5k
2 votes

Restart Pi after ping failure?

Here is a small bash script that you can call with cron, for example every 30 seconds. #!/bin/bash COUNT=3 INTERVAL=1 for ((i=COUNT; i>0; i--)); do /bin/ping -c1 -n 8.8.8.8 >/dev/null 2&...
Ingo's user avatar
  • 42k
2 votes
Accepted

Rpi3 is the hardware watchdog enabled by default

Indeed in Pi3 using stretch (and even jessie) the hardware watchdog is enabled by default
akarapatis's user avatar
2 votes

How to keep watchdog timer running during reboot/shutdown

Just to help anyone here from Google, the most current way (as of 2020) of using the watchdog timer is to configure it through systemd. This doesn't require any additional software to be installed. ...
Malvineous's user avatar
  • 1,864
2 votes

How to keep watchdog timer running during reboot/shutdown

Power is a system service/daemon in pi and is string parsed by an IC directly pin out/fanouted to the Broadcom IC. Operation workflow can be altered by referring to system files but from what I can ...
Yigit Turgut's user avatar
2 votes

Modbus to USB stops working after a few days

Try setting force_turbo=1 in config.txt. This will disable dynamic frequency scaling of the CPU. I have had four devices (all my three Zero W devices and one Raspi 4) which used to freeze, the Zeros ...
Daniel F's user avatar
  • 143
1 vote
Accepted

Watchdog and autologin - raspberry pi zero-

It is not clear to me what you want to achieve. Do you want that your raspberry reboots without a password prompt / autologin enabled? This can be done in raspi-config 1 System Options--> S5 Boot / ...
Hannes's user avatar
  • 238
1 vote

RPi3 Watchdog monitoring a directory instead of a file

Try specifying a directory name instead of a file name: according to the man page, watchdog will try to stat the file, and that should work for directories too. Note that directory is only considered &...
Dmitry Grigoryev's user avatar
1 vote

Raspberry PI 3 freeze for some hours and afterwards its working

There are a few things I would do if I were you: Get a decent power supply, like 5-10A on 5V well stabilized, not "el-cheapo" wallwart, that gives you 4.5V @ high loads. Disconnect USB periferals one ...
lenik's user avatar
  • 11.5k
1 vote
Accepted

Cannot install the watchdog package

Solved by adding this line to /etc/apt/sources.list: deb http://ftp.de.debian.org/debian stretch main
jgulacsy's user avatar
1 vote
Accepted

Where do the pigpio watchdogs run? Could watchdogs on multiple GPIO pins conflict?

They are emulated watchdogs, done in software using software timing techniques. Based on the way the library is written, there is little chance of conflict. If two pins experience a level change at ...
crasic's user avatar
  • 2,983
1 vote

Restart Pi if not reachable (3G)

Not an answer to the original question, but relevant to the problem. There is no 3G dongle in the world that requires only 100mA to work properly. These devices need more than 0.5W. Show us the ...
user2497's user avatar
  • 679
1 vote

Restart Pi if not reachable (3G)

I've tried blocking my Pi's traffic as a test case. It seems that ping waits a little too long when the connection is frozen. I could be wrong though. Anyways, try adding a timeout to your script. # ...
Aloha's user avatar
  • 7,126
1 vote

FATAL: Module bcm2708_wdog not found

From this: https://github.com/raspberrypi/linux/issues/1285#issuecomment-182264729 That is, add: dtparam=watchdog=on to the end of /boot/config.txt $ ls -l /dev/wat* crw------- 1 root root 10, ...
aronbo's user avatar
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible