sudo ethtool eth0
--
.
Wake-on: d
.
2. change wake-on setting to g (Wake on MagicPacket)
sudo ethtool -s eth0 wol g
3. install etherwake, a tool to send magic Wake-on-LAN packets
sudo apt-get install etherwake
4. create a file which lists mac and hostname/ip pairs
sudo vi /etc/ethers
--
MAC_ADD Hostname
MAC_ADD IP_ADD
5. send wol to your target host
sudo etherwake MAC_ADD
# or hostname you have specifed
沒有留言:
張貼留言