To enable the WoL feature in the BIOS, different motherboard manufacturers use slightly different language. Look for terminology such as PCI Power up, Allow PCI wake up event or Boot from PCI/PCI-E.
To query whether WoL is enabled on the network adapter, install ethtool, determine the name of the network interface and query it using the command:
# ethtool interface | grep Wake-on
Supports Wake-on: pumbag
Wake-on: d
The Wake-on values define what activity triggers wake up: d (disabled), p (PHY activity), u (unicast activity), m (multicast activity), b (broadcast activity), a (ARP activity), and g (magic packet activity). The value g is required for WoL to work, if not, the following command enables the WoL feature in the driver:
# ethtool -s interface wol g
Under Linux, for example under Ubuntu, it is also possible to provide Wake-on-LAN. At the same time, Ubuntu provides a tool that can be used to test the computer’s compatibility. The software tool is installed using the sudo apt-get install ethtool command via the terminal. Afterwards, it is possible to check the Wake-on-LAN compatibility via the Powershell. The command sudo ethtool eth0 provides information about this.
The result is a listing in which the section supports Wake-on can be found. If the letter g is listed here, it means that the functionality is available. To use Wake-on-LAN, Wake-on-LAN for Linux is enabled as follows:
sudo ethtool -s eth0 wol g