Date: Wed, 9 Jul 2008 14:43:23 +0000 (UTC) From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: Brooks Davis <brooks@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc network.subr Message-ID: <20080709143845.C57089@maildrop.int.zabbadoz.net> In-Reply-To: <20080707160339.GB57420@lor.one-eyed-alien.net> References: <200804301629.m3UGTFn2076936@repoman.freebsd.org> <20080705155205.W57089@maildrop.int.zabbadoz.net> <20080707160339.GB57420@lor.one-eyed-alien.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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_<foo> 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_<bar>, gif_interfaces, > cloned_interfaces, etc list. If you don't want it configured make sure > there isn't a ifconfig_<foo> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080709143845.C57089>