Open elrnv opened 4 years ago
I have the same issue elrnv describes above. My release (/etc/os-release
) and ethtool
version is identical as above, so I won't repeat those. My setup is slightly different - I'm running a Windows/Pop!_OS dual boot and WOL works fine when I set the Windows drive as primary boot device, so I don't believe this is a hardware problem. Can confirm when shutting down via OS the light on the ethernet port (this is the device I wake from) is ON from Windows but OFF from Pop!_OS.
The only details to add: Wake-on
for my link reverts back to this on startup:
Supports Wake-on: pg
Wake-on: d
I can reset it to g
using sudo ethtool en6s0 wol g
but that configuration is lost on reboot.
I'm using wakeonlan
to send the wake packet:
> wakeonlan --version
/usr/bin/wakeonlan version 0.41 calling Getopt::Std::getopts (version 1.12 [paranoid]),
running under Perl version 5.28.1.
[Now continuing due to backward compatibility and excessive paranoia.
See 'perldoc Getopt::Std' about $Getopt::Std::STANDARD_HELP_VERSION.]
I’m having the same problem. I am forced to use the following script:
sudo nano /etc/systemd/system/wol.service
[Unit] Description=Configure Wake On LAN
[Service] Type=oneshot ExecStart=/sbin/ethtool -s INTERFACE wol g
[Install] WantedBy=basic.target
sudo systemctl daemon-reload sudo systemctl enable wol.service sudo systemctl start wol.service
——
I can confirm this was also an issue found in previous versions of Ubuntu and Kubuntu, but the issue is no longer present.
This systemd soln works for me on latest LTS (the issue still exists).
Distribution (run
cat /etc/os-release
):Related Application and/or Package Version (run
apt policy $PACKAGE NAME
):Issue/Bug Description: Here is the situation: WoL is enabled with
ethtool
, it is also enabled in BIOS/UEFI. If I shutdown using the physical switch, the NIC (network card) stays on (LED is on), and WoL works as expected (system boots on magic packet). If I shutdown withsudo shutdown now
orpoweroff
, then NIC is also shut down, and WoL doesn't work. I tried some of the suggestions online for Ubuntu, but none have solved the issue, so I suspect it has something to do with how Pop! is configured.For reference, My ethernet controller is Intel I211 Gigabit. The driver is the latest igb driver v5.3.5.42. Kernel 5.3.0-7629-generic. Since WoL works through physical shutdown, I don't think it's a hardware issue.
sudo ethtool enp4s0 | grep "^\sWake-on"
reportsSteps to reproduce (if you know):
sudo apt install ethtool
ip link
orifconfig
, call it<eth>
sudo ethtool -s <eth> wol g
to enable wake on lan on said devicesudo ethtool <eth> | grep "^\sWake-on"
, which should reportsudo shutdown now
,poweroff
or through the GUI.wakeonlan
from another computer on the same LAN: the computer fails to boot.Expected behavior: The ethernet port should show an LED indicating that it is on after shutdown. Sending the magic packet should trigger a boot.