Thread: Dyndns & SSH
View Single Post
Posts: 27 | Thanked: 21 times | Joined on Jan 2010
#20
Originally Posted by DaSilva View Post
Which script have you used for this? Crocodiles version only with grps0 support or my version for grps0 and wlan0 support?
None of the above I actually wrote the script about a month ago when I got the phone - just threw it in a debian package (mostly because I wanted to figure out how to do that).

What I am currently doing is using ipcheck.py's built-in feature where it can query the external IP address.

It goes something like:

./ipcheck.py -l -r checkip.dyndns.org:8245 $DYNDNS_USER $DYNDNS_PASSWORD $DYNDNS_HOSTNAME

Anyway - the package should only install 3 files really:

/etc/ipcheckrc
/etc/network/if-up.d/ipcheck
/opt/ipcheck/ipcheck.py

/etc/ipcheckrc is empty by default and if a /home/user/.ipcheckrc exists - that one will be used instead.

But first I want to figure out how to hack a simple gui to configure the 3 necessary values from the GUI.
 

The Following User Says Thank You to lbthomsen For This Useful Post: