Date: Tue, 6 Jul 1999 16:27:28 nzst From: "Dan Langille" <dan.langille@dvl-software.com> To: Burke Gallagher <burke@mcs.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: running frequent cron perl scripts Message-ID: <378185b0.bc9.0@actrix.gen.nz>
next in thread | raw e-mail | index | archive | help
>OK I think I have it now. should have seen it from your last post. There >is an error in the first line of the httpRequest >it should read "GET /shell/show/+ip+interfaces HTTP 1.0" the HTTP is >missing and your router only supports 1.0 anyway. WOO HOO! Thanks. See below. I'll remove the debugging stuff and publish it on my website. Thanks for your help! It is greatly appreciated. ## first time through $ perl get_ip.sh DYNDNS DYNDNS start DYNDNS 2nd DYNDNS 3rd GET /shell/show+ip+interfaces HTTP 1.0 Accept: text/*, text/html Authorization: Basic TWFkZUhhcmRCeTpUZWxlY29t DYNDNS 4th DYNDNS 5th DYNDNS 6th DYNDNS 7th DYNDNS 8th DYNDNS loop DYNDNS loop DYNDNS loop DYNDNS loop DYNDNS loop DYNDNS 8.5 HTTP/1.0 200 OK Content-length: 1814 Content-Type: text/html </HTML>P>l address 00.00.00.00.00.00 mtu 150010.55.152.254255 )er</a></td> DYNDNS 9th DYNDNS 10th currentIP = 210.55.152.24, lastIP = change detected Tue Jul 6 16:24:33 NZST 1999: <HTML> Tue Jul 6 16:24:33 NZST 1999: <HEAD><TITLE>yi.org Domain Update Request</TITLE></HEAD> Tue Jul 6 16:24:33 NZST 1999: <BODY>This update will only service IP changes. To reconfigure your Tue Jul 6 16:24:33 NZST 1999: yi.org settings, please use the account editor available at Tue Jul 6 16:24:33 NZST 1999: <A HREF="http://www.yi.org/">www.yi.org</A>.<BR> Tue Jul 6 16:24:33 NZST 1999: <!-- MS3V STATUS:OK HOSTNAME:freebsddiary ACT:1 IP:210.55.152.24 MX:na --> Tue Jul 6 16:24:33 NZST 1999: Your request has been processed successfully. Tue Jul 6 16:24:33 NZST 1999: <UL><LI><B>Domain Name:</B> freebsddiary</LI> Tue Jul 6 16:24:33 NZST 1999: <LI><B>IP Address:</B> 210.55.152.24</LI></UL> Tue Jul 6 16:24:33 NZST 1999: <EM>Report errors to <A HREF="mailto:yi@yi.org">yi@yi.org</A></EM><BR> Tue Jul 6 16:24:33 NZST 1999: </BODY></HTML> Tue Jul 6 16:24:33 NZST 1999: ### next time through $ perl get_ip.sh DYNDNS DYNDNS start DYNDNS 2nd DYNDNS 3rd GET /shell/show+ip+interfaces HTTP 1.0 Accept: text/*, text/html Authorization: Basic TWFkZUhhcmRCeTpUZWxlY29t DYNDNS 4th DYNDNS 5th DYNDNS 6th DYNDNS 7th DYNDNS 8th DYNDNS loop DYNDNS loop DYNDNS loop DYNDNS loop DYNDNS loop DYNDNS 8.5 HTTP/1.0 200 OK Content-length: 1814 Content-Type: text/html </HTML>P>l address 00.00.00.00.00.00 mtu 150010.55.152.254255 )er</a></td> DYNDNS 9th DYNDNS 10th currentIP = 210.55.152.24, lastIP = 210.55.152.24 thanks again! - Dan Langille To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?378185b0.bc9.0>