====== NetworkManager ======
===== Activer WoL =====
In version 1.0.6 NetworkManager adds Wake-on-LAN controls. One way to enable Wake-on-LAN by magic packet is through nmcli.
First, search for the name of the wired connection:
# nmcli con show
NAME UUID TYPE DEVICE
wired1 612e300a-c047-4adb-91e2-12ea7bfe214e 802-3-ethernet enp0s25
By following, one can view current status of Wake-on-LAN settings:
# nmcli c show "wired1" | grep 802-3-ethernet.wake-on-lan
802-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 magic with ignore.
From version 1.2.0 Wake-on-LAN settings can be changed graphically using nm-connection-editor.
===== Enable WoL in TLP =====
When using TLP for suspend/hibernate, the ''WOL_DISABLE'' setting should be set to N in ''/etc/default/tlp'' to allow resuming the computer with WoL.