From owner-freebsd-questions Wed Sep 22 12:58:37 1999 Delivered-To: freebsd-questions@freebsd.org Received: from broccoli.graphics.cornell.edu (broccoli.graphics.cornell.edu [128.84.247.53]) by hub.freebsd.org (Postfix) with ESMTP id 8640114CC8 for ; Wed, 22 Sep 1999 12:58:16 -0700 (PDT) (envelope-from mkc@Graphics.Cornell.EDU) Received: from graphics.cornell.edu (localhost.graphics.cornell.edu) by broccoli.graphics.cornell.edu with ESMTP (1.37.109.16/16.2) id AA276660293; Wed, 22 Sep 1999 15:58:13 -0400 Message-Id: <199909221958.AA276660293@broccoli.graphics.cornell.edu> X-Mailer: exmh version 2.0zeta 7/24/97 To: mike@sentex.net (Mike Tancsa) Cc: questions@freebsd.org Subject: Re: how to set fxp0 to half-duplex? [was: nfs tuning] In-Reply-To: Your message of "Wed, 22 Sep 1999 02:08:16 GMT." <37e83872.517261482@mail.sentex.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 22 Sep 1999 15:58:12 -0400 From: Mitch Collinsworth Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>I changed the switch port to half-duplex and the frame and CRC errors >>and rpc timeouts all stopped immediately. Then I rebooted the FBSD >>machine in order to get it to pick up the half-duplex setting from >>the switch. I'm not sure if this last step was necessary. Does it >>take a reboot? Is there some way to switch duplex setting on the fly? >>ifconfig mediaopts seems like the obvious place, but fxp(4) only lists >>full-duplex as an option, no half-duplex. > >ifconfig fxp0 media 10BaseT/UTP >ifconfig fxp0 media 10BaseT/UTP mediaopt full-duplex > >No reboot is needed. ackk! It's not auto-sensing! I've been ass_u_ming it was. Why, pray tell, isn't this documented? >I use lots of fxp cards on a couple of Cat 1900s in 10BaseT Full duplex >mode without any errors. Similarly on the 100BaseT ports in full duplex >Here is a sample in 100BaseT full duplex. > > >------------------------------------- >Total good frames 632711776 >Total octets >1834088214 >Broadcast/multicast frames 4108617 >Broadcast/multicast octets 498649470 >Good frames forwarded 632711776 >Frames filtered 0 >Runt frames 0 >No buffer discards 0 > >Errors: > FCS errors 0 > Alignment errors 2 > Giant frames 0 > Address violations 0 > > >------------------------------------- >Total frames 918936189 >Total octets > 943528760 >Broadcast/multicast frames 101871841 > Broadcast/multicast octets>2589699969 > Deferrals 0 > Single collisions 0 > Multiple collisions 0 > Excessive collisions 0 > Queue full discards 0 > Errors: >Late collisions 0 >Excessive deferrals 0 >Jabber errors 0 >Other transmit errors 0 Hey, ethernet counters! How do you get these? -Mitch To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message