1 |
On Tue, 2 Aug 2005 12:30:46 +0100, Uwe Thiem wrote: |
2 |
|
3 |
> > mii-tool, part of net-tools. |
4 |
> |
5 |
> Thanks. Unfortunately, it doesn't seem to know anything about Gb |
6 |
> ethernet. :-( |
7 |
|
8 |
Use ethtool |
9 |
|
10 |
[root@hactar ~]# ethtool eth0 |
11 |
Settings for eth0: |
12 |
Supported ports: [ TP ] |
13 |
Supported link modes: 10baseT/Half 10baseT/Full |
14 |
100baseT/Half 100baseT/Full |
15 |
1000baseT/Full |
16 |
Supports auto-negotiation: Yes |
17 |
Advertised link modes: 10baseT/Half 10baseT/Full |
18 |
100baseT/Half 100baseT/Full |
19 |
1000baseT/Full |
20 |
Advertised auto-negotiation: Yes |
21 |
Speed: 100Mb/s |
22 |
Duplex: Full |
23 |
Port: Twisted Pair |
24 |
PHYAD: 0 |
25 |
Transceiver: internal |
26 |
Auto-negotiation: on |
27 |
Link detected: yes |
28 |
|
29 |
This correctly identifies that I have a Gb interface, although it's |
30 |
connected to a 100Mb switch. |
31 |
|
32 |
|
33 |
-- |
34 |
Neil Bothwick |
35 |
|
36 |
A computer program does what you tell it to do, not what you want it to |
37 |
do. |