Permanently set up wakeup-on-LAN (WoL)
What is the proper way to prepare my desktop machine for wakeup-on-LAN (WoL) in times of systemd (Fedora 16)?
While I can enable it for my ethernet device using ethtool -s em1 wol g
and succesfully wake from an other machine on the network, I found no permanent setting i.e. after waking up ethtool em1 | grep -i wake
is changed back to:
Supports Wake-on: pg
Wake-on: d
I found a hint at blog.nirkabel.org, but could not figure out how to make it work for me. Here is what I tried: I added a line to /etc/sysconfig/network-scripts/ifcfg-em1:
ETHTOOL_OPTIONS="wol g"
Any suggestions? Thank you for your consideration!