From owner-freebsd-current@FreeBSD.ORG Thu Jun 16 03:20:12 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG 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 915DB16A41C for ; Thu, 16 Jun 2005 03:20:12 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from harmony.village.org (vc4-2-0-66.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 53C6043D48 for ; Thu, 16 Jun 2005 03:20:12 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.3/8.13.3) with ESMTP id j5G3II6f031579; Wed, 15 Jun 2005 21:18:20 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 15 Jun 2005 21:19:29 -0600 (MDT) Message-Id: <20050615.211929.103236830.imp@bsdimp.com> To: current@dino.sk From: "M. Warner Losh" In-Reply-To: <200506151140.56908.current@dino.sk> References: <20050615061009.GA11914@odin.ac.hmc.edu> <20050615.003020.99022728.imp@bsdimp.com> <200506151140.56908.current@dino.sk> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.ORG Subject: Re: HEADSUP: OpenBSD dhclient incoming X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 16 Jun 2005 03:20:12 -0000 In message: <200506151140.56908.current@dino.sk> Milan Obuch writes: : On Wednesday 15 June 2005 08:30, M. Warner Losh wrote: : ... : > : > ifconfig fxp0 1.2.3.4/24 : > : > will kill dhclient every time for me. : > : : Well, I would consider this a feature, not a bug, and a convenient one. It : happens on me from time to time that I have DHCP configured on one interface, : then after move to another place I issue 'ifconfig fxp0 ....' and some time : after network suddenly stops working due to dhclient running and deleting my : manually entered setting. : Where there also 'ifconfig fxp0 DHCP' for consistency... : I know this could be easily done with some scripting, but I could not : resist :) The problem that I have with it is that if I then unplug and plug the cable in (say press-ganging my laptop into service to test static IP addresses) causes dhclient to run again. I'm not sure that's a bug, but it is a behavior change from the old dhclient. It is doing what I told it to do, but much more enthusiastically. I'm not sure what to suggest to fix it, however... Warner