Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2001 21:35:07 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Mike Smith <msmith@freebsd.org>
Cc:        current@freebsd.org, "Brandon D. Valentine" <bandix@looksharp.net>, Thyer@FreeBSD.ORG, Matthew <Matthew.Thyer@dsto.defence.gov.au>
Subject:   Re: NIS client does perform Ok when my duplex is right (Was: Re:
Message-ID:  <XFMail.011016213507.jhb@FreeBSD.org>
In-Reply-To: <200110170859.f9H8xPr09471@mass.dis.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 17-Oct-01 Mike Smith wrote:
>> Should the below work ?
>> 
>> ifconfig_xl0="DHCP media 100baseTX mediaopt full-duplex"
> 
> I don't think so.  Try using the start_if script stuff to pre-set your 
> media options before DHCP gets hold of the interface; I'm pretty sure 
> that'll work.

Yes, this works great.  I use it on one of my alpha's that doesn't autoneg by
default.  You don't set ifconfig_xl0 to anything, but instead create a
start_if.xl0 file similar to this:

> cat /etc/start_if.dc0 
/sbin/ifconfig dc0 media auto
#/sbin/ifconfig dc0 media 10baseT/UTP
/sbin/dhclient dc0

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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