From owner-freebsd-net Wed Oct 24 13:27:31 2001 Delivered-To: freebsd-net@freebsd.org Received: from mail.conforama.fr (mail.conforama.fr [195.46.202.42]) by hub.freebsd.org (Postfix) with ESMTP id 52FDB37B403 for ; Wed, 24 Oct 2001 13:27:22 -0700 (PDT) Received: by mail.conforama.fr; id VAA23901; Wed, 24 Oct 2001 21:21:18 +0200 (CEST) Received: from nt-antivirus(192.168.23.111) by mail.conforama.fr via smap (4.0) id xma023806; Wed, 24 Oct 2001 21:20:52 +0200 Received: from s60170 ([172.25.4.17]) by snlogn01.conforama.fr (Lotus Domino Release 5.0.5) with SMTP id 2001102418313362:78 ; Wed, 24 Oct 2001 18:31:33 +0200 Message-ID: <002601c15cb4$064fb440$aa3c0007@home.conforama.fr> Reply-To: "Cyrille Lefevre" From: "Cyrille Lefevre" To: , "John Polstra" References: <200110240705.f9O75Fo49531@gits.dyndns.org> <200110241513.f9OFDq006831@vashon.polstra.com> Subject: Re: PXE boot vs. DHCP Date: Wed, 24 Oct 2001 18:48:01 +0100 Organization: SEEVIA MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-MIMETrack: Itemize by SMTP Server on SNLOGN01/CONFORAMA(Release 5.0.5 |September 22, 2000) at 24/10/2001 18:31:33, Serialize by Router on SNLOGN01/CONFORAMA(Release 5.0.5 |September 22, 2000) at 24/10/2001 22:15:32, Serialize complete at 24/10/2001 22:15:32 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="iso-8859-1" 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 "John Polstra" wrote: > 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. ok, did you ask the dhcp mailing list about that ? since, as a general rule, dhclient should be fixed for all platforms and not only for FreeBSD... Cyrille. -- mailto:clefevre@citeweb.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message