-
Install
ethtool
sudo apt-get install ethtool -
Edit
/etc/rc.localto add this line before theexit 0line:ethtool -s eth0 wol g -
Find out the MAC address of your network card (replace
eth0if with your interface name,eth0,eth1, ..):ifconfig eth0 | grep "HWaddr" | awk '{print $5}' -
Shutdown the machine. You should be able to wake it up using:
wakeonlan your_mac

本文指导如何使用ethtool安装并编辑rc.local文件,设置网络设备唤醒命令,实现网络设备的远程唤醒。
1028

被折叠的 条评论
为什么被折叠?



