Joe Morris (NTM) wrote:
This is saying the hub/switch you are plugging into has the problem with autonegotiation.
Windoze boxes on the same Hub/switch seem to be OK. (100Mb/s full duplex) Now that I have installed the netdiag package, mii-diag says: xxxx1:~ # mii-diag Using the default interface 'eth0'. Basic registers of MII PHY #32: 2100 780d 0000 0000 05e1 0000 0000 0000. Basic mode control register 0x2100: Auto-negotiation disabled, with Speed fixed at 100 mbps, full-duplex. You have link beat, and everything is working OK. Link partner information is not exchanged when in fixed speed mode. End of basic transceiver information. xxxx1:~ # after invoking ethtool -s eth0 autoneg on mii-diag gives: xxxx1:~ # mii-diag Using the default interface 'eth0'. Basic registers of MII PHY #32: 3100 782d 0000 0000 05e1 45e1 0001 0000. The autonegotiated capability is 01e0. The autonegotiated media type is 100baseTx-FD. Basic mode control register 0x3100: Auto-negotiation enabled. You have link beat, and everything is working OK. Your link partner advertised 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT, w/ 802.3X flow control. End of basic transceiver information. xxxx1:~ # With autoneg on file transfer rates are fine.
I'm sorry, I didn't see where the ethtool forced full-duplex.
To be correct, ethtool forces autonegotiation on. Then 100 Mb/s full duplex is set.
It has been my experience that since the speed was slowed based on what you are connecting to, it is probably correct (unless you are connected via cross-over with the other computer off). I know you said it is much faster, but is it reliable?
With autoneg on it is reliable enough for file transfers, LAN printing etc.
You might want to check your collisions when set that fast to be sure it is the autonegotiation of your connection that is not working. HTH
What ever the cause, the fix is to force autonegotiation on. It seems that when module 8139too is loaded the outcome is that autoneg is disabled. The "ethtool eth0 -s autoneg on" command as root gets autonegotiation going. The equivalent mii-diag command is mii-diag -r #restarts the autonegotiation post-install 8139too mii-diag -r did not work in modules.conf mii-diag -r as root worked OK But where should this command be placed to automate it during boot ? -- John