From owner-freebsd-questions Fri Jan 15 13:00:25 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA11342 for freebsd-questions-outgoing; Fri, 15 Jan 1999 13:00:25 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from chopin.seattleu.edu (chopin.seattleu.edu [206.81.198.70]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA11323 for ; Fri, 15 Jan 1999 13:00:22 -0800 (PST) (envelope-from hodeleri@seattleu.edu) Received: from seattleu.edu ([172.17.41.90]) by chopin.seattleu.edu (8.8.5/8.8.5) with ESMTP id NAA04166; Fri, 15 Jan 1999 13:00:16 -0800 (PST) Message-ID: <369FAC50.EE28D519@seattleu.edu> Date: Fri, 15 Jan 1999 13:00:00 -0800 From: Eric Hodel X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: junkmale@xtra.co.nz CC: freebsd-questions@FreeBSD.ORG Subject: Re: DHCP - when the IP changes, how do I know? References: <19990115003153.CRCW678125.mta2-rme@wocker> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Langille wrote: > > I'm using DHCP. If the IP changes, I'll want to run various things that > depend upon the IP. Is there something within FreeBSD which will help? > > Or should I be directing this to the DHCP list? > > cheers. > > -- > Dan Langille > The FreeBSD Diary > http://www.FreeBSDDiary.com/freebsd > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message check /var/db/dhclient.leases it will contain all the info you are given by the DHCP server, and any you request, at least for ISC DHCP2. -- Eric Hodel hodeleri@seattleu.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message