Haiyanliang’s Weblog

WOL Configure for MCP6P M2+ with OEL installed

Posted in Uncategorized by haiyanliang on January 23, 2010

1. $ 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 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

2. vi rc.local
ethtool -s eth0 wol g
exit 0

3. # ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]

PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g

Current message level: 0×00000007 (7)
Link detected: yes

4. Shutdown or poweroff

shutdown -h -P now

poweroff

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.