I had issues with my adsl router so I installed the DynDNS update client “ddclient” on my CC server. I have my CC server set up in standalone mode, not gateway mode, and it still works fine.
Obviously you will need a DynDNS account and a Linux server. I can also say that this method works on an Ubuntu and SME server install.
So lets start:
ssh into you server using your favourite ssh client and enter the following:
Code:
The config to ddclient is straight forward and simple, but why not get DynDNS to do it for you: Log into DynDNS.com > Support > DNS Tools > Update Client Configurator> Copy this text onto clipboard. Then, in the Putty window, do: Code: Paste the clipboard, (shift + insert) find the DynDNS account password replace the ##password##, Then type: Code: Now use winscp and create the folder: /var/cache/ddclient 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
Have it create the config text for ddclient.
$ nano /etc/ddclient/ddclient.conf
Save with crtl+o then <enter>
Exit with crtl+x.
$ ddclient -daemon=0 -query
$ cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
$ /sbin/chkconfig --add ddclient
and test with:
ddclient -daemon=0 -debug -verbose -noquiet The output from this will tell you all you need to know There you go your regular updater for a Dynamic IP address
Subscribe to RSS


