CentOS 6 WOL

OS/Linux 2011. 12. 9. 13:18



구글링을 통해 찾아낸 링크 : http://www.server-world.info/en/note?os=CentOS_6&p=wakeonlan


Wake on Lan
2011/07/12
Start a computer from a remote machine by Wake on Lan.
[1] Configuration of the computer you'd like to turn on from remote machine.
[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

'OS > Linux' 카테고리의 다른 글

Linux 부팅시 명령어 자동실행.  (0) 2011.12.19
centos ssh 설치 및 설정  (2) 2011.09.27
centos 에 x-window 설치  (1) 2011.09.27
CentOS 6 네트워크 설치.  (0) 2011.09.27
리눅스에 gcc를 설치해 보자.  (0) 2011.09.22
: