2014年7月1日 星期二

ddclient for freedns.afraid.org

ddclient 版本需 3.8.1 以上 (支援協定:freedns)




$ wget -O ddclient-3.8.2.tar.bz2 http://downloads.sourceforge.net/project/ddclient/ddclient/ddclient-3.8.2/ddclient-3.8.2.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fddclient%2F&ts=1404268199&use_mirror=ncu

$ tar jxf ddclient-3.8.2.tar.bz2

$ cd ddclient-3.8.2

# cp ddclient /usr/sbin/
# apt-get install libdigest-sha-perl

# mkdir /var/cache/ddclient/

# vi /etc/ddclient/ddclient.conf
use=if, if=ppp0
server=freedns.afraid.org
protocol=freedns
login=login_name
password=the_password
somedomain.mooo.com

# vi /etc/rc.local
/usr/sbin/ddclient -daemon=1 -syslog -quiet -force





FATAL: Error loading the Perl module Digest::SHA1 needed for freedns update.
FATAL: On Debian, the package libdigest-sha1-perl must be installed.


這是舊版 ddclient 的問題,debian 已移除套件 libdigest-sha1-perl,下載新版 ddclient 並安裝 libdigest-sha-perl

#734661 - ddclient: Please update to 3.8.2 - Debian Bug report logs



 
References :
Dynamic DNS clients
ddclient | Free System Administration software downloads at SourceForge.net

沒有留言:

張貼留言