From owner-freebsd-questions Thu Apr 5 21:12:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f129.law6.hotmail.com [216.32.241.129]) by hub.freebsd.org (Postfix) with ESMTP id 0C07637B422 for ; Thu, 5 Apr 2001 21:12:35 -0700 (PDT) (envelope-from hillaa@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 5 Apr 2001 21:12:34 -0700 Received: from 165.228.128.11 by lw6fd.law6.hotmail.msn.com with HTTP; Fri, 06 Apr 2001 04:12:34 GMT X-Originating-IP: [165.228.128.11] From: "Aaron Hill" To: rlucas@solidcomputing.com, freebsd-questions@freebsd.org Subject: Re: FreeBSD limiting bandwith? Date: Fri, 06 Apr 2001 04:12:34 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 06 Apr 2001 04:12:34.0795 (UTC) FILETIME=[CED233B0:01C0BE4F] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >seem to be limiting upload speed or something. When testing with a 5.3 mb >file from websites hosted on each I was getting 80 kb/sec from the win2k >machine which is about right for the line but would only get a max of >50 kb/sec from the BSD machines. > >All 3 machines are using the same type of nic, Realtek 10/100 pci >cards. Is there some type of hidden setting I'm missing that is limiting >the bandwith? Or is it perhaps a driver issue with the card? Any >suggestions or ideas are appreciated. Have you looked at the duplex & speed settings of the Realtek cards under FreeBSD? To do that firstly check out what the settings are by issuing this command: ifconfig rl0 (that's assuming the Realtek card device is rl0) Then you can look at how the card is currently configured, have a look at what modes are supported and change those modes. To change the media modes of the network card: ifconfig rl0 media 10baseT/UTP or ifconfig rl0 media 100baseTX To change the duplex modes of the network card: ifconfig rl0 media 100baseTX mediaopt half-duplex or ifconfig rl0 media 100baseTX mediaopt full-duplex I'm pretty sure you can only do half-duplex in 10Mb/s mode with this card so only worry about duplex in 100Mb/s mode. Of course if you find something that works you can put the appropriate media and mediaopt commands in the ifconfig_rl0 line in /etc/rc.conf to keep the settings across reboots. Let us know how you go. Regards Aaron Hill _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message