>
> I'll look at upgrading, but will wait for 5. Do you know if % will be
> able to run on a WRAP platform?
> I have not tried yet myself. It might need some stripping on the
> modules, but I am pretty confident.
> cheers
> Erich
OK, sounds good, I will wait for 5.x.
I'm still getting no list mail from sourceforge, so am cutting & pasting
here (might break the thread - sorry).
FWIW here is my script, adjusted for LEAF, it might be useful for anyone
who can no longer use dyndns:
The 3 files need to be added to the 'local' list for backup, of course
Log File: /etc/freedns/ppp.log
Cache File: /etc/freedns/ppp.cache
Main Script: /etc/ppp/ip-up.d/freedns-update
#!/bin/sh
# Compare dynamic dns cache with external ip address
# Get external address
PPPADDR=`ip addr sh dev ppp0 | grep inet | sed -e "s/inet//;
s/peer.*$//; s/^ */
# Get dynamic dns address from cache
if test -f /etc/freedns/ppp.cache ;then
DYNADDR=`cat /etc/freedns/ppp.cache`
else
# Need this to stop "!= expects argument" if cache empty (fresh boot)
DYNADDR="0.0.0.0"
fi
if [ $PPPADDR != $DYNADDR ] ; then
# An update is required
wget http://freedns.afraid.org/dynamic/update.php?xxxxxxxxxxxxxxxxx
#
Freedns hashed key
# If a log is wanted
echo `date` "Updated freedns with IP: " $PPPADDR >>
etc/freedns/ppp.log
rm -f /etc/freedns/ppp.cache
echo $PPPADDR > /etc/freedns/ppp.cache
# I used this to test, it sends a mail each update
MAILHDR="Brandmauer - FreeDNS Update"
echo -e 'Updated freedns with IP: '$PPPADDR | mail -s
"$MAILHDR" -h <mail address>
fi
Hope the mail doesn't mangle it too much :=)
cheers,
Bob
--
The Sun is out, the sky is blue, it's time to drive the MR2.
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/