RE: [CentOS] link speed

2008-09-18 Thread Craig White
On Thu, 2008-09-18 at 15:05 -0400, John Kordash wrote:
> > Craig White írta:
> > > Is there a command line way to tell me whether a ethernet
> > connection is
> > > 100 BaseT or Gigabit Ethernet?
> >
> > mii-tool
> 
> 
> My experience with mii-tool on CentOS4 and 5 is that it won't show link speed 
> above 100 even if it is.  If the OP is trying to differentiate 100 vs. 1000, 
> then I would suggest using ethtool instead.

yup...mii-tool didn't report what I wanted...

# mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok
eth1: negotiated 100baseTx-FD flow-control, link ok

but ethtool did...
# ethtool eth0
Settings for eth0:
Supported ports: [ MII ]
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: 0x00ff (255)
Link detected: yes
[EMAIL PROTECTED] kbenedetto]# ethtool eth1
Settings for eth1:
Supported ports: [ MII ]
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: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Current message level: 0x00ff (255)
Link detected: yes

Thanks

Craig

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] link speed

2008-09-18 Thread John Kordash
> Craig White írta:
> > Is there a command line way to tell me whether a ethernet
> connection is
> > 100 BaseT or Gigabit Ethernet?
>
> mii-tool


My experience with mii-tool on CentOS4 and 5 is that it won't show link speed 
above 100 even if it is.  If the OP is trying to differentiate 100 vs. 1000, 
then I would suggest using ethtool instead.

-John
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] link speed

2008-09-18 Thread Pintér Tibor



Craig White írta:

Is there a command line way to tell me whether a ethernet connection is
100 BaseT or Gigabit Ethernet?


mii-tool

t
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] link speed

2008-09-18 Thread Stephen Harris
> Is there a command line way to tell me whether a ethernet connection is
> 100 BaseT or Gigabit Ethernet?

mii-diag
mii-tool
ethtool

-- 

rgds
Stephen
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] link speed

2008-09-18 Thread Bob Beers
On Thu, Sep 18, 2008 at 2:28 PM, Craig White <[EMAIL PROTECTED]> wrote:
> Is there a command line way to tell me whether a ethernet connection is
> 100 BaseT or Gigabit Ethernet?

ethtool?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] link speed

2008-09-18 Thread Craig White
Is there a command line way to tell me whether a ethernet connection is
100 BaseT or Gigabit Ethernet?

Craig

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos