You are not logged in.
Pages: 1
Hi,
I'm playing with pwersaving options of my Laptop.
Everything is working quite well, but i'm not able to disable WOL.
I tried this, which has no effect:
https://wiki.archlinux.org/index.php/Po … interfaces
Then i recognized, that NetworkManager is making changes to the card. So I made a dispatcher script, which works, when the enp5s0 is activated:
$ cat /etc/NetworkManager/dispatcher.d/90-wol
#!/bin/bash
if [ "$2" = "up" -a "$1" = "enp5s0" ]; then
/usr/bin/ethtool -s enp5s0 wol d
fi
For setting wol disabled after boot I made a systemd unit
$ cat /etc/systemd/system/enp5s0-wol-d.service
[Unit]
Description=Disable wol on enp5s0
After=network.target
[Service]
Type=oneshot
ExecStart=/usr/bin/ethtool -s enp5s0 wol d
[Install]
WantedBy=multi-user.target
which also works, but after suspend wol is set to state "g" again! grrrrr.
Does anybody have some suggestions who else could be fiddling around with the wol-settings?
There have to be some simpler solutions to disable wol.
Any suggestions and ideas are welcome.
Thanks.
Offline
Pages: 1