[1] Configuration of the computer you’d like to turn on from remote machine.

#yum -y install ethtool
#ethtool -s eth0 wol g
#vi /etc/sysconfig/network-scripts/ifcfg-eth0

# add at the last line
ETHTOOL_OPTS=”wol g”

# ifconfig eth0 | grep HWaddr | awk ‘{print $5}’
00:22:68:5E:34:06 # take a memo

# shutdown -h now

[2] Operation on the computer at a remore place.

# yum -y install net-tools
# ether-wake [MAC address of the computer you’d like to turn on]
# ether-wake 00:22:68:5E:34:06 # send magick packets

Leave a Reply

Your email address will not be published. Required fields are marked *