Check Ethernet card (NIC) supports Wake On LAN:

ethtool eth0 | grep Wake-on

*Make sure that ‘g’ is included as one of the options for ‘Supports Wake-on: ‘ e.g. Supports Wake-on: pumbg
**Substitute eth0 with correct interface

Configure the NIC to wake on MagicPacket:

ethtool -s eth0 wol g

Persist the change by editing /etc/sysconfig/network-scripts/ifcfg-eth0 and appending:

ETHTOOL_OPTS="wol g"

Shutdown and test WOL.

Written by Matt Cooper
Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@linuxtutorial.co.uk.