Bug ID 967080
Summary Wake-on-LAN settings are ignored when using NetworkManager
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.1
Hardware Other
OS openSUSE 42.1
Status NEW
Severity Normal
Priority P5 - None
Component Network
Assignee bnc-team-screening@forge.provo.novell.com
Reporter hdw@lkv-sh.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Created attachment 665880 [details]
output from command `hwinfo --all`

This Bug is related to https://bugzilla.opensuse.org/show_bug.cgi?id=953942

but the setting ETHTOOL_OPTIONS='wol g' from /etc/sysconfig/network/ifcfg-eth0
does not work for me.

I followed the steps in https://bugzilla.opensuse.org/show_bug.cgi?id=953942#c6
and attached an output from command `hwinfo --all`.

This problem still occures on my workstation FUJITSU ESPRIMO P520.

After update from openSUSE 13.2 to Leap 42.1 the wake-on-lan setting is
deactivated.
The command `ethtool eth0` shows 'Wake-on: d'.

After activating WOL with the command `/usr/sbin/ethtool -s eth0 wol g` and a
reboot the wake-on-lan setting is allways deactivated.

Enabling a start script with the command `/usr/sbin/ethtool -s eth0 wol g`
doesn't work.

Fix: One workarount comes from
https://bugzilla.redhat.com/show_bug.cgi?id=826652

Put a script 'wol' in the path
/etc/NetworkManager/dispatcher.d

#!/bin/bash
#
# wol dispatcher script for NetworkManager
#
#
if [ "$2" = "up" -a "$1" = "eth0" ]; then
        sleep 2
        /usr/sbin/ethtool -s eth0 wol g
fi


This script is executed everytime a new ethernet card is initialized....
Additional: In the above script i fixed the path from /sbin/ethtool to
/usr/sbin/ethtool.


You are receiving this mail because: