Gentoo Archives: gentoo-user

From: Ricardo Saffi Marques <saffi@××××××××××××××.br>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] port bandwidth discovery
Date: Fri, 11 Sep 2009 18:13:13
Message-Id: 4AAA9335.4050309@las.ic.unicamp.br
In Reply to: [gentoo-user] port bandwidth discovery by James
1 James wrote:
2 > Hello,
3 >
4 > Currently, I manage gentoo system that have a variety of 10 and 100 MB/s
5 > ethernet cards. I use lshw to distinguish the max ethernet port speed:
6 >
7 <snip>
8 >
9 > Is this reliable? What if a 10/100 card is plugged into a 10MB/s hub?
10
11 Have you tried mii-tool?
12
13 quasar ~ # mii-tool -v int0
14 int0: negotiated 1000baseT-FD flow-control, link ok
15 product info: Yukon 88E1011 rev 5
16 basic mode: autonegotiation enabled
17 basic status: autonegotiation complete, link ok
18 capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
19 advertising: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
20 link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
21
22 --
23 Ricardo Saffi Marques
24 http://www.las.ic.unicamp.br/~saffi/
25 ======================================================
26 Laboratory of System Administration and Security - LAS
27 Institute of Computing - IC
28 P.O. Box: 6176
29 University of Campinas - UNICAMP
30 13083-852, Campinas, SP, Brazil
31 ======================================================

Replies

Subject Author
[gentoo-user] Re: port bandwidth discovery James <wireless@×××××××××××.com>