Réveil sur réseau local Windows 10

Solved
eclispe -  
avion-f16 Posted messages 19182 Registration date   Status Contributor Last intervention   -
Hello,

I am trying to integrate Wake on LAN on my PC and turn it on remotely with HomeAssistant.

I configured my BIOS for Wake on LAN, saved the BIOS settings, the PC turns off, I activate Wake on LAN via Home Assistant, and the PC starts under Windows 10, everything is normal. I shut down my computer to try again, and then the PC won't start. I check my BIOS, nothing has changed, the PC turns off. I redo the procedure, and after exiting the BIOS, the PC turns on, but when I shut down my PC from Windows, Wake on LAN doesn't work anymore. Why?

Thank you for your help.

5 answers

jee pee Posted messages 9433 Registration date   Status Moderator Last intervention   9 971
 
Hello,

First of all, WOL is a very finicky thing.

What is Home Assistant? And how does it wake up the PC? With its IP address or its MAC address using a magic packet that travels across the network? If it uses the IP, there is a chance the router/modem may not redirect it for long after the PC is turned off.

It should also be noted that in Windows 10, at the advanced settings of the network adapter, WOL needs to be enabled.

0
eclispe
 
Hello,


So HomeAssistant and my home automation server is waking up with the MAC address.

When you talk about enabling WOL in the advanced settings, are you referring to "Wake on Magic Packet" and "Wake on Pattern Match"?
0
jee pee Posted messages 9433 Registration date   Status Moderator Last intervention   9 971 > eclispe
 
Yes, parameters of this type. Each network card has its own parameters, with their naming, and there can be several.

"Pattern Match" meaning matching with a pattern/profile, we should investigate to see what it is, maybe not activate it, just keep "Wake on Magic Packet" active.
0
Anonymous user
 
Hello
I usually use https://wol.aquilatech.com/
It’s free, efficient, and straightforward.


The settings for each machine are simple


A+

--
If the answer helped you, a little click on the thumbs up would be great... If resolved, that’s perfect.

Let him who has never opened a user manual throw the first mouse ;-)
0
eclispe
 
Thank you for your message, but actually going through Home Assistant allows me to turn on my server remotely from my phone.

Thank you for this information.
0
Anonymous user
 
Hello
So is your server accessible outside of your LAN?
Fixed IP? Dynamic DNS? Firewall of your Box?
Cheers
--
If the answer helped you, a little click on the thumbs up is great... Resolved is perfect.

Let him who has never opened a user manual throw the first mouse at me ;-)
0
eclispe
 
The server has a static IP address and is under Dynamic DNS.
0
brupala Posted messages 111108 Registration date   Status Member Last intervention   14 434
 
Hi,
as a principle, regarding the PC booting up, the version of Windows or anything else for that matter is not important, since Windows isn’t operational at that point, just a small standalone software on the network card and a standby mode of the network card in the motherboard (power supply and management).
However, if it doesn’t boot after a shutdown through Windows, it might be that Windows is shutting down more things before turning off than the power button does.

--
and ... There you go!
0
eclispe
 
But what's strange is that the network card is flashing even when the PC is off, so it should be able to accept a startup.
0
jee pee Posted messages 9433 Registration date   Status Moderator Last intervention   9 971
 
Hi, I've already noticed that when you play with the WOL settings of the card in Windows, it seems to transfer to the card itself.

Additionally, you definitely need to check the power settings of the card to ensure it isn't turned off with Windows shutdown.
0
eclispe > jee pee Posted messages 9433 Registration date   Status Moderator Last intervention  
 
So at the Windows shutdown, my network card stays on and I've tried disabling "Wake on Pattern Match" but it doesn't change anything.
0
brupala Posted messages 111108 Registration date   Status Member Last intervention   14 434 > jee pee Posted messages 9433 Registration date   Status Moderator Last intervention  
 
It affects the driver, so it's about a configuration of the network card; depending on the standby activity state of the network card, things can change, that's true, but it's not directly Windows.
0
eclispe1 Posted messages 2 Status Member
 
I found the solution after fiddling with the settings here and there; you need to disable fast startup.

I'm posting the pictures of where to disable it for those who have the same problem as me.

0
jee pee Posted messages 9433 Registration date   Status Moderator Last intervention   9 971
 
It’s certain that this can be interesting since it’s the default startup mode of W10.
0
brupala Posted messages 111108 Registration date   Status Member Last intervention   14 434 > jee pee Posted messages 9433 Registration date   Status Moderator Last intervention  
 
It may not have the same effects on all PCs, though.
In fact, it's quite a vague parameter.
But it's twisted indeed: disabling fast startup to have a WOL startup goes completely against logic, it means we would turn off more things, or that we are removing a record of the current state?
0
jee pee Posted messages 9433 Registration date   Status Moderator Last intervention   9 971 > brupala Posted messages 111108 Registration date   Status Member Last intervention  
 
This thing is a kind of sleep mode, I always delete it, I always prefer to restart the PC from scratch, you have a clean environment.

On my network card under power management, there is an option, Allow this device to wake the computer from sleep mode, and Allow only a magic packet to wake the computer from sleep mode. There must be interactions.
0
avion-f16 Posted messages 19182 Registration date   Status Contributor Last intervention   4 511 > brupala Posted messages 111108 Registration date   Status Member Last intervention  
 
Hi!

Windows isn't the only one interfering with the functioning of WOL. On Linux, I also need to modify the settings on the interface so that WOL still works after Linux shuts down.

For example, with NetworkManager:
sudo nmcli c modify myConnection 802-3-ethernet.wake-on-lan magic


WOL, when enabled at the BIOS/UEFI level, will work after the power supply is turned on, regardless of the OS settings. However, once an OS is loaded, it is possible that this OS disables the functionality at the network card level, rendering the next WOL attempts ineffective.
0
brupala Posted messages 111108 Registration date   Status Member Last intervention   14 434 > avion-f16 Posted messages 19182 Registration date   Status Contributor Last intervention  
 
Hi,
That's pretty much what I thought, yes.
Well, I mention this here because I'm interested, but I've never used any WOL, I find it too clunky:
At my place, it's traditional,
a server is on 24/7 and a workstation is used when needed, restarting a server on demand, yuck, risky and a waste of time.
You can't imagine a NAS on WOL....
Moreover, a machine running 24/7 wears out less than a machine that's turned off and restarted, it's well known and proven.
There are numerous examples of servers forgotten in companies that haven't made noise for years, it probably wouldn't have been the same if they had been restarted every day.
Well,
there's energy consumption, but that is regularly decreasing with the performance of components.
0