Mostly for my own edification – use “ethtool”, eg:
| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  | 
						    1#   ethtool eth0     Settings for eth0:           Supported ports: [ TP ]           Supported link modes: 10baseT/Half 10baseT/Full                                 100baseT/Half 100baseT/Full                                 1000baseT/Full           Supports auto–negotiation: Yes           Advertised link modes: 10baseT/Half 10baseT/Full                                  100baseT/Half 100baseT/Full                                  1000baseT/Full           Advertised auto–negotiation: Yes           Speed: 100Mb/s           Duplex: Full           Port: Twisted Pair           PHYAD: 1           Transceiver: internal           Auto–negotiation: on           Supports Wake–on: g           Wake–on: g           Link detected: yes  | 
					
You’ll note two important details about this output:
- This NIC is gig capable but is only running at 100mbs.
 - I claim to be running this as root, but any good sysad should be using “sudo” instead!
 
Anyway, simple command, but sometimes you forget them.
Leave a Reply