Talk:Power management/Ethernet

From Gentoo Wiki
Jump to:navigation Jump to:search
This is a Talk page - please see the documentation about using talk pages. Add newer comments below older ones, sign comments using four tildes (~~~~), and indent successive comments with colons (:). Add new sections at the bottom of the page, under a heading (== ==). Please remember to mark sections as "open for discussion" using {{talk|open}}, so they will show up in the list of open discussions.


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