From owner-cvs-src@FreeBSD.ORG Wed Jul 9 14:45:07 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED336106566B; Wed, 9 Jul 2008 14:45:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id A41728FC22; Wed, 9 Jul 2008 14:45:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.str.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id ECC7941C795; Wed, 9 Jul 2008 16:45:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([62.111.66.27]) by localhost (amavis.str.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id 5CsSc5AV91mn; Wed, 9 Jul 2008 16:45:05 +0200 (CEST) Received: by mail.cksoft.de (Postfix, from userid 66) id 91A4341C770; Wed, 9 Jul 2008 16:45:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 42F9B44487F; Wed, 9 Jul 2008 14:43:24 +0000 (UTC) Date: Wed, 9 Jul 2008 14:43:23 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Brooks Davis In-Reply-To: <20080707160339.GB57420@lor.one-eyed-alien.net> Message-ID: <20080709143845.C57089@maildrop.int.zabbadoz.net> References: <200804301629.m3UGTFn2076936@repoman.freebsd.org> <20080705155205.W57089@maildrop.int.zabbadoz.net> <20080707160339.GB57420@lor.one-eyed-alien.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc network.subr X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2008 14:45:08 -0000 On Mon, 7 Jul 2008, Brooks Davis wrote: Hi, >>> Modified files: >>> etc network.subr >>> Log: >>> Emit a warning when the network_interfaces variable is not set to AUTO. >> >> why do we have this warning and why do we no longer want to support >> anything but auto? > > 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. 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. -- Bjoern A. Zeeb Stop bit received. Insert coin for new game.