On Thu, May 07, 2009 at 10:11:04AM +0200, Felipe Alfaro Solana wrote: > On Thu, May 7, 2009 at 10:09 AM, Owain Ainsworth <zer...@googlemail.com> > wrote: > > On Thu, May 07, 2009 at 09:57:57AM +0200, Felipe Alfaro Solana wrote: > >> Hi misc, > >> > >> I've been reading dhclient(8) but still it is not clear to me if > >> dhclient(8) is supposed to stay in the background to automatically > >> renew leases. In the manual page it says: > >> > >> B B B -d B B B Forces dhclient to always run as a foreground process. > B By de- > >> B B B B B B B fault, dhclient runs in the foreground until it has > configured > >> B B B B B B B the interface, and then will revert to running in the > back- > >> B B B B B B B ground. > >> > >> So apparently dhclient(8) should be kept in the background waiting for > >> leases to be renewed. However, if I run "ps ax" I can't see anything > >> that looks like dhclient(8) is running in the background at all. How > >> is this supposed to work for DHCP leases for cable/residential users > >> that are not guaranteed to always keep the same IP? > >> > >> Thanks in advance. > > > > o...@stephanie/pj:~$ pgrep -lf dhclient > > 30516 dhclient: iwn0 > > 12511 dhclient: iwn0 [priv] > > 13402 dhclient: em0 > > 27486 dhclient: em0 [priv] > > I already said before that dhclient is _not_ running at all: > > $ pgrep -lf dhclient > $ > > Any more ideas? >
Yes; check your logs.