From owner-freebsd-current@FreeBSD.ORG Wed Jul 30 00:21:12 2003 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 AE72037B401; Wed, 30 Jul 2003 00:21:12 -0700 (PDT) Received: from happygiraffe.net (happygiraffe.net [81.6.215.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD33743F3F; Wed, 30 Jul 2003 00:21:11 -0700 (PDT) (envelope-from dom@happygiraffe.net) Received: by happygiraffe.net (Postfix, from userid 1001) id 2F3B65C7A; Wed, 30 Jul 2003 08:21:11 +0100 (BST) Date: Wed, 30 Jul 2003 08:21:11 +0100 To: "M. Warner Losh" Message-ID: <20030730072111.GB52968@ppe.happygiraffe.net> References: <20030730013027.D25188@cvs.imp.ch> <20030729.221805.113566203.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030729.221805.113566203.imp@bsdimp.com> User-Agent: Mutt/1.4.1i From: dom@happygiraffe.net (Dominic Mitchell) cc: dhcp-client@isc.org cc: mb@imp.ch cc: rwatson@freebsd.org cc: current@freebsd.org Subject: Re: STEP 2, fixing dhclient behaviour with multiple interfaces 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: Wed, 30 Jul 2003 07:21:13 -0000 On Tue, Jul 29, 2003 at 10:18:05PM -0600, M. Warner Losh wrote: > In message: <20030730013027.D25188@cvs.imp.ch> > Martin Blapp writes: > : Hi Folks, > : > : I had a closer loom at the OMAPI stuff in dhclient. > : > : Just to say, I'm very disappointed. The only objects that exist are: > : "control" and "interface". The later is not inplemented at all. > : It pretends to work, but if you look at the source there are > : stubs only :P. > : > : "control" does only release leases and exit (state 2), I never managed to make > : dhclient sleep (state 3) and wake up (state 2). > : > : It seems that the whole implementation is only a proof of concept > : and not very functional at all, at least for the client side, dhcpd > : may be different. > : > : I'll think about how we can solve this differently. This > : really sucks ! > > That's why I start/kill dhclient from pccard_ether. The trouble with that is when you have one fixed interface and one from a pccard. You want the fixed interface to be running dhcp continuously, and not have it interrupted when the pccard is plugged in. I guess that we could do this by running a per-interface dhclient, but I've not had much success with that in the past. I'd like to talk about how that interacts with laptop suspend behaviour, but given that my laptop still can't resume properly, I'm inclined to leave it for the moment. ;-) -Dom