howto turn off WOL?

poma pomidorabelisima at gmail.com
Tue Jan 6 17:20:37 UTC 2015


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"


Why do you use biosdevname?



More information about the users mailing list