Hurricane Electric's IPv6 Tunnel Broker Forums

Advanced search  

News:

Welcome to Hurricane Electric's Tunnelbroker.net forums!

Author Topic: Dynamic IP  (Read 5389 times)

aziaja

  • Newbie
  • *
  • Posts: 4
Dynamic IP
« on: January 21, 2009, 12:03:52 PM »

...
« Last Edit: April 06, 2009, 04:29:21 AM by aziaja »
Logged

jucs

  • Newbie
  • *
  • Posts: 10
Re: Dynamic IP
« Reply #1 on: March 17, 2009, 12:17:03 PM »

You need to alter your script:

Code: [Select]
#!/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"
Logged