Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 13:41:08 -0700
From:      Walt Pawley <walt@wump.org>
To:        Vizion <vizion@vizion.occoxmail.com>, <freebsd-questions@freebsd.org>
Subject:   Re: DHCP   question
Message-ID:  <a05210245c113be4a597c@[10.0.0.10]>
In-Reply-To: <20060823112010.FWCA15709.dukecmmtao03.coxmail.com@dukecmmtao0 3>
References:  <20060823112010.FWCA15709.dukecmmtao03.coxmail.com@dukecmmtao0 3>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <walt@wump.org>
Wump Research & Company
676 River Bend Road, Roseburg, OR 97470
         541-672-8975



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a05210245c113be4a597c>