LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   WoL not working after restoring physical power (https://www.linuxquestions.org/questions/debian-26/wol-not-working-after-restoring-physical-power-4175690304/)

Gad 02-11-2021 06:01 AM

WoL not working after restoring physical power
 
Hi everybody!

My apologies if this post has been covered before however my questions differs slightly to the following: https://www.linuxquestions.org/quest...utdown-841960/

WoL is working fine on my machine. I am able to shutdown and start up the machine as expected.

However after powering off the machine and then switching off the physical power plug and switching it back on the following day the WoL function does not work. I have to press the power power button manually to start the machine and once it starts up the WoL function works perfectly without any other intervention or configuration changes.

I have tried to research this extensively on the internet but perhaps I have missed something.

Thank you

Ser Olmy 02-11-2021 06:45 AM

This is a very common issue, and it happens because some (most?) NICs fails to store the WoL setting in non-volatile memory.

As a result, the Wake-on-LAN function does indeed work if the PC is booted then shut down by the OS/user, as the NIC keep receiving stand-by power from the PSU. However, if power is removed completely, the setting is lost until the OS is booted again.

We've had people reporting similar issues before, such as WoL only working after the system has been booted to Windows and then shut down (the Linux OS or driver module for the NIC in question probably failed to store the setting properly).

The only workaround I've found is to use a BIOS setting that causes the PC to always power on after a power loss. Not ideal, and the BIOS option is not present on all systems.

Gad 02-11-2021 07:24 AM

Appreciate your feedback. Ill fiddle around a bit and see what else I can try otherwise I may have to resort to the ACPI BIOS setting and see what options are available


All times are GMT -5. The time now is 05:15 PM.