1

I would need the Watchdog timer of the Pi to kiss the halted Pi awake to make it boot again. I know about the Watchdog timer limitations, and that it should not be able to do it, but I have seen reports of users that complain about the "unfortunate" setup situation, where the pi performs a shutdown, and the WD (apparently) makes it reboot right away. That's what I want.

This post explains why...

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=29&t=44177&p=373587#p373587

Anybody?

paulv
  • 11
  • 2

3 Answers3

2

There is no way, without a separate circuit or device to have the RPi wake itself up. You could bridge the pins on P6 Header using an Arduino or similar, or a physical switch or jumper on those same pins, or cut power and re-energize the system, but you can't have the RPi power itself on.

Butters
  • 1,587
  • 8
  • 23
  • WoL has no use on the PI as it does not support a power down mode. Ethtool will report that the network part of the pi is capable of WoL but it is not supported. – Kenneth Aug 15 '13 at 12:13
  • @Kenneth Answer modified. Thanks for pointing that out. – Butters Aug 15 '13 at 12:57
0

Indeed, if you arm the watchdog on your Pi (with nowayout=1), then your Pi will reset (with the watchdog disabled) even if you shutdown -h now your Pi.

The only cases where you could be stuck are when the watchdog daemon is still working but something related to the network broke.

I have a Pi that I can't easily access, and I'm thinking of using the ping option of the /etc/watchdog.conf file, using a public ip from from some big company to reboot the Pi if it loose internet connectivity.

Jean
  • 141
  • 3
0

The pi does not support -h since it is not capable of entering a powered down state. It is either on, as in running or it is not connected to a power supply. When you run shutdown -h it enters single user mode instead.

If you simply need a power cycle why not simply reboot:

sudo shutdown -r now
Kenneth
  • 731
  • 1
  • 4
  • 11