From owner-freebsd-questions@FreeBSD.ORG Thu Aug 24 20:41:21 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0C85816A4DA for ; Thu, 24 Aug 2006 20:41:21 +0000 (UTC) (envelope-from walt@wump.org) Received: from mxsf05.cluster1.charter.net (mxsf05.cluster1.charter.net [209.225.28.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C60D43D46 for ; Thu, 24 Aug 2006 20:41:19 +0000 (GMT) (envelope-from walt@wump.org) Received: from mxip11a.cluster1.charter.net (mxip11a.cluster1.charter.net [209.225.28.141]) by mxsf05.cluster1.charter.net (8.12.11.20060308/8.12.11) with ESMTP id k7OKfIYR032749 for ; Thu, 24 Aug 2006 16:41:18 -0400 Received: from 68-116-98-9.dhcp.rsbg.or.charter.com (HELO [10.0.0.10]) ([68.116.98.9]) by mxip11a.cluster1.charter.net with ESMTP; 24 Aug 2006 16:41:18 -0400 X-IronPort-AV: i="4.08,165,1154923200"; d="scan'208"; a="769288474:sNHT18571934" Mime-Version: 1.0 X-Sender: wump@sorcom.com@mail.mcsi.net Message-Id: In-Reply-To: <20060823112010.FWCA15709.dukecmmtao03.coxmail.com@dukecmmtao0 3> References: <20060823112010.FWCA15709.dukecmmtao03.coxmail.com@dukecmmtao0 3> Date: Thu, 24 Aug 2006 13:41:08 -0700 To: Vizion , From: Walt Pawley Content-Type: text/plain; charset="us-ascii" Cc: Subject: Re: DHCP question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Aug 2006 20:41:21 -0000 At 4:20 AM -0700 8/23/06, Vizion wrote: >My home network is connected by my Linksys Broadband Router >model RT31P2 to an upstream Cable company supplied Motorola >SB5100 cable modem. > >A single IP address is allocated via DHCP to the Linksys to >which my private network is attached. The IP address is rarely >changed. > >I need to monitor and record that IP address and initiate a >series of processes if/when the IP address changes. > >Suggestions please... and thanks in advance for any replies David, You could schedule a script that uses 'curl' or 'fetch' to acquire the status page from the router and parse the upstream IP address from it and compare it with a saved address. -- Walter M. Pawley Wump Research & Company 676 River Bend Road, Roseburg, OR 97470 541-672-8975