This is my box:
Linux mediacenter 5.15.122-1-MANJARO #1 SMP PREEMPT Tue Jul 25 07:09:46 UTC 2023 x86_64 GNU/Linux
I am trying to follow https://wiki.archlinux.org/title/Wake-on-LAN
But I am failing to make the changes persistent.
I have tried the link solution, the systemd, and the udev rule one. Every time I reboot things look like:
sudo ethtool enp1s0 | grep Wake-on
Supports Wake-on: pumbg
Wake-on: d
Which seems to mean it's disabled.
Especially the systemd thing puzzles me. It appears the systemd script runs before the network interface has been renamed from eth0
to enp1s0
.
ago 31 00:27:33 mediacenter systemd[1]: Starting Wake-on-LAN for enp1s0...
ago 31 00:27:33 mediacenter ethtool[373]: netlink error: no device matches name (offset 24)
I haven't been able to get it to apply the ethtool command on reboot. If I set it manually after rebooting, it works:
$ sudo systemctl start wol@enp1s0
$ sudo ethtool enp1s0 | grep Wake-on
Supports Wake-on: pumbg
Wake-on: umbg
Ideas?