NetworkManagerNetworkManager provides
Wake-on-LAN ethernet support
. One way to enable Wake-on-LAN by magic packet is through
nmcli.First, search for the name of the wired connection:# nmcli con showNAME UUID TYPE DEVICE
wired1 612e300a-c047-4adb-91e2-12ea7bfe214e 802-3-ethernet enp0s25By following, one can view current status of Wake-on-LAN settings:# nmcli c show "wired1" | grep 802-3-ethernet.wake-on-lan802-3-ethernet.wake-on-lan: default
802-3-ethernet.wake-on-lan-password: --Enable Wake-on-LAN by magic packet on that connection:# nmcli c modify "wired1" 802-3-ethernet.wake-on-lan magic
Then reboot, possibly two times. To disable Wake-on-LAN, substitute
with
.