Date: Tue, 13 Aug 2002 09:00:36 -0700 From: Mike Makonnen <makonnen@pacbell.net> To: "Vladimir B. Grebenschikov" <vova@sw.ru> Cc: current@FreeBSD.ORG Subject: Re: rcNG and dhcp Message-ID: <20020813090036.090538bf.makonnen@pacbell.net> In-Reply-To: <1029141620.800.14.camel@vbook.express.ru> References: <1029141620.800.14.camel@vbook.express.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 12 Aug 2002 12:40:20 +0400 "Vladimir B. Grebenschikov" <vova@sw.ru> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020813090036.090538bf.makonnen>