Wake on LAN Persistance Issues 22.04

I just tested this on my pc (wfx) ...

went into BIOS, enabled Wake-on-LAN
Added wol.service as above (Note: ethtool is in /sbin, not /usr/sbin)
Logged on to that pc, sudo poweroff
From another pc, ping wfx ... Destination unreachable
Went to my router, sent a magic packet to wfx.
After a while (wfx booted), ping became active.

Instead of powering off ...

ssh wfx, sudo systemctl suspend, wfx should become inactive.
From router, send a magic packet, after a bit, wfx becomes active.

(All tested before I wrote this post.)

1 Like