Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2003 12:18:33 -0700 (PDT)
From:      wpaul@FreeBSD.ORG (Bill Paul)
To:        ml.ventu@flashnet.it (Andrea Venturoli)
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: xl0 full duplex
Message-ID:  <20030729191833.A015737B401@hub.freebsd.org>
In-Reply-To: <200307291830.h6TIUYPq003282@soth.ventu> from Andrea Venturoli at "Jul 29, 2003 08:30:33 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> ** Reply to note from "Sreekanth" <sreekanth@redlinenetworks.com> 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."
=============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030729191833.A015737B401>