linux WAKEUP WAKE ON LAN WOL

Subject:

[root@dlp ~]# 

yum -y install ethtool

[root@dlp ~]# 

ethtool -s eth0 wol g 

 

[root@dlp ~]# 

vi /etc/sysconfig/network-scripts/ifcfg-eth0

# add at the last line

ETHTOOL_OPTS="wol g"

[root@dlp ~]# 

ifconfig eth0 | grep HWaddr | awk '{print $5}' 

00:22:68:5E:34:06

# take a memo

[root@dlp ~]# 

shutdown -h now

 

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

[root@wol ~]# 

yum -y install net-tools

# ether-wake [MAC address of the computer you'd like to turn on]

[root@wol ~]# 

ether-wake 00:22:68:5E:34:06 

# send magick packets

2016-10-04 23:07:05gstlouis