Enabling wake on LAN on Linux

Published (last updated )

ethtool eth0 | grep Wake-on
ethtool -s eth0 wol g
nmcli con show "Wired connection 1" | grep 802-3-ethernet.wake-on-lan
nmcli c modify "Wired connection 1" 802-3-ethernet.wake-on-lan magic

If you’re using TLP: WOL_DISABLE setting should be set to N in /etc/tlp.conf.