From owner-freebsd-stable@FreeBSD.ORG Wed Dec 15 09:19:05 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7C081065673 for ; Wed, 15 Dec 2010 09:19:05 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from megatron.madpilot.net (megatron.madpilot.net [88.149.173.206]) by mx1.freebsd.org (Postfix) with ESMTP id 2F08E8FC08 for ; Wed, 15 Dec 2010 09:19:05 +0000 (UTC) Received: from megatron.madpilot.net (localhost [127.0.0.1]) by megatron.madpilot.net (Postfix) with ESMTP id DDB6B1DC3 for ; Wed, 15 Dec 2010 10:02:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=mail; t=1292403721; x= 1294218121; bh=XtUjMaZIvxgZa1l/nx7H4GhosL5pO45nvZeuw1tnw94=; b=r UqYjfn7FYngC9OKwr3QFfBlnkSzNHLBoUxTzfvD5T2XzHhQ8zUdym0nMmZ+gU/m6 QezzVyvZ+TZrtj942vLlAm0gHvGMU/Kx5K/wbKQXXpRs6O6tJqB+yQgTNfQ2xWEY yJw4guxxHp43V0en525LbukiBQhtMkPMRoZxFd7Y1I= X-Virus-Scanned: amavisd-new at madpilot.net Received: from megatron.madpilot.net ([127.0.0.1]) by megatron.madpilot.net (megatron.madpilot.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id isJPbjVAHxHZ for ; Wed, 15 Dec 2010 10:02:01 +0100 (CET) Received: by megatron.madpilot.net (Postfix, from userid 1000) id 44BE91DBB; Wed, 15 Dec 2010 10:02:01 +0100 (CET) Date: Wed, 15 Dec 2010 10:02:01 +0100 From: Guido Falsi To: freebsd-stable@freebsd.org Message-ID: <20101215090200.GA547@megatron.madpilot.net> References: <20101215004712.GA56065@icarus.home.lan> <20101215011247.GA56591@icarus.home.lan> <20101215020253.GA57526@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101215020253.GA57526@icarus.home.lan> X-Operating-System: FreeBSD 8.1-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: ntpd fails on boot X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2010 09:19:05 -0000 On Tue, Dec 14, 2010 at 06:02:53PM -0800, Jeremy Chadwick wrote: > > For example: if you have two NICs (LAN and WLAN), both of which are > connected + configured during network configuration time, and both go to > the Internet, then it really doesn't matter which interface you choose > in netwait_if. If you rely more on the WLAN interface (e.g. physical > LAN might not always be connected depending on your environment), then > pick the WLAN interface and be done with it. I have found that for such a configuration (laptop with LAN and WLAN) a very good solution is configuring a lagg interface to failover with the wired interface as primary and the WLAN as backup connection, then the system sees just one network interface and you avoid all the problems multihomed hosts tend to have. In this way one can also flawlessly move around from wired to wireless interface just connecting and disconnecting the wired interface. This may or may not be also a good solution for other setups. I find this script very useful on some servers though. Some machines I have put the network interfaces offline after the kernel probe and they don't come back up for a minute or so. Since I absolutely need the interface up and working for ntpd and other demons such a script is a life saver! Just my 2 cent! ;) -- Guido Falsi