I have gotten Wake On LAN (WOL) setup and working. However my machine is a Ubuntu machine using full disk LUKS encryption which means when booting it up, it requires a password/passphrase to unlock the machine before it boots into Ubuntu. The WOL systemD service I created will always make sure WOl is enabled for the next time the machine reboots, however if I reboot the machine and fail to unlock the device on the full disk encryption menu and the machine shut down, WOL will not be enabled which means WOL is not going to work to turn on the machine again.

Is there a way to enable WOL on the system full disk LUKs encryption lock screen?

  • @y0din
    link
    18 months ago

    you will not be able to get the WOL to work as long as you require a password to boot. if you need full disk encryption, look into storing the encryption password in TPM, enable secure boot and password protect bios/system setup with a locked boot order.

    as long as your system requires input from you to start, it will always stop at the luks unlock step, unless you find another place to store the keys to allow unlocking without user input.

    it could work if the computer suspended instead of powering off, but then it will fail again in a case of power loss.

    hope this helps a bit, and good luck. seems like a fun project.