Ddclient daemon not updating

Has anyone been able to get namecheap DNS updated with ddclient? First, this is the canonical reference for configuring ddns for namecheap: If you don't want to rely on an external web service for finding your IP (like me), things are slightly more complicated.

ddclient has a facility for logging into your router and grabbing your IP address from there, which should be the most efficient and reliable method.

ddclient daemon not updating-48ddclient daemon not updating-42ddclient daemon not updating-73

I developed it thinking, as everyone does, that you have to grab your external ip and feed it to Namecheap with your basic parameters.

This isn't necessary, as the update script on Namecheap's end determines your IP on its own.

= "true" ]; then log_warning_msg "To run ddclient as a daemon, please set run_daemon to 'true' in /etc/default/ddclient " log_end_msg 0 exit 0 fi log_daemon_msg "Restarting $DESC" "$NAME" do_stop case "$? " in 0) log_end_msg 0 ;; 1) log_end_msg 1 ;; # Old process is still running *) log_end_msg 1 ;; # Failed to start esac ;; *) # Failed to stop log_end_msg 1 ;; esac ;; *) N=/etc/init.d/$NAME # echo "Usage: $N " for me adding the -- $OPTIONS in the stop function like it's in the start function did the job.

*** /etc/init.d/ddclient 2012-06-19 .000000000 0200 --- /etc/init.d/2012-06-19 .000000000 0200 *************** *** 77,83 **** # 2 if daemon could not be stopped # other if a failure occurred start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 \ ! " } --- 77,83 ---- # 2 if daemon could not be stopped # other if a failure occurred start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 \ !

/etc/default/ddclient fi PIDFILE=/var/run/$OPTIONS="-daemon $daemon_interval -syslog -pid $PIDFILE" . /lib/lsb/init-functions do_start() do_stop() case "$1" in start) if [ "$run_daemon" !

= "true" ]; then log_warning_msg "To run ddclient as a daemon, please set run_daemon to 'true' in /etc/default/ddclient " log_end_msg 0 exit 0 fi [ "$VERBOSE" ! = no ] && log_end_msg 1 ;; esac ;; stop) if [ "$run_daemon" !

It seems to be caused by the process name changed to "ddclient - sleeping ...".

Removing "--name" from test/stop cases of start-stop-daemon in /etc/init.d/ ddclient seesm to fix it.

(Closes: #704416) Checksums-Sha1: 6e83e18eca0724d7e8ea4b2157653e35ae14a510 1904 ddclient_3.8.1-1.1065f708de3420bae6db43d36ac8293508323dfc5 57953 ddclient_3.8.1-1.1.gz e4ca8f70944b38aee34d8d1f5a716d9599aa1bdc 75416 ddclient_3.8.1-1.1_Checksums-Sha256: 84111de5fffa38e61259f7b822ed5a600449f5dea29d9ddd9918f03223de4128 1904 ddclient_3.8.1-1.15b8a303ccd2275d1efccffdd486a8af9a56b77d64de3aa37df7fc8ccfc0a45a7 57953 ddclient_3.8.1-1.1.gz c3ac60f72dbd5dcb6ac0728107821214906900f9ba03c0cd81e9fb2291b6833e 75416 ddclient_3.8.1-1.1_Files: eb8d4dfde82f25ebe2cd0bc0b76cbd68 1904 net extra ddclient_3.8.1-1.117e6556ae60a0b25da2afd0a7b7447a2 57953 net extra ddclient_3.8.1-1.1.gz 2e91f75a8b0cffb9f6ae181be08c9af1 75416 net extra ddclient_3.8.1-1.1_-----BEGIN PGP SIGNATURE----- Version: Gnu PG v1.4.14 (GNU/Linux) i QIc BAEBCAAGBQJSXFg AAo JEPw Nsbv NRgve Udk QAI48v J7vj98jt Xjn3Ccq TQk M Lz Lyt8RH33Am/t1W0Lqt66c TGA6REfnn Iv Xucb Zd8eb WDEIz4HALC80IGv HYR5Dg /0OM2izc9w XVAMVHmnsp FR/5HPGb MKoxjw4If T4Pve Oq6D1LT11UAiz3ZRx DG8k J /j TJk O9yrq DLQ i X1S6Vr Jsr tk7fy Tqz Mgo22/Mvlhtfg5OC/F2yuz EOTOZcy TY TU4m Og9vo8s71Ou I5m LDc OXjfji Ewws5V4is X5uq z CGLBt EIzi9p S4Cq RC1v YKz DRHqkqs JZ49CS54xd T4zyjy Tj4G5/W9zyq Wv YE2J0WYNBWfhykl2p Mxw EZq/Ftgd e GGBFg/Tt6j Qk0bd EXYr Vtf37q2sq Al2pt RDKAl Eaogw Slh Xo Gr PHel F/5ZCOvl I vkdu Pe3Ql GWe MPHl9i5TLTR62OMx2Mr OOTNIR1s H0q IJ bo4ge Xpdj OXiwm SZe G P0p Oxdlr0712rl SQoo Eca Of HKSjt P5d H4e Cm A9g A1ifa T9S7FYF4Gs K9IVb ARY6 L1FCZClla U4EU8v R4G2XTBLXLMCS9f L3HYSQZ4s m TOGw Sol03C4ae F0f/Db O WC /k H0yx UTYEy RBDd Gx AF7y Kmg OFO/bb RIczs6W6e CQg3rbg Gaj7/TMGb Up To FJ00B M552zc JD2s9Po Eu4h YEh =li Aq -----END PGP SIGNATURE----- .

Tags: , ,