VMware Cloud Community
jk2008chd
Contributor
Contributor

WOL(work on lan) for ESXI

The machine is NUC 8I3 and the ESXI version installed is 6.7. Known machines perfectly support Wake on LAN,
Problem, after ESXI shuts down, it cannot wake on LAN. However, it wakes up normally after power off.
Similar situation. Win10 has a quick start, if not shut down. The system is not shut down completely, and the network card cannot be called to wake on LAN. . I suspect that the ESXI shutdown mechanism is similar, so how do I set up ESXI to shut down completely so that Wake-on-LAN works normally?

Reply
0 Kudos
6 Replies
DavoudTeimouri
Virtuoso
Virtuoso

I think that there is no difference and it should be worked. But check the device settings.

-------------------------------------------------------------------------------------
Davoud Teimouri - https://www.teimouri.net - Twitter: @davoud_teimouri Facebook: https://www.facebook.com/teimouri.net/
Reply
0 Kudos
vbondzio
VMware Employee
VMware Employee

If your NIC / host supports WoL then the ESXi host should wake up. If your system doesn't boot upon receiving the magic packet then that is up to the HW, not the OS. ESXi doesn't support any sleep states like e.g. Hibernation so when it powers off it is a ACPI power off. Are you saying that if you shutdown the host via the UI / API it doesn't fully shut down? What does the console show when you (try to) shutdown the host?

Reply
0 Kudos
widsy0
Contributor
Contributor

I have the same situation working with ESXi6.7 on NUC10i5FNH.

WOL is not working after the NUC is shutdown from ESX (stop-VMhost). But when I manually start the NUC and then hold the power button until it's off. Then it responses to WOL magic packet and NUC starts up.

It seems ESX doesn't fully shutdown the NUC 

Reply
0 Kudos
vbondzio
VMware Employee
VMware Employee

Does this happen with other OSs too? The OP mentioned Windows behaves the same. ESXi by default does an ACPI power-off. You could enable the equivalent of halting (e.g. /usr/sbin/halt --halt on Linux) but that has to be configured and is not the default (esxcli system settings advanced list -o /Misc/PowerOffEnable). 

You might want to check with Intel and ask about any known issues with ACPI power-off. Or maybe there is a setting in the BIOS that says "halt instead of shutdown" or something similar? 

P.S.
You might remember the halt state from Windows pre-ACPI when it would tell you "It is now safe to turn off your computer"

Reply
0 Kudos
sophware1
Contributor
Contributor

Same issue with Lenovo Tiny computers (M920q and M720q). The OS is involved, as one can see from both the behavior and a search of Windows settings.

PowerOffEnable does not help.

Reply
0 Kudos
vbondzio
VMware Employee
VMware Employee

Changing /Misc/PowerOffEnable from the default of 1 to 0 isn't supposed to help, it was just mentioned so you can check that the default (1) wasn't changed to 0, which would imply "halt".

Do you just have that issue with ESXi? I.e. if you install Linux or Windows and do a shutdown there it works? If that is the case, you should configure serial debug logging and pastebin the output of a shutdown here. If you have the same issue with other operating systems, contact the HW vendor.

Reply
0 Kudos