[CentOS] Getting Wake on lan to work
Peter Crighton
centos at crighton.me.uk
Fri Oct 22 08:18:25 UTC 2010
On Wed, 20 Oct 2010 14:38:43 -0400, you wrote:
>On 10/20/2010 02:13 PM, centos at crighton.me.uk wrote:
>> On Wed, 20 Oct 2010 14:04:51 -0400, you wrote:
>>
>>
>>
>>> To get mine to work under fedora I had to run ethtool and turn on the
>>> wol option.
>>> Also it seemed to get reset after used wol to start it up so in my
>>> rc.local I put
>>> /sbin/ethtool -s eth1 wol g
>>> /sbin/ethtool -s eth0 wol g
>>>
>> ethtool -s eth0 wol g results in a message "Cannot get current
>> wake-on-lan settings: Operation not supported" even though both the
>> motherboard and NIC do support WOL.
>>
>>
>Hmm...
>
>[root at centostest ~]# ethtool eth0
>Settings for eth0:
<snip>
This is the same output from my system:
[root at backup ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP 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: 24
Transceiver: internal
Auto-negotiation: on
Current message level: 0x00000001 (1)
Link detected: yes
[root at backup ~]# ethtool -s eth0 wol g
Cannot get current wake-on-lan settings: Operation not supported
not setting wol
[root at backup ~]# uname -a
Linux backup 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:51:33 EDT 2010
i686 i686 i386 GNU/Linux
More information about the CentOS
mailing list