[CentOS] Re: link speed

Scott Silva ssilva at sgvwater.com
Thu Sep 18 21:37:04 UTC 2008


on 9-18-2008 12:37 PM Craig White spake the following:
> 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...
mii-tool was written before such links existed.

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.centos.org/pipermail/centos/attachments/20080918/aa398259/signature.bin


More information about the CentOS mailing list