You are not logged in.

#1 2015-02-12 08:29:04

Immobile
Member
Registered: 2015-02-07
Posts: 8

Wake on LAN settings not persisting after suspend/resume

HI all,

I'm having a problem with my WOL settings - my ethernet card enables WOL by default (and there isn't a relevant BIOS switch I can toggle) and I would like to disable it and ensure it stays disabled. I have created a udev rule (as per the wiki) to disable WOL when my card is detected, which works in disabling WOL when I start up my laptop. However, if I suspend/resume my laptop, my WOL settings reset to their default state ('g' instead of 'd'). This happens regardless of whether I suspend using "systemctl suspend" or the "XFCE-power-manager". I have added

SUSPEND_MODULES="r8169"

in "/etc/pm/config.d/modules" as per the wiki page on pm-utils (I believe XFCE powerman uses pm-utils to suspend?), in order to reload my ethernet drivers on resume and hopefully have the udev rule catch this again, but this does not work. Does anyone have any other suggestions?

(I can add the ethtool command as a systemd hook for resume, but I usually use the power manager to suspend, so I would rather have that working than a systemd workaround)

Thanks!

Offline

#2 2015-02-12 13:04:45

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: Wake on LAN settings not persisting after suspend/resume

Did u see the wiki on wol?

Offline

#3 2015-02-12 22:58:31

Immobile
Member
Registered: 2015-02-07
Posts: 8

Re: Wake on LAN settings not persisting after suspend/resume

Yes, but which part in particular do you suggest might apply to my problem? The only relevant bit I can see is the last line about Realtek cards, which describes a different problem that I don't really observe...

Offline

Board footer

Powered by FluxBB