On Wed, Aug 06, 2003 at 02:48:38PM +0530, Sudev Barar wrote:

> As you can see there were two replies and I tried both. I am baffled by the output 
> as below:
> 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.

Go and trace your logs line by line, search where this line occurs and
check what the next line(s) say. Typically, the driver initialises the 
card and then negotiates the speed according to the hub/switch its 
connected to unless you force the card to a particular speed or the card 
is not capable of figuring it out itself.


> 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

There you go. This is what the actual state of your ethernet card is
right now. Your network card seems to support 100Mbps but is connected
to a 10Mbps network.

> Why should the two utilities report different?? Any one who can tell which is the 
> correct output?

Why dont you try transferring a couple of files across your machines to
get a better idea of the throughput. Use something like iptraf to check
the realtime stats.

VaibhaV
-- 
--                  --
    VaibhaV Sharma    
  http://vsharma.net
--                  --


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to