From owner-cvs-all@FreeBSD.ORG Wed Jul 9 15:38:36 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C917E1065671; Wed, 9 Jul 2008 15:38:36 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (cl-162.ewr-01.us.sixxs.net [IPv6:2001:4830:1200:a1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4478FC17; Wed, 9 Jul 2008 15:38:36 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.2/8.14.2) with ESMTP id m69Fd4TR084631; Wed, 9 Jul 2008 10:39:04 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.2/8.14.2/Submit) id m69Fd4d0084630; Wed, 9 Jul 2008 10:39:04 -0500 (CDT) (envelope-from brooks) Date: Wed, 9 Jul 2008 10:39:04 -0500 From: Brooks Davis To: "Bjoern A. Zeeb" Message-ID: <20080709153904.GA83313@lor.one-eyed-alien.net> References: <200804301629.m3UGTFn2076936@repoman.freebsd.org> <20080705155205.W57089@maildrop.int.zabbadoz.net> <20080707160339.GB57420@lor.one-eyed-alien.net> <20080709143845.C57089@maildrop.int.zabbadoz.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <20080709143845.C57089@maildrop.int.zabbadoz.net> User-Agent: Mutt/1.5.17 (2007-11-01) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (lor.one-eyed-alien.net [127.0.0.1]); Wed, 09 Jul 2008 10:39:04 -0500 (CDT) Cc: cvs-src@FreeBSD.org, Brooks Davis , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/etc network.subr X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2008 15:38:36 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 09, 2008 at 02:43:23PM +0000, Bjoern A. Zeeb wrote: > On Mon, 7 Jul 2008, Brooks Davis wrote: >=20 > Hi, >=20 >>>> Modified files: >>>> etc network.subr >>>> Log: >>>> Emit a warning when the network_interfaces variable is not set to AUT= O. >>>=20 >>> why do we have this warning and why do we no longer want to support >>> anything but auto? >>=20 >> Because network_interfaces provides no useful functionality and needless >> added complexity. If you want an interface to be configured, set an >> ifconfig_ variable and make sure the interface exists by the time >> rc.d/netif is run (by configuring your kernel or /boot/loader.conf >> correctly) or add it to the appropriate wlans_, gif_interfaces, >> cloned_interfaces, etc list. If you don't want it configured make sure >> there isn't a ifconfig_ variable set. >=20 > Assume you have a wlan interface and a wired one. By default one or > none comes up and you do sh /etc/rc.d/netif {start,stop} iface (,etc.) > to switch between or enabling the second one without having all other > different kinds of problems and things to manually configure. You can > still have both fully configured in rc.conf just not automatically > enabled. > I really like this for wireless when I am travelling for example. Add NOAUTO to both ifconfig_ lines and neither will come up unless you manually bring them up. -- Brooks --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iD8DBQFIdNuXXY6L6fI4GtQRAuPpAKDbKjD+f+rHpUV5i0qKghp1Olo4vQCggz1E c5eLi0N1tz9UZCAK3W2mHPA= =jv14 -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--