Subject: Re: dhclient and backgrounding
To: Zafer Aydogan <>
From: Manuel Bouyer <>
List: tech-net
Date: 11/15/2006 16:32:27
On Wed, Nov 15, 2006 at 04:07:56PM +0100, Zafer Aydogan wrote:
> hello list,
> does dhclient do no backgrounding ?
> I mean, if I turn on my computer (dhclient=yes) and forget to turn on
> my switch, which is connected to my router, who has a dhcp server, I
> do not get a lease when I turn it back on afterwards.
> I thought, that dhclient would sit and wait until it notices the dhcp
> server is back up and then requests a lease so that I can get an IP
> Adresss, but nothing happens.
> The dhclient process is still alive and the only way I know to
> workaround this is to pkill dhclient and restart dhclient.
> Am I missing something ?

From what I remember dhclient finally gets an IP, but you have to wait several
minutes (10 to 15 maybe). But this was several releases ago ...

Manuel Bouyer, LIP6, Universite Paris VI. 
     NetBSD: 26 ans d'experience feront toujours la difference