Thanks for the reply. Still having a few issues.. ------------------------ kryten:~# ethtool -s eth0 speed 100 duplex full autoneg off
kryten:~# reboot kryten:~# grep eth0 /var/log/dmesg eth0: RealTek RTL8139 at 0xe0800000, 00:e0:4c:e9:5b:db, IRQ 11 eth0: Identified 8139 chip type 'RTL-8100B/8139D' eth0: link up, 10Mbps, half-duplex, lpa 0x0000 kryten:~# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supports auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: MII PHYAD: 32 Transceiver: internal Auto-negotiation: off Supports Wake-on: pumbg Wake-on: d ------------------------ I thought it strange that once rebooted the card was picked up as 10MB HD but ethtool shows 100MB FD? I'm pretty sure the card is running at 100MB as the switch shows the link at 100MB (is only a cheapo switch, does not show about the duplex setting) but I'm curious about the duplex setup. FTP is only transferring at 500KB/s so something is definiately screwy. Also is I use the command "ethtool -s eth0 speed 10 duplex half autoneg off" the 100MB light on the switch does go off. I decided to test my other linux box which is setup with a modular kernal with the identical network card and found it is transfering at 5MB/s.. I'm am now confused... R GS -----Original Message----- From: Micha Feigin [mailto:[EMAIL PROTECTED] Sent: Tuesday, 29 June 2004 6:21 AM To: [EMAIL PROTECTED] Subject: Re: RTL8139 Full Duplex with a non-modular kernel On Tue, Jun 29, 2004 at 12:36:01AM +1000, Gerard Sharpe wrote: > > Hi, I am after some advice for setting a RTL8139 NIC to 100MB full duplex on a non-modular kernel. > > > I can do this with a modular kernel, but am not sure how to go about it on a monolithic kernel. The mii-tool > does not seem to support the rtl8139 driver installed with the 2.4.26 kernel and reports incorrectly that the > card is already at 100baseT-FD. using rtl8139-diag shows the eeprom is set to 10baseT-HD but for the life of > me cannot work out how to set it to 100baseT-FS (have tried rtl8139-diag -w -F 100baseT-FD without success). > > > Any advice will be much appreciated. > There is also ethtool. mii-tool does support the card AFAIK (shows the right state at least for me) but with anything other then ethtool I haven't managed to get the mode to stick (it kept reseting). You also need to set it to autoneg off otherwise the mode is setting by the highest the two sides support (if its on auto and doesn't choose full duplex then maybe you other side doesn't support it). BTW I was told that rtl8139 based cards don't support full duplex in hardware despite claiming so. Don't know if thats true though. > > Thx > > Gerard > > > > +++++++++++++++++++++++++++++++++++++++++++ > This Mail Was Scanned By Mail-seCure System > at the Tel-Aviv University CC. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]