# ethtool eth0
Settings for eth0:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: external
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Link detected: yes
確認 網卡是否有支援 Supports Wake-on: g/ Wake-on: d
開啟下次 WOL
ethtool -s eth0 wol g
DEVICE=eth0
TYPE=EThernet
ONBOOT=yes
ETHTOOL_OPTS=”wol g”
http://linux-bsd-sharing.blogspot.tw/2012/07/howto-enable-wake-on-lan-on-centos-sl.html