I followed this guide to enable wake on lan on my Ubuntu Server 22.04 installation. I even put
iface eno1 inet static
address 192.168.1.5
up ethtool -s eno1 wol g
to /etc/network. No matter what I try, after rebooting, wake-on-lan is disabled again:
Wake-on: d when checking with sudo ethtool eno1.
I even tried this, in case my network is managed by network manager, but I think it's not:
$ sudo service network-manager status
Unit network-manager.service could not be found.