I had posted this earlier and am still confused at contrary results by two utilities ifconfig and ethtools. Can any one explain? Sudev Barar [EMAIL PROTECTED]
On Tue, Aug 05, 2003 at 05:53:47PM +0530, Subin Shahul Hameed wrote: > > How will I check whether my network card is operating in 10 Mbps or > 100Mbps in Linux. In reply: > On Wed, 2003-08-06 at 09:07, VaibhaV Sharma wrote: > man ethtool > # ethtool eth0 > should work. > VaibhaV On Wed, 2003-08-06 at 08:35, Dileep M. Kumar wrote: > [EMAIL PROTECTED] fme $ dmesg | grep eth1 > eth1: RealTek RTL8139 Fast Ethernet at 0xc8079000, 00:c1:26:08:2e:a4, > IRQ 5 > eth1: Identified 8139 chip type 'RTL-8139C' > eth1: Setting 100mbps full-duplex based on auto-negotiated partner > ability 45e1. > [EMAIL PROTECTED] fme $ As you can see there were two replies and I tried both. I am baffled by the outputs as below since one says NIC is connected at full duplex 100mbps the other says HalfDuplex 10mbps: OUTPUT 1: # /bin/dmesg | grep eth0 eth0: RealTek RTL8139 Fast Ethernet at 0xf88d4c00, 00:80:48:15:8b:f9, IRQ 11 eth0: Identified 8139 chip type 'RTL-8139C' eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1. OUTPUT 2: ]# /usr/sbin/ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supports auto-negotiation: Yes Advertised link modes: Not reported Advertised auto-negotiation: No Speed: 10Mb/s Duplex: Half Port: MII PHYAD: 0 Transceiver: internal Auto-negotiation: off Supports Wake-on: pumbg Wake-on: d Current message level: 0xffffffff (-1) Link detected: no Why should the two utilities report different?? Any one who can tell which is the correct output? _______________________________________________ ilugd mailing list [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd