Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2008 10:39:04 -0500
From:      Brooks Davis <brooks@FreeBSD.org>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        cvs-src@FreeBSD.org, Brooks Davis <brooks@FreeBSD.org>, cvs-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: cvs commit: src/etc network.subr
Message-ID:  <20080709153904.GA83313@lor.one-eyed-alien.net>
In-Reply-To: <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> <20080709143845.C57089@maildrop.int.zabbadoz.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--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_<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.
>=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_<foo> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080709153904.GA83313>