From owner-freebsd-questions Mon Jul 23 11:22:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web13304.mail.yahoo.com (web13304.mail.yahoo.com [216.136.175.40]) by hub.freebsd.org (Postfix) with SMTP id 1D13937B41D for ; Mon, 23 Jul 2001 11:22:05 -0700 (PDT) (envelope-from sumirati@yahoo.de) Message-ID: <20010723182204.32142.qmail@web13304.mail.yahoo.com> Received: from [193.174.9.99] by web13304.mail.yahoo.com via HTTP; Mon, 23 Jul 2001 20:22:04 CEST Date: Mon, 23 Jul 2001 20:22:04 +0200 (CEST) From: =?iso-8859-1?q?m=20p?= Subject: Re: A question about dhclient To: m0th@dcs.shef.ac.uk Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hello, > > I have a question about dhclient in freebsd. > Why after running dhclient, it will go to backgroud? Is it useful? > How can I trigger it to do a dhcp again? > Now I only can kill the old process and then run dhclient again. > Any advice??????? The process had done what it meant to do. It had assigned an IP address. So it reads the config file and is waiting for the lease timeout written in the config file. Which config file? man dhclient.conf There is an nice example how to configure the dhclient. The default for the client is to wait 2 hours before getting a new lease. Perhaps someone can build a -SIGHUP into the dhclient so that it rereads its configuration. have fun marc __________________________________________________________________ Do You Yahoo!? Gesendet von Yahoo! Mail - http://mail.yahoo.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message