Thursday, May 21, 2015

Ubuntu 14.04: Wake On Lan

Your card is supported, now to configure wake-on-lan:
  1. Install ethtool
    sudo apt-get install ethtool
  2. Edit /etc/rc.local to add this line before the exit 0 line:
    ethtool -s eth0 wol g
  3. Find out the MAC address of your network card (replace eth if with your interface name, eth0eth1, ..):
    ifconfig eth | grep "HWaddr" | awk '{print $5}'
  4. Shutdown the machine. You should be able to wake it up using:
    wakeonlan your_mac

No comments:

Post a Comment