It's still driver-dependent though. If the driver didn't capture the information, it doesn't matter if you look in dmesg, /proc, or /var/log/syslog -- it ain't there :-)
[jack@localhost jack]$ sudo mii-tool Password: eth0: negotiated 100baseTx-FD flow-control, link ok [jack@localhost jack]$ dmesg | grep eth0 divert: allocating divert_blk for eth0 eth0: Intel Corp. 82557/8/9 [Ethernet Pro 100], 00:02:B3:0A:E3:5C, IRQ 18. [jcoates@jubjub jcoates]$ dmesg | grep eth0 eth0: Tigon3 [partno(BCM95701A10) rev 0105 PHY(5701)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:06:5b:3f:1a:9a eth0: Link is up at 100 Mbps, full duplex. eth0: Flow control is off for TX and off for RX. Jack On Wed, 2002-10-09 at 12:54, Benoit Joseph wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > Why don't you try this? > > dmesg|grep eth0 (or the number of the interface) > > Here is the output for my rtl8139: > > ben@mares:~$ dmesg|grep eth0 > eth0: RealTek RTL8139 Fast Ethernet at 0xfa801000, 00:10:a7:08:16:13, > IRQ 10 > eth0: Identified 8139 chip type 'RTL-8139C' > eth0: Setting 100mbps full-duplex based on auto-negotiated partner > ability 45e1. > > Ben > > Le Mercredi 09 Octobre 2002 03:02, vous avez écrit : > > I've asked several times this question before, but nobody gave me a > > good answer so far, let me try here :) > > > > What shall I do to know the actual connection speed (10/100Mb) of a > > network interface? I'm looking for a linux software solution (like > > typing a command, looking at some log, you name it), answers like > > "look at the link light of your network card/switch/etc" are not > > valid :) > > > > BTW, in Solaris is pretty simple to know that, just bring the > > interface up with 'ifconf' and you get the answer. > > > > Toshiro. > > - -- > JOSEPH Benoit > [EMAIL PROTECTED] > [EMAIL PROTECTED] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE9pIlyLPnuiaZn1q4RAiR7AKCBc7IFEXEXbXptVIBP0dc6lMJEwACfekGS > Lr4KFeC69t1oIyE98AMxnx4= > =UeKY > -----END PGP SIGNATURE----- > > ---- > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com -- Jack Coates Monkeynoodle: A Scientific Venture...
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com