From owner-freebsd-current@FreeBSD.ORG Tue Jan 25 21:38:58 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CEB4016A4CE for ; Tue, 25 Jan 2005 21:38:58 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BBEE43D31 for ; Tue, 25 Jan 2005 21:38:58 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.91] (sam@[66.127.85.91]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j0PLcsWi013513 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 25 Jan 2005 13:38:55 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <41F6BC8E.3000903@errno.com> Date: Tue, 25 Jan 2005 13:39:26 -0800 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0RC1 (X11/20041208) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brooks Davis References: <20050125.101021.41686898.imp@harmony.village.org> <20050125175022.GA8667@odin.ac.hmc.edu> In-Reply-To: <20050125175022.GA8667@odin.ac.hmc.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org cc: Warner Losh cc: phk@phk.freebsd.dk cc: Robert Watson cc: imp@bsdimp.com cc: pete@altadena.net Subject: Re: Devd event from GEOM? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 21:38:58 -0000 Brooks Davis wrote: > On Tue, Jan 25, 2005 at 05:15:47PM +0000, Robert Watson wrote: > >>On Tue, 25 Jan 2005, Warner Losh wrote: >> >> >>>>It depends a bit on where we sit: we probably want a neteventd that knows >>>>about this sort of thing and performs unified network interface >>>>management. In the mean time, I just want dhclient launched, because >>>>dhclient already knows about ssid's, link state, etc. >>> >>>We don't neet yet another daemon around for that. >> >>Ah, but we do, because whatever daemon it is needs to provide unified >>management of routing in the presence of multiple DHCP and link locally >>configured network interfaces. I.e., when I'm switching between wireless >>and wired networks, Useful Things Should Happen, and this can't currently >>be properly managed by today's dhclient. Likewise, I want to always have >>link local addresses configured for every network interface, and not have >>things like dhclient step on them. This requires dhclient to become >>substantially more mature and/or grow a lot, or it requires a new daemon. >>Having many daemons is just asking for them all to step on each other's >>toes, adding and removing addresses and routes in ways that leaves me with >>nothing useful to network with, requiring user intervention. If you've >>ever used a FreeBSD box in this scenario, followed by a Mac OS X box, >>you'll know what I mean. Neither is perfect, but the one with centralized >>configuration management does a much better job :-). > > > FWIW, Sam's got a port of openbsd's dhclient in perforce. It's > apparently significantly less foobar then ours. Unfortunatly, dhclient > isn't enough because we also need wpa_supplication for modern wireless > networks (it also provides basic 802.1x support for wired interfaces in > linux and we'll probably want that too.) I think we'll be able to > simply add a wpa_supplicant_ifs="..." variable to start wpa_supplicant > independent of dhclient, but I'm not 100% sure yet. I auto-start wpa_supplicant from the /etc/start_if.foo script. The only trick is you need to force LD_LIBRARY_PATH to collect libdnet.so from where ports installs it. Sam