To enable Wake-On-Lan functionality:
- Make sure it is enabled in BIOS settings
- Put the following code to
/etc/rc.local
(the NIC will be then properly initialized on the system startup):
ethtool -s eth0 wol g
To enable Wake-On-Lan functionality:
/etc/rc.localethtool -s eth0 wol g