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: > > -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.
o...@stephanie/pj:~$ pgrep -lf dhclient 30516 dhclient: iwn0 12511 dhclient: iwn0 [priv] 13402 dhclient: em0 27486 dhclient: em0 [priv] guess again. It runs as a daemon. (those were started from /etc/netstart). -0- -- It's always darkest just before it gets pitch black.