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])
# 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
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:443 &/var/log/updatedns.log
echo "Done!"
==========================================================
Thnks for your expertises
Reggie