• Welcome to Hurricane Electric's IPv6 Tunnel Broker Forums.

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Main Menu

Dynamic IP

Started by aziaja, January 21, 2009, 12:03:52 PM

Previous topic - Next topic

aziaja

...

jucs

You need to alter your script:


#!/bin/bash

NEW_IP=`curl -s "http://whatismyip.com/automation/n09230945.asp"`
HEUSER=556e527c5ef766e74a980XXXXXXXXXXX
HEPASS=XXXX
HETUNNEL=XXXX

HEPASS=`echo -n $HEPASS | md5sum | cut -d ' ' -f 1`
curl -k -s "http://ipv4.tunnelbroker.net/ipv4_end.php?ipv4b=$NEW_IP&pass=$HEPASS&user_id=$HEUSER&tunnel_id=$HETUNNEL"