Re: Completely O.T. but perhaps interesting Q. George Georgakis wrote:
< my original post snipped >
>
> If I understand you correctly, the following will add a line
> to your username's crontab... <explanation snipped>
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!).
Thanks.
I only have ftp access to the webserver. (I know it's address it's the
address of the lost in space box which gets echoed to the web page) |