From owner-freebsd-questions Mon Feb 14 19: 3: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by builder.freebsd.org (Postfix) with ESMTP id 9F8553FA6 for ; Mon, 14 Feb 2000 19:03:00 -0800 (PST) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id TAA20727; Mon, 14 Feb 2000 19:03:15 -0800 (PST) Date: Mon, 14 Feb 2000 19:03:15 -0800 (PST) From: Dan Busarow To: BSD-Dubbs@cfl.rr.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Using yi.org and bsdonline.org to update IP In-Reply-To: <20000215023602.AAA18973@mail.cfl.rr.com@cfl.rr.com> 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 On Mon, 14 Feb 2000 BSD-Dubbs@cfl.rr.com wrote: > I am using RoadRunner and to keep from dealing with the hassle of a > rotating IP I decided I would use YI.org and BSDONLINE.org to maintain > a virtual domain of sorts that pointed to my domain. I downloaded the > shell scripts and have them edited for my account...now comes my > question... > > How do I make it so that when dhclient updates my IP lease that it also > runs these scripts...I put them in my / directory and they are names > bsdonline_ipup.sh and yiorg_ipup.sh ... just wondering what the next > step is...thanks.... Don't have a step by step for you but /etc/dhclient-script is just a sh script run by dhclient to do the updates. Look for the places where it does a route add $new_ip_address and have it run your scripts there. I do this to update my rc.firewall rules and it seems to work fine (though my ip address hasn't changed since we installed it). Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message