howto turn off WOL?

poma pomidorabelisima at gmail.com
Wed Jan 7 00:42:33 UTC 2015


On 06.01.2015 19:39, Neal Becker wrote:
> poma wrote:
> 
>> On 06.01.2015 17:51, Neal Becker wrote:
>>> If I suspend my laptop with enet connected, it immediately wakes again (yes,
>>> my suspend is working again!)
>>>
>>> I can turn off WOL using
>>>
>>> sudo /sbin/ethtool -s p3p1 wol d
>>>
>>> What is the recommended way to set this option permanently?
>>>
>>
>> $ udevadm info -a -p /sys/class/net/p3p1 | grep address
>>     ATTR{address}=="nn:nn:nn:nn:nn:nn"
>>
>> /etc/udev/rules.d/100-ethtool.rules
>> SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="nn:nn:nn:nn:nn:nn",
>> RUN+="/sbin/ethtool -s p3p1 wol d"
>>
> 
> Thanks!
> 
>>
>> Why do you use biosdevname?
>>
> 
> Sorry, I don't understand this question.
> 

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/sec-Consistent_Network_Device_Naming_Using_biosdevname.html




More information about the users mailing list