Re: External IP Address

2001-09-01 Thread Rino Mardo
instead of doing it that way, which i should say is a novel approach, why not get a domain name registered for your box. check www.dyndns.org there you can register a domain like my-computer.dyndns.org even if you have a dynamic ip address. in short, your users don't have to find out what your cu

Re: Re: External IP Address

2001-09-01 Thread Craig Dickson
Hereward Cooper wrote: > I know that, what i wanted was a system that would read the IP > address, write it to a file, upload the file to a webserver > somewhere, people then read the file, get my ip address and > login. Long-winded, but the only way i though of. Uh, why don't you just set up an

Re: Re: External IP Address

2001-09-01 Thread dman
On Sat, Sep 01, 2001 at 02:50:13PM +, Hereward Cooper wrote: | > /sbin/ifconfig | > will display the IP address of all interfaces | > | > It would be really hard for those people to ssh in and read | > that file | > unless they first knew the IP, in which case they wouldn't | > need the |

Re: Re: External IP Address

2001-09-01 Thread Hereward Cooper
> I'll attach a perl snippet that I used when on modem, > might give you some ideas. Stuff between ¤¤'s need to > be adapted - mainly account specific stuff. To make it > autoexecute on connection - just place it (with a > non-ignorable name) in /etc/ppp/ip-up.d > looks like just what i was wa

Re: Re: External IP Address

2001-09-01 Thread Hereward Cooper
> /sbin/ifconfig > will display the IP address of all interfaces > > It would be really hard for those people to ssh in and read > that file > unless they first knew the IP, in which case they wouldn't > need the > file ... I know that, what i wanted was a system that would read the IP addres

Re: External IP Address

2001-09-01 Thread dman
On Sat, Sep 01, 2001 at 01:40:00PM +, Hereward Cooper wrote: | Hi, | How can I get my machine to automatically update a file with my | current dynamic IP address? Is there a enviroment varriable | which i can read it from, write it to a file, then upload it to | a hidden section of a public web