-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bugger. Forgot to PGP sign this especially to piss off the trolls.
*************************
Moss Hart <act1@operamail.com> wrote:
> Thanks, but I think I was unclear. And, no doubt, my setup is
> convoluted. (This may be no better!)
>
> The "lost in space" box doesn't actually have an routable address
> It's behind a cable router which is picking up the dynamic ip from
> the isp. Thus the workaround of having it wget the external page.
> That external php page consists solely of a command that echo's the
> ip of the
> requesting box -- which in this case is ACTUALLY the ip of the
> cable modem which is doing NAT). Lost in space box then writes that
> page (which is just the address) to /tmp/address and accesses that
> file for its dynamic update.
>
> Pause for deep breath. ;-)
>
> So if I understood YOU correctly ifconfig on the "lost in space"
> box doesn't get me that address I need. (But the solution looked
> way cool!).
Well, that's a little clearer, and no, my suggestion won't help.
Why not add an extra line to the PHP page that _also_ emails the
IP to your email address as soon as the LIS box hits? You can always
pipe the IP variable to the "mail" command (as per my first
suggestion).
- --
George Georgakis-geeg AT tripleg net au-http://www.tripleg.net.au/
SlackBuild Central -
http://slackpack.tripleg.net.au/
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
iQA/AwUBP/rfiUlp3nJf7PixEQKJxwCeP2iEExSTSbzO6XyJ8DpduBJWFHMA n3kR
maB868sJgUGlKhtpZiHXVXfE
=2l3X
-----END PGP SIGNATURE-----