Power loss behaviour - is there some basic action?

Bo Berglund bo.berglund at gmail.com
Wed Mar 26 10:29:47 UTC 2025


On Wed, 26 Mar 2025 11:22:18 +0100, Bo Berglund <bo.berglund at gmail.com> wrote:

>>4) Enable a regular WOL call from an RPi4 device for example every 5 minutes or
>>so to trigger its wakeup if it is not running.
>
>#!/bin/bash
># This is set to run on a RaspberryPi every 10 minutes from cron
>#Which is the better command?
>etherwake a4:ae:12:7f:4d:c3
>wakeonlan a4:ae:12:7f:4d:c3
>
>
>Is this OK?

No it is not...
it needs sudo

so: 
sudo etherwake a4:ae:12:7f:4d:c3
or ยด
sudo wakeonlan a4:ae:12:7f:4d:c3

In fact sudo apt install etherwake will also install wakeonlan I don't know what
is the difference...


-- 
Bo Berglund
Developer in Sweden





More information about the ubuntu-users mailing list