From owner-freebsd-net Wed Oct 24 8:14:39 2001 Delivered-To: freebsd-net@freebsd.org Received: from wall.polstra.com (wall-gw.polstra.com [206.213.73.130]) by hub.freebsd.org (Postfix) with ESMTP id 94DB037B406 for ; Wed, 24 Oct 2001 08:14:34 -0700 (PDT) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id f9OFE7898480; Wed, 24 Oct 2001 08:14:08 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.6/8.11.0) id f9OFDq006831; Wed, 24 Oct 2001 08:13:52 -0700 (PDT) (envelope-from jdp) Date: Wed, 24 Oct 2001 08:13:52 -0700 (PDT) Message-Id: <200110241513.f9OFDq006831@vashon.polstra.com> To: net@freebsd.org From: John Polstra Cc: clefevre@citeweb.net Subject: Re: PXE boot vs. DHCP In-Reply-To: <200110240705.f9O75Fo49531@gits.dyndns.org> References: <200110240705.f9O75Fo49531@gits.dyndns.org> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In article <200110240705.f9O75Fo49531@gits.dyndns.org>, Cyrille Lefevre wrote: > John Polstra wrote: > > > > What is the reason you think it would be better to put the solution > > into dhclient-enter-hooks? > > IMHO, for instance, because this hack is only needed at PXE level > not after, I am right ? Not quite. It's not the "PXE level," it's the normal operating state of the system. The only difference is that it was booted with PXE instead of by some other means. PXE booting is being used more and more at large installations. My change addresses a common situation which is becoming more common all the time. Shouldn't the standard dhclient installation function properly, regardless of how the system was booted? I think it should. Also, I don't feel that my patch is a hack. The entire purpose of dhclient's PREINIT phase is to put the network interface into an enabled state so that IP packets can be sent. If the interface is already up, then it is already in that state. By failing to check the interface first, the current dhclient-script needlessly destroys its configuration and hangs the system. That is a bug, and my patch fixes it. John -- John Polstra John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message