Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2002 18:52:07 -0500 (CDT)
From:      Jason P Holland <jholland@cs.selu.edu>
To:        freebsd-questions@FreeBSD.ORG
Cc:        "E.J.Cerejo" <ecerejo@zapo.net>
Subject:   Re: Full-Duplex or Half-Duplex
Message-ID:  <Pine.LNX.4.44.0205271842380.30225-100000@cs.selu.edu>
In-Reply-To: <20020527231240.C70175D5B@server1.safepages.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> I'm getting very slow transfer speeds using psftp that came with PuTTy
> between a FBSD box and Win2k laptop and I'm using a crossover cable. I
> can't figure out why!  Both NICs are 100M, the one in the FBSD box is an
> Intel and the one in the laptop is an IBM cardbus.  If I boot into win2k
> on the FBSD box I get lightenning speeds though.  Not too long ago
> someone replied to an email of mine saying that both NICs should be set
> to Full-Duplex, now I was able to set this on my laptop under win2k but
> how do you find out if the FBSD machine is set to Full-Duplex?  If not
> set to this how do you change it to Full-Duplex?
> 

yes, this is likely the cause of your slowdown.  are you showing a lot of
collisions??  netstat -in will show you.  duplex settings for your nic can
been seen using ifconfig.  just look at the media: line for your
particular device.  as for forcing the card to do 100FD, you can set this

# ifconfig xl0 media 100baseTX mediaopt full-duplex

for an xl0 interface.  the man page for the particular driver your using 
should be more help.  after testing and figuring out what works, you can 
add these settings to your rc.conf so they show up next reboot.  hope this 
helps.

jason



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0205271842380.30225-100000>