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!!!!

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to