Fedora Linux Support Community & Resources Center
Old 16th June 2012, 03:42 PM
mineral4x Offline
Registered User
Join Date: Jun 2012
Location: usa
Posts: 1
WOL g option clearing after resume

ethtool -s eth0 wol g

I can use rc.local and ethtool to set "wol g" initially after boot, but then once the pc sleeps and resumes, wol g is cleared and set back to d again. No matter how the PC is woke this is the case, both physically and using wol. It can be re-set to g but always end up d after a suspend.
pm-suspend.log always shows resume sucessful.

I'm trying to get "wol g" to stay set or at least re-set the wol g value after a resume.

I have already tried the following to reset the g option when bringing up the interface after resume but nothing has worked. I am not sure why.

setting in /etc/sysconfig/network-scripts/ifcfg-eth0

making a bash script at /sbin/ifup-local to include
ethtool -s eth0 wol g

putting ethtool -s at the end of the file just before exit 0

I haven't even been able to figure out what is even clearing the wol g option.
If I perform the following, wol does actually hold its g value.

systemctl restart network.service

ifdown eth0
ifup eth0

---------- Post added at 10:42 AM ---------- Previous post was at 01:01 AM ----------

I never figured out why none of the common solutions failed to work, but I figured out an unconventional way to get it done.

I added the ethtool command as the final line of the resume function for the NM pm-suspend hooks

Reply With Quote

clearing, option, resume, suspend, wol

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC5 Is there a resume option Mesu EOL (End Of Life) Versions 8 9th May 2006 10:15 AM
Clearing the Crontab rob2000007 Using Fedora 4 17th November 2005 11:38 PM
Clearing CD-RW Raafi Using Fedora 3 18th May 2005 04:23 PM

Current GMT-time: 17:03 (Saturday, 19-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat