How to Make Clark Connect Auto-update DynDNS IP Address from your desktop.
What you need:
-Putty
Code:
http://www.chiark.greenend.org.uk/~sgtatham/putty/
-A DynDNS account, free (as in beer).
1) Install putty onto your Windows box
2) Putty into the Clark server and do:
Code:
$ wget http://downloads.sourceforge.net/ddclient/ddclient-3.7.3.tar.gz
$ tar zxvf ddclient-3.7.3.tar.gz
$ cd ddclient*
$ cp ddclient /usr/sbin
$ mkdir /etc/ddclient
3) In your internet browser, log into DynDNS.com > Support > DNS Tools > Update Client Configurator> have it create the config text for ddclient. Copy this text onto clipboard. Then, in the Putty window, do:
Quote:
$ nano /etc/ddclient/ddclient.conf |
4) Paste the clipboard, (alt-click the mouse in the Putty window) find the DynDNS account password and enter it in the space allotted, and crtl+o; <enter> crtl+x. Then do:
Quote:
$ ddclient -daemon=0 -query $ cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient $ /sbin/chkconfig --add ddclient |
Test by doing:
As a final check, manually log into DynDNS (on the ***) and change your IP address to something incorrect. Reboot the server, ( $ reboot in putty) check your DynDNS account webpage to see if the IPs have been correctly updated.
No comments:
Post a Comment