A server that sleeps when nobody streams anything is nice for the power bill. It’s less nice when you’re on the couch and want to watch something. Wake-on-LAN fixes that, and Unraid’s docs show the whole chain.
Start in the BIOS. Enable the setting that might be called Wake on LAN, PME event wake-up or Power on by PCI/PCIe devices, and make sure ErP ready is disabled, because WoL won’t work with it on. The server needs an Ethernet cable; WiFi WoL isn’t supported.
The easy route for sleep itself is the Dynamix S3 Sleep plugin from the Apps tab, configured under Settings > Sleep Settings. For the manual route, find your interface and its MAC address (the ether line) with ifconfig, then enable WoL:
ethtool -s eth0 wol g
That doesn’t survive a reboot. To make it stick, the docs say to add this line to /boot/config/go:
/usr/sbin/ethtool -s eth0 wol g
To wake the server from a Mac, install the tool with Homebrew and send the magic packet to the MAC address you noted:
brew install wakeonlan
wakeonlan MAC_ADDRESS
On Linux it’s the same wakeonlan command, and on Windows the docs use wolcmd.exe.
The caveat comes straight from the docs: not all hardware supports S3 sleep or WoL reliably. Some systems won’t sleep, some won’t wake up properly, so test it a few times before you rely on it from the couch.
Further reading: Unraid docs: Wake-on-LAN (WoL)