From owner-freebsd-questions Fri Jan 15 12:01:03 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA03773 for freebsd-questions-outgoing; Fri, 15 Jan 1999 12:01:03 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp1.gte.net (smtp1.gte.net [207.115.153.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA03760 for ; Fri, 15 Jan 1999 12:00:59 -0800 (PST) (envelope-from orthoefe@gte.net) Received: from localhost (cracktown.com [208.226.218.140]) by smtp1.gte.net with SMTP id OAA22893; Fri, 15 Jan 1999 14:00:51 -0600 (CST) Date: Fri, 15 Jan 1999 15:04:21 -0500 (EST) From: Joe Orthoefer X-Sender: orthoefe@localhost To: Dan Langille cc: freebsd-questions@FreeBSD.ORG Subject: Re: DHCP - when the IP changes, how do I know? In-Reply-To: <19990115003153.CRCW678125.mta2-rme@wocker> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you are using the ISC-DHCP dhcp client there is a shell sctript that does all the OS dependent interface manipulations; "dhclient-script", normally in the /etc directory. You probably want to modify that script so that it runs something after being called for a reason of "BOUND". On Fri, 15 Jan 1999, 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message