howto turn off WOL?

Neal Becker ndbecker2 at gmail.com
Tue Jan 6 18:39:30 UTC 2015


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.




More information about the users mailing list