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
ETHTOOL_OPTS="wol g"
making a bash script at /sbin/ifup-local to include
ethtool -s eth0 wol g
/etc/sysconfig/network-scripts/ifup-post
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
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
ETHTOOL_OPTS="wol g"
making a bash script at /sbin/ifup-local to include
ethtool -s eth0 wol g
/etc/sysconfig/network-scripts/ifup-post
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