Wake On Lan Help

I have tried searching and found no resolution.

What is the prefered way to turn on WOL? If i install ethtool Umbrel wipes it on reboot. If i force persist then it wipes after update. A wake on lan option in settings would be ideal but i would settle for any solution the sticks.

Thanks.

There isn’t a Wake-on-LAN option in the umbrelOS settings yet. On umbrelOS 1.7.2 or newer, the cleanest workaround is the persistent pre-start hook. Files under /home/umbrel/umbrel/custom-hooks survive normal reboots and OS updates, and the hook reapplies the setting on every boot.

NetworkManager already supports Wake-on-LAN, so you shouldn’t need to reinstall ethtool. Over SSH, run:

sudo install -d -m 755 /home/umbrel/umbrel/custom-hooks
sudo nano /home/umbrel/umbrel/custom-hooks/pre-start

Paste this:

#!/bin/bash

for path in /sys/class/net/*; do
  interface="${path##*/}"

  [ -e "$path/device" ] || continue
  [ "$(nmcli -g GENERAL.TYPE device show "$interface" 2>/dev/null || true)" = "ethernet" ] || continue

  connection="$(nmcli -g GENERAL.CONNECTION device show "$interface" 2>/dev/null || true)"
  [ -n "$connection" ] && [ "$connection" != "--" ] || continue

  nmcli connection modify "$connection" 802-3-ethernet.wake-on-lan magic
  nmcli device reapply "$interface" || true
done

exit 0

Then save it and run:

sudo chmod +x /home/umbrel/umbrel/custom-hooks/pre-start
sudo /home/umbrel/umbrel/custom-hooks/pre-start
sudo reboot

If you already have a pre-start hook, add this block to it rather than replacing the existing file.

Wake-on-LAN also needs to be enabled in the machine’s BIOS/UEFI, usually under a setting such as “Wake on LAN”, “Power on by PCI-E”, or similar. It only works over Ethernet, and the NIC must retain standby power after shutdown. If the Ethernet link lights go completely dark after shutdown, that is usually a firmware or hardware limitation rather than an umbrelOS setting.