You have two minor problems and one major one.

First the minor problems: it looks like you have lines wrapped in the copy
of the actual script that executes, so that, for example, the line

># Note: This was tested with openssl 0.9.5a, but should work with other
>versions.

actually appears as two lines. Since the line "versions." is not a comment
line, the script tries to execute an app with that name, doesn't find one,
and tells you so. That's your first error message.

The same thing *may* be happening with the third part of the long line

>echo "GET /dynamic/dns/update.asp?u=$1&p=$2&cmd=update&set=1&offline=0" |
>openssl s_client -quiet -connect www.changeip.com <http://www.changeip.com>
>:443 &/var/log/updatedns.log

causing your last error message. This is less clear, though; you might want
to check where the actual line breaks are in the copy of the script that
executes.

The bigger problem is that I don't *think* openssl has itself been ported to
LEAF. (If I'm mistaken, would someone please correct me.) I don't have a
running ES2B router at hand to check, but openssl and the libraries it
depends on (libcrypto and libssl) are probably not available off the shelf
for any LEAF version. 

So you might do better to run the openssl session from a workstation or
server located behind your LEAF router, not from the router itself, if doing
so is consistent with your requirements.

At 04:27 AM 10/28/01 +0100, Reginald R. Richardson wrote:
>Hello Fellow Leaf Users..
>
>I have a cable modem install using PPPOE, obtaining a Dynamic IP from the
>provider,
>
>I have registered a host name by CHANGE IP so that I can be able to connect
>to services behind my network...
>
>In order for my Dynamic ip to be seen, I have to have a Browser session open
>to keep it active,
>
>So nice gentleman wrote a OPENSSL script so that it can be added to the
>Linux Start up file, and open the Dynamic session,
>Below is copy of this script,
>Can someone be so kind as to give me some pointers as to what I need to do
>to get this script running in LRP,
>I'm using EigersternBeta2 v0.4 PPPOE version.
>
>I executed the script but got the followiing error messages:
>
>versions.: not found
>Updating Dynamic DNS @ ChangeIP.com...
>openssl: not found
>/bin/updatedns: /var/log/updatedns.log: not found
>Done!
>
>
>This is the script:
>====================================================================
>Unix Dynamic DNS Update Script written by Bob Lee (December 18th, 2000)
>
>This script provided by Bob Lee. Thanks for the additions! This script falls
>under the GNU - General Public License.
>
>I had trouble getting lynx-ssl working on my router, so I threw together a
>simple shell script that only depends on openssl, as opposed to Perl 5 and
>Lynx w/ SSL.
>
>Instructions:
>1) Cut the script from below and paste it into a file called
>"/sbin/updatedns".
>2) Type "chmod 700 /bin/updatedns".
>3) Add "updatedns <username<password>" to your dial-up script. (Note: make
>sure it's in a secure place so that no one gets your info.)
>4) That's it!
>
>Script:
>#!/bin/sh
>
># updatedns - ChangeIP.com Auto Client Script
># By Bob Lee ([EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> )
># Usage: updatedns <username<password>
># Note: This was tested with openssl 0.9.5a, but should work with other
>versions.
># All output is redirected to "/var/log/updatedns.log".
># License: http://www.gnu.org/copyleft/gpl.html
><http://www.gnu.org/copyleft/gpl.html> 
>
>echo "Updating Dynamic DNS @ ChangeIP.com..."
>echo "GET /dynamic/dns/update.asp?u=$1&p=$2&cmd=update&set=1&offline=0" |
>openssl s_client -quiet -connect www.changeip.com <http://www.changeip.com>
>:443 &/var/log/updatedns.log
>echo "Done!"
>==========================================================
>
>Thnks for your expertises
>
>Reggie
[html repeat deleted]


--
------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to