WOL - Shutdown - magic package - wake on lan - sleep

Avatar
  • updated
  • Under review

Hi,

The bOS comes with a function to remotely shut-down, sleep or wake a computer, however it is unclear which methid it uses, as it has ramifications on network or operating system

Method 1 - bOS generates a operating system shutdown command, e.g. shutdown /s /m \\myremotePC /t 5

Method 2 - bOS generates an actual LAN network message and drops it on the network

As the bOS method does not seem to work, have tried multiple things, in order to ring-fence the possible root causes. Can you please confirm which method bOS uses to leverage remote switch-on/sleep of computers pleasE?

Thanks,

Avatar
Paul G

Hi, is there any update on this as there is no documented details. thnks

Avatar
ComfortClick Support
  • Under review

Hello,


make sure the computer information is set correctly in the bOS Configurator (ip and mac).

Also make sure bOS Client application is installed PC as the commands go trough the Client application to power/sleep the device.


Best regards.

Avatar
Jürgen Jürgenson
Quote from ComfortClick Support

Hello,


make sure the computer information is set correctly in the bOS Configurator (ip and mac).

Also make sure bOS Client application is installed PC as the commands go trough the Client application to power/sleep the device.


Best regards.

Hey,

For me the shutdown and sleep functions works, but wake on lan does not work. Mac and ip is correct. 

Avatar
ComfortClick Support

Hello,

great to hear those functions work. For wake on lan function, make sure you also have it enabled in the windows.

We'll also update the documentation regarding this to provide more info on this matter.

https://www.groovypost.com/howto/enable-wake-on-lan-windows-10/

Best rgards.

Avatar
Paul G
Quote from ComfortClick Support

Hello,


make sure the computer information is set correctly in the bOS Configurator (ip and mac).

Also make sure bOS Client application is installed PC as the commands go trough the Client application to power/sleep the device.


Best regards.

Thanks, I am sorry, but that does not make any sense nor maps to the current behaviour

a) The function knows whether the computer is up or down without (power.value) the need to install the bOS client on the other side. This is expected, as this only requires a ping done by the computer object.

b) A server running on Linux or any non-windows OS would not work correctly, or simply any device with a LAN card

c) When the function is executed, Sleep, Shutdown, Wake up, the server recognises the execution and attempts to execute any of those functions, however, there is no trace no details on how it operates

d) Generating a magic package is standard in every mid-level network devices (e.g. switch, router, hub), if I was gonna put a packet sniffer on the server I am sure I'd encounter the actual generation of a command that travels the network but unable to extract the details.

We go back to the original questions, there is only two methods in WOL protocol to switch-off a computer remotely, please confirm what the three functions that come defined by default actually do.

Avatar
Paul G
Quote from ComfortClick Support

Hello,

great to hear those functions work. For wake on lan function, make sure you also have it enabled in the windows.

We'll also update the documentation regarding this to provide more info on this matter.

https://www.groovypost.com/howto/enable-wake-on-lan-windows-10/

Best rgards.

Wrong, does not enough, WOL is usually -almost always- activated and dominated by the boot sector in the bios, so you can do whatever that post states and it will likely (99.95) still not work. You need to go to the boot sector in the bios to actually activate WOLAN, the bios normally has the WOLAN deactivated due to energy consumption regulations, needs to be FIRST activated in the bios, then parameters at LAN network interface handled.

Avatar
Jürgen Jürgenson
Quote from ComfortClick Support

Hello,

great to hear those functions work. For wake on lan function, make sure you also have it enabled in the windows.

We'll also update the documentation regarding this to provide more info on this matter.

https://www.groovypost.com/howto/enable-wake-on-lan-windows-10/

Best rgards.

I activated WOL in Bios and also from network adapter, sleep works but it does not wake it up from bOS after it goes to sleep. 

If is send wake up command from my other PC then it wakes up.

Avatar
Paul G
Quote from Jürgen Jürgenson

I activated WOL in Bios and also from network adapter, sleep works but it does not wake it up from bOS after it goes to sleep. 

If is send wake up command from my other PC then it wakes up.

Thanks, but can you share how you have programmed it in bOS as it does not work on my end. Either screenshot or bos config file would be great. thanks.

Avatar
Jürgen Jürgenson
Quote from Paul G

Thanks, but can you share how you have programmed it in bOS as it does not work on my end. Either screenshot or bos config file would be great. thanks.

Enter the PC's IP, then Mac with colons between them xx:xx:xx:xx:xx and finally select that PC from your user list.

Edit: also make sure the windows client is running on the PC you want to put to sleep 

Avatar
Paul G
Quote from Jürgen Jürgenson

Enter the PC's IP, then Mac with colons between them xx:xx:xx:xx:xx and finally select that PC from your user list.

Edit: also make sure the windows client is running on the PC you want to put to sleep 

Thanks, that part works for, so I assume you have a boolean button that then activates the mode. thanks