리눅스에서 Wake On Link 를 어떻게 설정할까요?
개인용 리눅스 서버를 만들고 절전 기능을 사용하려 합니다.
Wake On Lan(WOL)은 됩니다.
이것 외에, Wake On Link 라는기능이 있는데, 특정 패킷이 아니더라도 무조건 외부에서 접근해오면 깨어나서 깨어나는 기능인데 이게 안됩니다.
xp 에서는 되고요. 정보보기/절전 항목에서 체크를 해주면 되더군요.
리눅스는 어디서 설정을 해주는지를 못찾겠습니다. 장시간 검색을 해봐도 자료가 안보입니다.
사양은
os : centos 5.2
m/b : asus p5k-e
nic : intel PWLA8391GT 기가빗 랜카드
입니다.
커널 컴파일과 드라이버 컴파일을 살펴봐도 잘 모르겠습니다. 해보신 분 계신지요?
이게 되면, 계속 켜 놓아도 기세 걱정은 안해도 될것 같거든요.
----------------------------------- (추가)
설정할 곳은 찾은것 같습니다.
Supports Wake-on:
wol p|u|m|b|a|g|s|d...
Set Wake-on-LAN options. Not all devices support this. The
argument to this option is a string of characters specifying
which options to enable.
p Wake on phy activity <---- 이것이 phygical activity 를 뜻하는것 같고,
u Wake on unicast messages
m Wake on multicast messages
b Wake on broadcast messages
a Wake on ARP
g Wake on MagicPacket(tm)
s Enable SecureOn(tm) password for MagicPacket(tm)
d Disable (wake on nothing). This option clears all previous
options.
# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: umbg <---- 이 부분에 p 자가 들어 있게 하면 될것 같내요.
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes
# ethtool -s eth0 wol p
라고 치면 먹어야 하는데 p 기능이 없으니까 안되는것 같습니다.
Supports Wake-on: umbg 에 p 자가 나오게 하려면 어떻게 해야 할까요?
댓글 달기