From owner-freebsd-questions Mon Jul 5 21:27:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.actrix.gen.nz (mail2.actrix.gen.nz [203.96.16.37]) by hub.freebsd.org (Postfix) with ESMTP id 8BC2A15327 for ; Mon, 5 Jul 1999 21:27:33 -0700 (PDT) (envelope-from dan.langille@dvl-software.com) Received: from actrix.gen.nz (www@lemuria.actrix.gen.nz [203.96.16.20]) by mail.actrix.gen.nz (8.9.1/8.9.1) with SMTP id QAA24675; Tue, 6 Jul 1999 16:27:28 +1200 (NZST) From: "Dan Langille" Reply-To: dan.langille@dvl-software.com To: Burke Gallagher Cc: freebsd-questions@FreeBSD.ORG Date: Tue, 6 Jul 1999 16:27:28 nzst Subject: Re: running frequent cron perl scripts X-Mailer: DMailWeb Web to Mail Gateway 2.1t, http://netwinsite.com/top_mail.htm Message-id: <378185b0.bc9.0@actrix.gen.nz> X-User-Info: 202.37.52.5 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >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 P>l address 00.00.00.00.00.00 mtu 150010.55.152.254255 )er DYNDNS 9th DYNDNS 10th currentIP = 210.55.152.24, lastIP = change detected Tue Jul 6 16:24:33 NZST 1999: Tue Jul 6 16:24:33 NZST 1999: yi.org Domain Update Request Tue Jul 6 16:24:33 NZST 1999: 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: www.yi.org.
Tue Jul 6 16:24:33 NZST 1999: Tue Jul 6 16:24:33 NZST 1999: Your request has been processed successfully. Tue Jul 6 16:24:33 NZST 1999:
  • Domain Name: freebsddiary
  • Tue Jul 6 16:24:33 NZST 1999:
  • IP Address: 210.55.152.24
Tue Jul 6 16:24:33 NZST 1999: Report errors to yi@yi.org
Tue Jul 6 16:24:33 NZST 1999: 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 P>l address 00.00.00.00.00.00 mtu 150010.55.152.254255 )er 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