Date: Fri, 5 Jan 2001 15:17:56 +0100 (CET) From: ppX <c4@worldclass.jolt.nu> To: Nicole <nicole@unixgirl.com> Cc: Tom Samplonius <tom@sdf.com>, freebsd-net@FreeBSD.ORG Subject: Re: Problem with fxp0 card and slowing/dying transmits Message-ID: <Pine.BSF.4.21.0101051515530.63611-100000@worldclass.jolt.nu> In-Reply-To: <XFMail.010105004915.nicole@unixgirl.com>
next in thread | previous in thread | raw e-mail | index | archive | help
ifconfig fxp0 media 100baseTX mediaopt full-duplex is the correct way to set 100mbps fdx i've had similar problems and they where related to full-duplex/half-duplex settings... On Fri, 5 Jan 2001, Nicole wrote: > > On 05-Jan-01 Tom Samplonius wrote: > > > > On Thu, 4 Jan 2001, Nicole wrote: > > > > ... > >> The problem is that when trying to scp a file or send a large file to it > >> via > >> sendmail, (large = 253952 <a copy of sendmail>) it seems to transmit along > >> happily, then (at least for scp) at abt 1/2 way through, it seems to just > >> start > >> crawling. When I have let it run, it will go forever and will seem to > >> eventually finish but will hang as the transfer speed keeps dropping through > >> the > >> floor. > > ... > > > > Mismatched duplex settings can cause problems like this. When using a > > switch, duplex settings on your server and switch must match. Most > > FreeBSD ethernet card drivers default to autonegotiation, but can be > > changed with an ifconfig option. Auto negotiation may not be trustworthy > > as it requires a good and recent switch, and a good and recent card. You > > should verify that autonegotiation actually picks the right duplex setting > > before trusting it with your hardware. Auto negotation requires that both > > the server and switch are set to auto. "auto negotation" is not the same > > as "auto detect". > > > > And hubs are always half-duplex. > > > > Tom > > Yup.... Set to 100/TX via ifconfig - > > Ifconfig -a shows: > fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 > media: 100baseTX status: active > supported media: autoselect 100baseTX <full-duplex> 100baseTX > 10baseT/UTP <full-duplex> 10baseT/UTP > > The switch is showing: 100Mbps/Half/BP-Off > > > As opposed to another server on the same switch, set to auto. > > ifconfig -a > media: autoselect (100baseTX <full-duplex>) status: active > supported media: autoselect 100baseTX <full-duplex> 100baseTX > 10baseT/UTP <full-duplex> 10baseT/UTP > > The switch shows: 100Mbps/Full/Enabled (IEEE 802.3x) > > > Hmm Even if I force the switch to full duplex it does not seem to change the > server to full duplex when using autonegotiate via ifconfig.. What is the > right syntax to force full neg via ifconfig? > > > Nicole > > > > > nicole@unixgirl.com |\ __ /| (`\ http://www.unixgirl.com/ > webmistress@dangermouse.org | o_o |__ ) ) http://www.dangermouse.org/ > nicole@deviantimages.com // \\ http://www.deviantimages.com/ > > ---------------------------(((---(((---------------------------------------- > > -- Powered by Coka-Cola and FreeBSD -- > -- I don't speak for anybody but myself - that's enough trouble -- > -- Back Up My Hard Drive? I Can't Find The Reverse Switch! -- > > ------------------------------------------------------------------------- > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101051515530.63611-100000>