Jan-Lukas Else

Software Developer & Blogger

Wake-On-LAN on Linux

Here’s how to enable Wake-On-LAN on a Linux system with systemd:

  1. Find out interface and MAC address:
> ip a
  1. Check if Wake-On-LAN is already enabled (d is disabled, g required):
> sudo ethtool <interface>
Wake-on: d
  1. Create a new file /etc/systemd/network/50-wired.link for systemd-networkd:
MACAddress=<MAC address>

NamePolicy=kernel database onboard slot path

Sources: 1, 2

Jan-Lukas Else