--- /dev/null
+#!/bin/bash
+
+dir="$(dirname "$0")"
+base="$(basename "$0")"
+tmp="/tmp"
+curl_out="$tmp/$base-$$-out.html"
+
+baseurl="http://checkip.dyndns.org"
+
+curl -s -L "$baseurl" | \
+ tee "$curl_out" | \
+ sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
+
+baseurl="http://192.168.0.1"
+cookie="$tmp/$base-$$.cook"
+
+curl "$baseurl/DprSetup.asp" -v \
+ --compressed --cookie "$cookie" --cookie-jar "$cookie"
+
+curl "$baseurl/goform/login" \
+ -L \
+ --form "login_password=bananklase" \
+ --compressed --cookie "$cookie" --cookie-jar "$cookie" \
+ -v
+