From owner-freebsd-questions Sat Nov 25 13:10:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.prod.itd.earthlink.net [207.217.121.50]) by hub.freebsd.org (Postfix) with ESMTP id 2F22937B65E for ; Sat, 25 Nov 2000 13:10:08 -0800 (PST) Received: from 1Cust99.tnt2.krk1.da.uu.net (1Cust99.tnt2.krk1.da.uu.net [63.23.252.99]) by avocet.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id NAA14374 for ; Sat, 25 Nov 2000 13:10:05 -0800 (PST) Date: Sat, 25 Nov 2000 15:10:01 -0600 (CST) From: David Talkington X-Sender: dtalk@sherman.spotnet.org To: questions@FreeBSD.ORG Subject: Re: web hosting with a dynamic IP address question In-Reply-To: <20001125112916.A372@ilex.kicelo.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Neat idea. I seem to recall that there are services that can do this for you, but it'd be more fun to do it yourself! There are lots of interesting approaches. I currently use both rsync and scp (ssh secure copy) to do background uploads, using public-key authentication. I also use this method to distribute things like proxy configuration scripts. It should be pretty simple to perhaps have your web page link to a PHP script that contains the freshly-uploaded IP, but for this to work, you'd need some way to do an automatic upload without a password (and PHP or some other scripting language). Alternatively, I also use a simple shell script to email me the IP addresses of my remote dialup gateway servers (from ip-up, as Mr. Garcia suggests), so if your linking is done from a server that lacks a method for passwordless uploads, you could maybe use email instead, and do this with a Perl script that greps your mailbox for the IP address. Or hey, better yet, use procmail to catch the message and put it someplace convenient, so your script doesn't have to search your whole mailbox. I'd be happy to send you my rsync and ip-up scripts if they'll be of use to you while you tinker. - -d - -- David Talkington Prairienet / Community Networking Initiative 217-244-1962 dtalk@prairienet.org Manuel Enrique Garcia Cuesta wrote: > David, > >=== David Banning escribia >(Sat, Nov 25, 2000 at 12:37:37AM -0500): > >> >> I would like to call into my computer and access it like a web host >> from somewhere else on the web. My thought is that this should be possible >> if my IP address is known. >> >> Since my dynamic IP address changes on every dialup, >> would it not be possible for my FreeBSD machine to, following connection >> do some inquiry into what my IP address is, then have FreeBSD copy the >> IP address to my external WEB site, where I could have a link/script >> that takes the address and guides me into my home server? > > It should be possible, have you cheked /etc/ppp/ppp.linkup >(for userland ppp ) or /etc/ppp/ip-up (for kernel ppp ) ? Or maybe >you are not using ppp ? > > Manuel Garcia > > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 Comment: Made with pgp4pine 1.75-6 iQEVAwUBOiAqrb1ZYOtSwT+tAQE64gf9HAXQ7uFN7J4PN1Ja6W3UCEWV7dExl8AH 4h6ME3zMdOYolDDY/6S3/Idhv03Ane0P0ouG3Ch9oYGRGHEexynRhvzN5iohBwHK rnsHm2evYeEwe8hBGMOTs3GaQznpwlbjIGanpjo4o/JcF8kVtEtIRElN4KLHgvCk h1/ADXg68eouaMCdKVS347A7NjSjWj+WcmF9sOhlXILMLcGMiBmVN+mIV2geRTq3 iPPTEMJY5dWpwBgGi+usFib4Pgv49witxNEKrk/tXSa6P68+7p04vCpKcjcBsSm9 qHOJSAtNfT1pQlcT+yx4jS0MAt1LXJ+iBXQztEOug6DleJ5itoeJ9A== =abKx -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message