From owner-freebsd-net@FreeBSD.ORG Tue Mar 24 16:33:24 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DBC6106588B for ; Tue, 24 Mar 2009 16:33:24 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 16B1E8FC15 for ; Tue, 24 Mar 2009 16:33:23 +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.3/8.14.3) with ESMTP id n2OFvkND006766; Tue, 24 Mar 2009 10:57:46 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.3/8.14.3/Submit) id n2OFvkiP006765; Tue, 24 Mar 2009 10:57:46 -0500 (CDT) (envelope-from brooks) Date: Tue, 24 Mar 2009 10:57:46 -0500 From: Brooks Davis To: David Horn Message-ID: <20090324155746.GC5281@lor.one-eyed-alien.net> References: <25ff90d60903180904ud077fcdy344cda5307a9037e@mail.gmail.com> <200903181626.n2IGQgqt054487@lurza.secnetix.de> <25ff90d60903181033n5d3f0a79w7a8ea504f911ecf@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kVXhAStRUZ/+rrGn" Content-Disposition: inline In-Reply-To: <25ff90d60903181033n5d3f0a79w7a8ea504f911ecf@mail.gmail.com> 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]); Tue, 24 Mar 2009 10:57:46 -0500 (CDT) Cc: freebsd-net@freebsd.org Subject: Re: Dynamic loading of network kernel modules? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2009 16:33:31 -0000 --kVXhAStRUZ/+rrGn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 18, 2009 at 01:33:06PM -0400, David Horn wrote: > On Wed, Mar 18, 2009 at 12:26 PM, Oliver Fromme = wrote: > > David Horn wrote: > > ?> Oliver Fromme wrote: > > ?> > > > ?> > ?network_interfaces=3D"bge0 lo0" > > ?> > > ?> Ah. ?Ok, now I am understanding your scenario. > > ?> > > ?> I thought that using 'network_interfaces' with anything other than > > ?> "AUTO" ?was in the process of being depreciated ? > > > > Well, the manual page says so, but I think that is a > > mistake. ?There are cases where you have to specify the > > list of interfaces explicitly. ?The situation described > > in this thread is one such case. >=20 > Good point. >=20 > > > > My opinion is that it is good to have the ability to let > > things be done automatically, but it is bad to remove the > > ability to do things manually. ?This is UNIX, after all. >=20 > Exactly. Both scenarios should probably be supported, but I guess we > would need to ask brooks for some history on the depreciated warning > for network_interfaces. I think network_interfaces and the autoloading support in ifconfig are a massive mistake that we've been unable to kill. The relativly large amount of code you've written to hack around yet another edge case proves my point. :) If you want to load if_iwn at boot just do: echo 'if_iwn_load=3D"YES"' >> /boot/loader.conf and be done with it. -- Brooks > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > src/etc/network.subr > Revision 1.185: download - view: text, markup, annotated - [selected for = diffs] > Wed Apr 30 16:29:15 2008 UTC (10 months, 2 weeks ago) by brooks > Branches: MAIN > Diff to: previous 1.184: preferred, colored > Changes since revision 1.184: +4 -0 lines >=20 > Emit a warning when the network_interfaces variable is not set to AUTO. >=20 > MFC after: 3 days > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >=20 > --Thanks! >=20 > -_Dave H >=20 > > > > Best regards > > ? Oliver > > > > -- > > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. = M. > > Handelsregister: Registergericht Muenchen, HRA 74606, ?Gesch?ftsfuehrun= g: > > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M?= n- > > chen, HRB 125758, ?Gesch?ftsf?hrer: Maik Bachmann, Olaf Erb, Ralf Gebha= rt > > > > FreeBSD-Dienstleistungen, -Produkte und mehr: ?http://www.secnetix.de/b= sd > > > > "The ITU has offered the IETF formal alignment with its > > corresponding technology, Penguins, but that won't fly." > > ? ? ? ?-- RFC 2549 > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >=20 --kVXhAStRUZ/+rrGn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iD8DBQFJyQL5XY6L6fI4GtQRAvvjAKC+N9ri+JJTGg1mTGjd43F9onEmkACeKghB fpT3DrkuieeiKh0IieFzO2g= =OqAL -----END PGP SIGNATURE----- --kVXhAStRUZ/+rrGn--