On Thursday 07 May 2009 11:57:57 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: > > -d Forces dhclient to always run as a foreground process. > By de- fault, dhclient runs in the foreground until it has configured > the interface, and then will revert to running in the back- 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.
Check your /var/log/daemon for messages from dhclient. If interface is disabled on dhclient start and dhclient can't enable it, then it'll put its hands off. -- Best wishes, Vadim Zhukov A: Because it messes up the way people read text. Q: Why is a top-posting such a bad thing?