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 <[EMAIL PROTECTED]> -- 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to