On Monday 28 July 2003 09:51 am, John Sved wrote:
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
Hi Guys, I have a similar network and rtl8139 cards. On a stock 8.2 pro install the switch it is plugged into shows "FD=NO" (via LED) for default, but after 'ethtool -s eth0 autoneg on' the switches FD indicator for that PC turns to "FD=YES" as the info from the cmd line queries indicate. I don't know about performance but I also wondered about the missing FD LED on the switch for my 8.2 PCs. Juast where is the best place to put that ethtool cmd? Thanks ....................... PeterB -- -- Proud to use SuSE Linux, since 5.2 Loving using SuSE Linux 8.2 MyBlog http://vancampen.org/blog/ "Non Sanz Capsicum" "Not Without Cayenne" --