Make Ubuntu System Bootable Using Wake On LAN

Install the package ethtool:

sudo aptitude install ethtool

Add the ethtool command to your nic using its configuration in /etc/network/interfaces (last line):

iface eth0 inet static
    address 192.168.100.90
    netmask 255.255.255.0
    gateway 192.168.100.1
    pre-down /usr/sbin/ethtool -s eth0 wol g

And replace this line in /etc/init.d/halt:

NETDOWN=yes

with

NETDOWN=no

resources

Comments