I want to enable WOL, I have it enabled in BIOS and understand I need to configure a systemd service to re-enable the setting on boot.
interface is enp3s0 (yes I checked), and script has 775 permissions
using Ubuntu 18.04 desktop
etc/systemd/system/wol.service
looks like this:
[Unit]
Description=Configure Wake-up on LAN
[Service]
Type=oneshot
ExecStart=/sbin/ethtool -s enp3s0 wol g
[Install]
WantedBy=basic.target
When I reboot, sudo ethtool enp3s0
gives me
...
Wake-on: d
...
Should be = wake-on: g