From owner-freebsd-current Tue Aug 13 8:47:17 2002 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 8C5BA37B400 for ; Tue, 13 Aug 2002 08:47:14 -0700 (PDT) Received: from mta5.snfc21.pbi.net (mta5.snfc21.pbi.net [206.13.28.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10D6843E42 for ; Tue, 13 Aug 2002 08:47:14 -0700 (PDT) (envelope-from makonnen@pacbell.net) Received: from kokeb.ambesa.net ([64.173.9.2]) by mta5.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0H0S00J8YH6PYQ@mta5.snfc21.pbi.net> for current@FreeBSD.ORG; Tue, 13 Aug 2002 08:47:13 -0700 (PDT) Received: from kokeb.ambesa.net (tanstaafl@localhost [IPv6:::1]) by kokeb.ambesa.net (8.12.5/8.12.5) with ESMTP id g7DG0bxs058545; Tue, 13 Aug 2002 09:00:37 -0700 (PDT envelope-from mtm@kokeb.ambesa.net) Received: (from mtm@localhost) by kokeb.ambesa.net (8.12.5/8.12.5/Submit) id g7DG0aHN058544; Tue, 13 Aug 2002 09:00:36 -0700 (PDT envelope-from mtm) Date: Tue, 13 Aug 2002 09:00:36 -0700 From: Mike Makonnen Subject: Re: rcNG and dhcp In-reply-to: <1029141620.800.14.camel@vbook.express.ru> To: "Vladimir B. Grebenschikov" Cc: current@FreeBSD.ORG Message-id: <20020813090036.090538bf.makonnen@pacbell.net> MIME-version: 1.0 X-Mailer: Sylpheed version 0.7.8 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <1029141620.800.14.camel@vbook.express.ru> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 12 Aug 2002 12:40:20 +0400 "Vladimir B. Grebenschikov" wrote: > > Hi > > There is patch to teach rcNG do not try dhcp on not-connected ethernet. > > simply put > ifconfig_fxp0="dhcp-if-carrier" > into rc.conf > > It will be interested to somebody > > Theoretically there are another solution for problem - add new key to > dhclient - check interface media before broadcasting. Yes, there is a simple solution: adjust the timeout in dhclient.conf. I will quote David Malone from PR conf/38559: <<<< I would have said that it would be a bug not to do DHCP if the interface has been configured for it and might upset people who want to be able to plug the network cable in at a more leasurely pace when they boot their laptops. It also means that dhclient won't be able to use a lease listed in its lease file, even if that lease is valid and the hub/switch/access point you're connected to happens to be temporally down or out of range. I'd suggest that you try reducing the timeouts if the long timeout isn't suitable for your setup. See the timeing options in dhclient.conf man page. >>>> Cheers, Mike. > > -- > Vladimir B. Grebenschikov > vova@sw.ru, SWsoft, Inc. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message