From owner-freebsd-net@FreeBSD.ORG Tue Jul 29 12:18:33 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 618) id A015737B401; Tue, 29 Jul 2003 12:18:33 -0700 (PDT) In-Reply-To: <200307291830.h6TIUYPq003282@soth.ventu> from Andrea Venturoli at "Jul 29, 2003 08:30:33 pm" To: ml.ventu@flashnet.it (Andrea Venturoli) Date: Tue, 29 Jul 2003 12:18:33 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20030729191833.A015737B401@hub.freebsd.org> From: wpaul@FreeBSD.ORG (Bill Paul) cc: freebsd-net@FreeBSD.ORG Subject: Re: xl0 full duplex X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jul 2003 19:18:34 -0000 > ** Reply to note from "Sreekanth" Tue, 29 Jul 2003 09:53:05 -0700 > > > > > Ok, so I tried: > > > > > > ifconfig xl0 mediaopt autoselect > > > > > > but I get: > > > > > > ifconfig: SIOCSIFMEDIA: Device not configured > > >Try > >ifconfig xl0 media auto > > Ditto. I get the same message. > > bye & Thanks > av. *sigh* You can't set a mode that the NIC doesn't support. You have a 10Mbps-only NIC (3c900/3c900B). These NICs do _NOT_ support NWAY autoneg: 10baseT mode is implemented using a non-NWAY transceiver which doesn't do autonegotiation. If you do "ifconfig -m xl0" and 'auto' doesn't show up as one of the supported modes, autoselect won't work. If you want to do full duplex with this NIC, you will need to manually set both ends of the link to do it. You can do this with "ifconfig xl0 media 10baseT/UTP mediaopt full-duplex" on the NIC, but you'll need to manually configure the switch via its management interface to set the port with the xl0 link to full duplex as well. If your switch is not managed and doesn't allow you to manually configure the port settings, then you're out of luck. You'll just have to live with half duplex mode. -Bill -- ============================================================================= -Bill Paul (510) 749-2329 | Senior Engineer, Master of Unix-Fu wpaul@windriver.com | Wind River Systems ============================================================================= "If stupidity were a handicap, you'd have the best parking spot." =============================================================================