Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2003 01:57:50 -0800
From:      "Daxbert" <daxbert_news@dweebsoft.com>
To:        "Bikrant Neupane" <bikrant@mos.com.np>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: about ifconfig
Message-ID:  <007b01c2caa1$8bebd870$0a0aa8c0@dweebsoft.com>
References:  <004601c2ca9e$9d920070$9c0aa8c0@bikrant>

next in thread | previous in thread | raw e-mail | index | archive | help
> I would like to know if this command 'ifconfig fxp0 media 100baseTX mediaopt
> full-duplex' remains effective even after reboots.
> And, how can I set full-duplex option for a particular interface while it is
> initializing at boot time ?
> 

No, it won't survive a cold start, 
and I doubt it would survive a reboot. 

In /etc/rc.conf, you should append
" media 100baseTX mediaopt full-duplex" 
to your existing ifconfig_fxp0.

example:

ifconfig_fxp0="inet a.b.c.d netmask w.x.y.z media 100baseTX mediaopt full-duplex"

If this is a DHCP interface, then it might be
best to add the media settings to either 
rc.local, or to /etc/start_if.fxp0

--daxbert

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007b01c2caa1$8bebd870$0a0aa8c0>