0
1
I'm trying to configure Wake-On-Lan on a computer. Here is what I've done:
enabled it in BIOS (
Power on by PME
:Allows you to turn on the system through a PCI/PCIE/onboard LAN device
).
Note: I'm using a PCI ethernet card.
Note2: motherboard: ASUS M4A79XTO EVO manual.enabled it via Linux with
sudo ethtool -s eth0 wol g
, then when usingsudo ethtool eth0
, I see:Supports Wake-on: pumbg Wake-on: g
which seems to confirm it's ok.
either shutdown the computer with
sudo halt -p
or suspend withsystemctl suspend
or hibernate (I tested all of them)send the magic packet from another Windows computer on the same local network using WakeMeOnLan by specifying the right IP address + MAC address
but nothing happens!
Fact: when I hibernate or suspend or turn off, the LED of the ethernet card is off. Is it the same for you who successfully use WakeOnLan? Is it normal that the green LED is off (usually saying that the network is no more connected)?
More generally, what could cause the WoL to fail?
Making it work can be a real struggle, and it is also dependent on your hardware. You will find an account of such a struggle in the Debian Wiki Wake On LAN. Follow this article and let us know what happened by editing your post. If using Arch Linux see this article.
– harrymc – 2019-11-17T18:32:15.717@harrymc Just to be sure: does WOL wake from "computer off" state or from "hibernate" state? – Basj – 2019-11-17T19:26:16.067
I know that Windows needs to be in Sleep, not Hibernate, for WOL. On Linux there are too many distributions and drivers to speculate. To be safe, use Sleep. – harrymc – 2019-11-17T19:32:46.563
Ok so on Windows: Sleep: OK, Hibernate: not OK, Power off: not OK, is that right? – Basj – 2019-11-17T19:53:25.437
About Linux: do you know a distribution at least that can WOL from "Power off" state? – Basj – 2019-11-17T19:53:53.957
For Windows - correct. For Debian - the above link is positive, others I don't know. – harrymc – 2019-11-17T19:56:32.163
If the link LED on the switch is off, you can be sure there is no way to run WOL. – davidbaumann – 2019-11-20T06:25:08.717
Are you sure you use PCI, not PCIE? – davidbaumann – 2019-11-20T06:26:23.717
Please specify the PCIE network card brand, model and if possible, chip. Networking is a complex issue and having as much info as possible helps. State S5 (as stated in the manual) is OFF. That means the motherboard supports waking from full shutdown. The manual states you need at least 1A in the +5V SB of the mother from the PSU. Also, did you try the WoL feature with the onboard ethernet? – Leo – 2019-11-21T05:07:20.340
What Ethernet card are you using? Are you sure that one is eth0 and not your board's onboard ethernet? What does
cat /sys/class/net/eth0/device/power/wakeup
say? – tgies – 2019-11-22T17:09:11.1901"Ok so on Windows: Sleep: OK, Hibernate: not OK, Power off: not OK, is that right?" - that's completely wrong. Wake on LAN absolutely wakes PCs from hibernate and off power states. I use it all the time. – Mr Ethernet – 2019-11-23T23:25:20.243