Talk:Power management/Ethernet

From Gentoo Wiki
Jump to:navigation Jump to:search
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 06:51, 18 June 2024 (UTC)
:: Your reply ~~~~


Talk status
This discussion is still ongoing as of 2018-05-03.

I find the NetworkManager way to enable Wake-on-LAN really helpful.

Also, I wanted to add that using Systemd link file /etc/systemd/network/ works, but affected interfaces won't take new names from eth* to enp*. If you know how to fix it, you could add that info too.

— The preceding unsigned comment was added by Wowpetr (talkcontribs)


Talk status
This discussion is still ongoing.

WOL stopped working for me when kernel updated to 5.4.28 (from 4.19.97). Nothing was resetting the wol state to "g" and it was always going to "d". The /etc/conf.d/net line had no effect.

After some digging around, found a solution using /etc/local.d

 # echo "ethtool -s enp5s0 wol g" >/etc/local.d/wol.start  (enp5s0 is the n/w adaptor name)
 # chmod +x /etc/local.d/wol.start

The wol.start script runs when the service starts and rearms the wol state.

Wjb (talk) 12:19, 3 April 2020 (UTC) wjb