From owner-freebsd-mobile@FreeBSD.ORG Fri Feb 3 19:44:03 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2564A16A420 for ; Fri, 3 Feb 2006 19:44:03 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from mail19.syd.optusnet.com.au (mail19.syd.optusnet.com.au [211.29.132.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E28243D46 for ; Fri, 3 Feb 2006 19:44:01 +0000 (GMT) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-19-236.belrs4.nsw.optusnet.com.au [220.239.19.236]) by mail19.syd.optusnet.com.au (8.12.11/8.12.11) with ESMTP id k13Ji0U6014174 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sat, 4 Feb 2006 06:44:00 +1100 Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.4/8.13.4) with ESMTP id k13JhxRN003312; Sat, 4 Feb 2006 06:44:00 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.4/8.13.4/Submit) id k13JhxDI003311; Sat, 4 Feb 2006 06:43:59 +1100 (EST) (envelope-from peter) Date: Sat, 4 Feb 2006 06:43:59 +1100 From: Peter Jeremy To: Phillip Neumann Message-ID: <20060203194359.GB1030@turion.vk2pj.dyndns.org> References: <52993.24.90.33.115.1138913403.squirrel@mail.el.net> <59391.24.90.33.115.1138965018.squirrel@mail.el.net> <1138964037.839.8.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1138964037.839.8.camel@localhost> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-mobile@freebsd.org Subject: Re: dhclient in 6.0 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 19:44:03 -0000 On Fri, 2006-Feb-03 10:53:57 +0000, Phillip Neumann wrote: >Ill use this same topic to ask this.. :-) It would be preferable to start a new thread to make it easier to follow both. >bfe0: no link .............. giving up >why is it trying to obtain a ip adress on a inteface wich has no link? >it should quit inmediatly... Because the link may not come up immediately. I've noticed that it can take a few seconds to detect a link on a wired interface and I suspect it can be longer on wireless. If you feel up to patching the code, you could try making the timeout in sbin/dhclient/dhclient.c configurable, rather than fixed at 10 seconds. I can't explain why it tries twice. -- Peter Jeremy