[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Curious: -current: ftp server is slow?



On Sun, 15 Apr 2001, Chris Foote wrote:
> On Sun, 15 Apr 2001, tai wrote:
> 
> > > Slowness in one direction is usually caused by packet loss which
> > > occurs from a mismatch in duplex settings on the ethernet card, on
> > > either the sending or receiving machine.
> >
> > 	Checked both.  In fact, did a ifconfig fxp0 media 100baseTX on
> > both.  Same results.  P233 ftp from P75, fast, at 1.5Mb/sec.  P75 ftp from
> > P233, SLOW, at 7.5kb/sec.
> 
> You'd need to use 'mediaopt half-duplex' as per the fxp man-page.

urd# ifconfig fxp0 media 100baseTX mediaopt half-duplex
ifconfig: SIOCSIFMEDIA: Device not configured
urd# ifconfig fxp0 media 100baseTX mediaopt full-duplex
urd#

	What does SIOCSIFMEDIA mean?  Got that on both obsd27 and -current
from last night.

-Tai
-- 
http://philip.greenspun.com/bg/
http://www.vcnet.com/bms/features/serendipities.html
http://www2.hunter.com/~skh/humor/admin-horror.html
http://www.despair.com/demotivators/cluelessness.html