Welcome to FreeSoftwareServers Confluence Wiki

Step 1, Enable WOL in BIOS.

Does it NIC Support WOL :

sudo ethtool eth0 | grep Wake-on

        Supports Wake-on: pumbg
        Wake-on: g

g = Compatible with WOL

Enable WOL :

#This enables WOL after each boot for only eth0
# Mine was already enabled, but I added the line anyway, no harm

sudo nano /etc/network/interfaces/

auto eth0
iface eth0 inet static
        up ethtool -s eth0 wol g 

Gather MAC for WOL Test :

 ifconfig eth | grep "HWaddr" | awk '{print $5}'

Test WOL :

sudo apt-get update
sudo apt-get install -y wakeonlan
wakeonlan [MAC] 

  • No labels