From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 21 04:17:13 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0D0A37B401 for ; Mon, 21 Apr 2003 04:17:13 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 6972543FBF for ; Mon, 21 Apr 2003 04:17:12 -0700 (PDT) (envelope-from mdcki@gmx.net) Received: (qmail 16642 invoked by uid 65534); 21 Apr 2003 11:17:10 -0000 Received: from cvpn016.gwdg.de (EHLO gmx.net) (134.76.22.16) by mail.gmx.net (mp005-rz3) with SMTP; 21 Apr 2003 13:17:10 +0200 Message-ID: <3EA3D377.2080500@gmx.net> Date: Mon, 21 Apr 2003 13:18:15 +0200 From: Marcin Dalecki User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4a) Gecko/20030419 X-Accept-Language: en-us, en, pl, ru MIME-Version: 1.0 To: Martin Blapp References: <20030418132152.X6156@cvs.imp.ch> In-Reply-To: <20030418132152.X6156@cvs.imp.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org cc: imp@imp.com Subject: Re: [PATCH] dhclient active interface detection patch X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2003 11:17:13 -0000 Martin Blapp wrote: > Hi all, > > Already promised a few times, now I have done it :) > > Many of you may have a laptop and already had it a few times > happen that the new IP didn't got set automatically. So you > had to kill dhclient and restart it again. > > I've added code to dhclient to exactly fix this issue. Now dhclient > behaves now like the win2000 dhcp-client. > > It polls the interface status of the selected interfaces and > sends only requests if the link is there. It cancels all outstanding > requests if the link goes away. The polling is currently hardcoded > and done all 5 seconds. Of course I can change that later and make a > option. Tested on 5.0-current - works as expected. I would consider this options *vital* and would be glad to see it committed it to CURRENT better sooner then later. Thanks!