From owner-freebsd-questions@FreeBSD.ORG Mon Sep 18 14:56:44 2006 Return-Path: X-Original-To: FreeBSD-Questions@FreeBSD.org Delivered-To: FreeBSD-Questions@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E14D916A4A7 for ; Mon, 18 Sep 2006 14:56:44 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4985B43D78 for ; Mon, 18 Sep 2006 14:56:44 +0000 (GMT) (envelope-from dkelly@Grumpy.DynDNS.org) Received: (qmail 5108 invoked by uid 0); 18 Sep 2006 14:56:42 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (216.186.148.249) by smtp8.knology.net with SMTP; 18 Sep 2006 14:56:42 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id B6AC22840A; Mon, 18 Sep 2006 09:56:40 -0500 (CDT) Date: Mon, 18 Sep 2006 09:56:40 -0500 From: David Kelly To: FreeBSD-Questions@FreeBSD.org Message-ID: <20060918145640.GD21877@Grumpy.DynDNS.org> References: <450BA57A.7000007@intersonic.se> <44ac4x6zkt.fsf@be-well.ilk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44ac4x6zkt.fsf@be-well.ilk.org> User-Agent: Mutt/1.4.2.2i Cc: Subject: Re: how to add flags to ifconfig at boot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD-Questions@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2006 14:56:45 -0000 On Mon, Sep 18, 2006 at 10:04:18AM -0400, Lowell Gilbert wrote: > Per olof Ljungmark 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@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.