Ubunut 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 eth0 if with your interface name, eth0, eth1, ..):

    ifconfig eth0 | grep "HWaddr" | awk '{print $5}'
    
  4. Shutdown the machine. You should be able to wake it up using:

    wakeonlan your_mac

你可能感兴趣的:(Ubunut wake on lan设置)