Enabling Persisten Wake-Up-On-Lan

Hello Folks…

     As per my usual habit when I figure out a tricky problem with suse I like to make a post here in the forum to help other head-scratching suse users....

     I am trying to set up wake-up-on-lan, I managed to suspend successfully with 's2ram -f' and wake up with 'wol <mac-address>'. The problem was whenever I restarted my machine WOL was disabled on my network device. I wanted to make sure it was enabled even after a restart, instead of manually running ethtool for every restart...

     There are two ways. Yast or manually...

The easy yast way is simple:

  1. Open yast and navigate as follows:

           Network Devices->Network Settings
    
  2. Select your device and edit the settings

  3. Select the Hardware tab

  4. Under Ethtool Options add the following:

“wol g”

  1. Press Next/Ok to apply the settings

The manually way:

  1. Suse stores the network device settings in /etc/sysconfig/network
    1a) there you will find ifcfg-<your_device>
  2. Edit this file, you should see an option ETHTOOL_OPTIONS=’<options_list>’
  3. Add “wol g” for the options
  4. Save and exit this file…
  5. To reload the new networking settings run ifup <your_device>

Thats all

Take Care
Mike

To avoid more head-scratching - this will not work with NetworkManager which does not use this file.

Thanks arvidjaar](https://forums.opensuse.org/member.php/69818-arvidjaar) for that extra bit of info…

I should tell you that this worked with opensuse v13.2 that uses systemd and wicked for the boot and network set-up respectively…