Wake-on-LAN (WoL) is a technology that allows a network professional to remotely power on a computer or to wake it up from sleep mode.
To enable WoL:
ethtool -s <
interface> wol g
To get WoL:
interface> | grep Wake-on Wake-on: g
"g" is the magic packet activity.