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?
here is a guide you might be able to get some ideas from on how to set it up
https://blastrock.github.io/fde-tpm-sb.html