I was wondering what is the "correct" way of enabling WOL on a network card.

This Arch document [1] describes several methods (which basically are different methods on running "ethtool -s eth0 wol g").

* run ethtool in udev
* run a cron on reboot
* run a systemd unit

This Fedora bug [2] suggests that you can make NetworkManager run a script in
/etc/NetworkManager/dispatcher.d

And finally you can use good old /etc/rc.d/rc.local and put there the ethtool command.

Notice that all of this requires editing files, there isn't a check box somewhere in the NetworkManager GUI to enable this option, for example.


Regards, Sergio


[1] https://wiki.archlinux.org/index.php/Wake-on-LAN
[2] https://bugzilla.redhat.com/show_bug.cgi?id=826652