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:



$ 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

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>
Have it create the config text for ddclient.

Copy this text onto clipboard. Then, in the Putty window, do:

Code:


$ nano /etc/ddclient/ddclient.conf

Paste the clipboard, (shift + insert) find the DynDNS account password replace the ##password##,
Save with crtl+o then <enter>
Exit with crtl+x.

Then type:

Code:


$ ddclient -daemon=0 -query
$ cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
$ /sbin/chkconfig --add ddclient

Now use winscp and create the folder: /var/cache/ddclient
and test with:

Code:

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

  • Tag Cloud

  • Categories

  • Recent Posts

  • Sponsored Links

  • Login/Register

Syndicate