[CentOS] network running at 10 or 100, how to tell

Wed Jan 4 14:45:46 UTC 2006
Benjamin J. Weiss <benjamin at birdvet.org>

Jim Perrin wrote:

>>Actually, I don't think mii-tool gives that info (at least, it didn't
>>give the current speed when I tried it).  Plus, it's deprecated.
>>ethtool on the otherhand does give that info.
>>
>>    
>>
>
>mii-tool does give the info requested as seen below:
>
>[root at insanity ~]# mii-tool
>eth0: negotiated 100baseTx-FD, link ok
>
>however ethtool gives significantly more. Apparently I'm a bit behind
>the times in my networking scripts. I was unaware that mii-tool was
>considered deprecated. Good to know.
>--
>Jim Perrin
>System Architect - UIT
>Ft Gordon & US Army Signal Center
>_______________________________________________
>CentOS mailing list
>CentOS at centos.org
>http://lists.centos.org/mailman/listinfo/centos
>
>  
>
Weird.  My copy didn't give that:

[root at mis-develop plates]# mii-tool
eth0: negotiated, link ok
eth1: no link

Ben