[CentOS] Re: Need help with an odd issue I am experiencing

Tue Sep 9 22:18:33 UTC 2008
John R Pierce <pierce at hogranch.com>

Robert Spangler wrote:
> On Tuesday 09 September 2008 17:00, Scott Silva wrote:
>
>   
>>  Either way, ethtool should show you detected and current link states on
>> the connection ;
>>     
>
> That is not always the case.  I cannot get ethtool to work.
>
> ~ $ /sbin/ethtool eth0
> Settings for eth0:
> No data available
>
> And yes I have eth0 up and running.
>   


were you logged on as root?   ('$' tends to imply you were not)...

# /usr/sbin/ethtool eth0
Settings for eth0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Half 1000baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Current message level: 0x000000ff (255)
        Link detected: yes

$ /usr/sbin/ethtool eth0
Settings for eth0:
Cannot get device settings: Operation not permitted
Cannot get wake-on-lan settings: Operation not permitted
Cannot get message level: Operation not permitted
Cannot get link status: Operation not permitted
No data available