Hi,
I made a Debian/Ubuntu script for ip-up.d:
/etc/ppp/ip-up.d/dnsupdate
#!/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
# If pppconfig has been removed we are not supposed to do anything.
test -f /usr/sbin/pppconfig || exit 0
# If we don't have a provider we have nothing to do.
test -z "$CALL_FILE" && exit 0
# Strip options.
PROVIDER=`echo "$CALL_FILE" | cut -d' ' -f1`
ACTIVE_PROVIDER=""
HEIP=$PPP_LOCAL
HETUNNELID=
HEUSER=
HEPASS=
HELOG="/tmp/he-net.log"
HESITEURL="https://ipv4.tunnelbroker.net/ipv4_end.php?ipv4b=${HEIP}&pass=${HEPASS}&user_id=${HEUSER}&tunnel_id=${HETUNNELID}"
CURL=/usr/bin/curl
CURLOPT="-k -# -#"
if [ -f /etc/default/dnsupdate ] ; then
. /etc/default/dnsupdate
fi
test -z "$ACTIVE_PROVIDER" && exit 0
test ! "$PROVIDER" = "$ACTIVE_PROVIDER" && exit 0
test -z "$HETUNNELID" && exit 0
test -z "$HEUSER" && exit 0
test -z "$HEPASS" && exit 0
echo "$(date): ${CURL} ${CURLOPT} ${HESITEURL}:" >> ${HELOG}
echo >> ${HELOG}
${CURL} ${CURLOPT} ${HESITEURL} >> ${HELOG}
echo >> ${HELOG}
/etc/default/dnsupdate
ACTIVE_PROVIDER=dsl-provider # your dial-up ppp "provider" (the name you use for "pon" "poff")
HETUNNELID=12345 # put here your numeric tunnel id
HEUSER=md5-user-id-from-main-page # put here your md5-user-id
HEPASS=md5-hash-of-password # put here your md5-hashed password (you can use echo -n "password" | md5 on your console, but you need sleuthkit)
of course you can use "wget" instead of curl ($CURL), but you have to change the command-line options ($CURLOPT) too, so an invalid ssl-cert will be accepted (thank you tunnelbroker.net for having an invalid ssl-cert)