I had this working on my system, but for whatever reason at some point it stopped. Its quite simple to get it back working, use the ethtool
to look at your network interface.
ethtool eth0 | grep Wake Supports Wake-on: pumbg Wake-on: g
The first line states what is supported, whilst the second line states what is currently activated.
Letter | Meaning |
---|---|
d | Disabled |
p | PHY activity |
u | Unicast activity |
m | Multicast activity |
b | Broadcast activity |
a | ARP activity |
g | Magic packet activity |
It should be set to g
, if its not modify it with the following…
ethtool -s enp5s0 wol g
This may not be persistent though, to make sure this is set on every reboot add the following to /etc/conf.d/net
…
ethtool_change_eth0="wol g"