[realtek] what is current network speed?

Erik Steffl steffl@bigfoot.com
Thu, 08 Mar 2001 00:14:12 -0800


  how do I find out the current speed of the card? here's the best what
I can get:

jojda:/home/erik/skusobna/lne100tx/diag# ./mii-diag/mii-diag 
Using the default interface 'eth0'.
Basic registers of MII PHY #32:  1100 782d 0000 0000 01e1 41e1 0001
0000.
 Basic mode control register 0x1100: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised 41e1: 100baseTx-FD 100baseTx 10baseT-FD
10baseT.

jojda:/home/erik/skusobna/lne100tx/diag# ./rtl8139-diag/rtl8139-diag -a
rtl8139-diag.c:v2.01 1/8/2001 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0x6100.
The RealTek chip appears to be active, so some registers will not be
read.
To see all register values use the '-f' flag.
RealTek chip registers at 0x6100
 0x000: 40ba5000 00001862 80000000 00000000 0008a5ea 0008a03f 0008a03c
0008a03c
 0x020: 00068010 00068610 00068c10 00069210 00060000 0d0a0000 5dbc5dac
0000c07f
 0x040: 78000400 0000940e 3eb2ba95 00000000 006c10c6 00000000 0088c100
00100160
 0x060: 1100f00f 01e1782d 000141e1 00000002 00000004 000307c8 58fab388
ad38d843.
  No interrupt sources are pending.
 The chip configuration is 0x10 0x6c, MII full-duplex mode.
EEPROM size test returned 6, 0x204a4 / 0x2.

  it says full duplex mode but I cannot find speed... I tried to run
rtl8139-diag with -e and -m/-mm but it did not list speed either.

  the card is connected to d-link hub with switch DSH-5 and while it
reports full duplex, the other card that is conected to the same hub is
reporting half duplex only (it used to wok in full duplex mode before,
connected via cable only) - any ideas? [the other computer is currently
running win]

  TIA

	erik