Wake on Lan (WoL) for Intel NUC devices

Hi there,

We’re wanting to be able to gracefully shutdown and wake up our BalenaOS Intel NUC devices via ethernet.

We’ve enabled:

  • Wake on Lan in the bios
  • Set 802-3-ethernet.wake-on-lan to magic using nmcli

When we shutdown those devices via shutdown now in the HostOS terminal or via the Balena cloud API, the device still powers off the Network Interface, so we can’t start it via a magic packet.

But if we suspend the device with the command systemctl suspend via the HostOS terminal, we can re-wake it with a magic packet. The only problem here is that the system isn’t shutdown gracefully, it’s just instantly suspended, so we’re not sure if this is safe to then pull the power?

Questions:

  • Is there a shutdown command we can send to the device to keep the Network Interface powered on that also gracefully shutdown the OS?
  • How can we send the systemctl suspend command remotely via either the Cloud API or Supervisor API?

Hi there, can you please check in the BIOS and let us know how exactly you have your secondary power settings configured?

A file has been uploaded using Jellyfish: https://jel.ly.fish/ad812927-5fbd-46b2-9d71-28ee32c71ca9

(as an example)

A file has been uploaded using Jellyfish: https://jel.ly.fish/ad812927-5fbd-46b2-9d71-28ee32c71ca9

I see a login page for that jel.ly.fish link…

Here’s the actual image:

image

1 Like

We’ll get back onto this in the new year - thanks so much for all of your help & an amazing product. We’re deploying ~400 devices in our museum using BalenaOS and it’s wonderful. :slight_smile:

1 Like

Hi @sighmon

Thank you, we are thrilled to hear that you are enjoying balena!

Please let us know if you need any more assistance in the new year.

Best wishes
Alida