how to add flags to ifconfig at boot
David Kelly
dkelly at hiwaay.net
Mon Sep 18 07:56:45 PDT 2006
On Mon, Sep 18, 2006 at 10:04:18AM -0400, Lowell Gilbert wrote:
> Per olof Ljungmark <peo at intersonic.se> writes:
>
> > How can I add flags to ifconfig at boot time, i.e. I want it to start
> > with 'ifconfig em0 -tso' ?
>
> Add the flag to the ifconfig_em0 line in rc.conf(5).
Or if one needs to ifconfig earlier in the startup process then put
one's script in /etc/start_if.em0
I don't know what -tso does, but the start_if thing comes in very handy
if one changes the MAC address on a NIC, say, for cable modem use
without "bothering" one's ISP tech support. Also for setting the MAC
address at boot before dhclient starts.
--
David Kelly N4HHE, dkelly at HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.
More information about the freebsd-questions
mailing list