From owner-freebsd-current Tue Aug 13 22:21:35 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 1D71437B400 for ; Tue, 13 Aug 2002 22:21:32 -0700 (PDT) Received: from mta6.snfc21.pbi.net (mta6.snfc21.pbi.net [206.13.28.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id B60CE43E3B for ; Tue, 13 Aug 2002 22:21:31 -0700 (PDT) (envelope-from makonnen@pacbell.net) Received: from kokeb.ambesa.net ([64.173.9.2]) by mta6.snfc21.pbi.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with ESMTP id <0H0T003EPIVVXP@mta6.snfc21.pbi.net> for current@FreeBSD.ORG; Tue, 13 Aug 2002 22:21:31 -0700 (PDT) Received: from kokeb.ambesa.net (tanstaafl@localhost [IPv6:::1]) by kokeb.ambesa.net (8.12.5/8.12.5) with ESMTP id g7E5Yqxs072688; Tue, 13 Aug 2002 22:34:52 -0700 (PDT envelope-from mtm@kokeb.ambesa.net) Received: (from mtm@localhost) by kokeb.ambesa.net (8.12.5/8.12.5/Submit) id g7E5YpAb072687; Tue, 13 Aug 2002 22:34:51 -0700 (PDT envelope-from mtm) Date: Tue, 13 Aug 2002 22:34:51 -0700 From: Mike Makonnen Subject: Re: rcNG and dhcp In-reply-to: <1029256599.741.18.camel@vbook.express.ru> To: "Vladimir B. Grebenschikov" Cc: current@FreeBSD.ORG Message-id: <20020813223451.0e39200b.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> <20020813090036.090538bf.makonnen@pacbell.net> <1029256599.741.18.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 Tue, 13 Aug 2002 20:36:39 +0400 "Vladimir B. Grebenschikov" wrote: > > > Yes, there is a simple solution: adjust the timeout in dhclient.conf. > > It is not solution - it is workaround > - I do not wand any dhcp activity if I have no media (say in car) > And dhclient in case of failure of detecting network address will > install lask seen one, with last seen default gateway and I will get > very long timeout while any of my apps will try to reach network > instead of instant 'no route to host' > Then, bring the interface down manually (it's even easier now that you can insert your own script in the rc boot process). I am not being flippant. Your suggestion, while it solves your problem, would create a problem for others (re-read the quote). Cheers, Mike Makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message