setting up ddclient
NoOp
glgxg at sbcglobal.net
Wed Jan 9 23:29:52 UTC 2008
On 01/09/2008 12:06 PM, Wade Smart wrote:
> NoOp wrote:
>> On 01/09/2008 09:12 AM, Wade Smart wrote:
>>> NoOp wrote:
>>>> On 12/21/2007 04:38 AM, Wade Smart wrote:
>>>>> 12212007 0636 GMT-6
>>>>>
>>>>> By starting the client as sudo (which I wasnt donig) changing a few of
>>>>> the x=y values I was able to finally get ddclient working. I have been
>>>>> watching system log to see when it connects and it seems to be doing
>>>>> fine. Im also watching the site as well.
>>>>>
>>>>> Thanks for the help.
>>>>>
>>>>> Wade
>>>>>
>>>> Good. However, if you are having to do it that way, ddclient will not
>>>> automatically start again if you log out/reboot. Unless of course you
>>>> modify the /etc/ddclient.conf with daemon= and /etc/default/ddclient
>>>> to run_daemon="true".
>>>>
>>> 01092008 1109 GMT-6
>>>
>>> I received an email again asking if me to renew my domain. I thought my
>>> client had been running but its not. I tried to start it and I received
>>> this error:
>>> WARNING: caught SIGTERM; exiting
>>> regards,
>>> ddclient at wadesmart (version 3.7.3)
>>>
>>>
>>> This is my ddclient.conf file:
>>> # Configuration file for ddclient generated by debconf
>>> #
>>> # /etc/ddclient.conf
>>>
>>> run_daemon='true'
>>> daemon=300
>>> pid=/var/run/ddclient.pid
>>> protocol=dyndns2
>>> use=web
>>> server=members.dyndns.org
>>> login= loginname
>>> password='password'
>>> wadesmart.homelinux.com
>>>
>>> mail-failure=root
>>> mail=root
>>> syslog=yes
>>>
>>> I know it was working but for some reason it stopped on Dec 22nd.
>>>
>>> Wade
>>>
>>
>> The problem is the use=web line and the missing dyndns servername. The
>> file should be:
>>
>> # /etc/ddclient.conf
>> daemon=300
>> pid=/var/run/ddclient.pid
>> ssl=yes
>> use=web, web=checkip.dyndns.com/, web-skip='IP Address'
>> login=your-username
>> password=your-password
>> protocol=dyndns2
>> server=members.dyndns.org
>> wadesmart.homelinux.com
>>
>> You should also add ssl=yes and use ssl to send this info to dyndns so
>> that your password is encrypted!
>>
>> That should fix the problem, let me know if it does not.
>>
>> Gary
>>
>> Note: some folks think that dyndns is working because they get a ping
>> back from the IP address. Just remember, after the IP is re-leased to
>> someone else, you may be pinging the other guy's machine that is now
>> using your old IP address... The best way to check is to monitor the
>> https://www.dyndns.com/account/services/hosts/ page for a few days after
>> installing ddclient, particularly after reboot and or modem/router
>> on/off etc.
>
> 01092008 1358 GMT-6
>
> I made the changes and Im still getting that error:WARNING: caught
> SIGTERM; exiting. I just checked the website and it says it was last
> updated still on the 22nd.
That message is telling you that ddclient got stopped. It should
normally tell you why, such as restart etc. You can easily test/see by:
sudo /etc/init.d/ddclient stop
sudo /etc/init.d/ddclient start
sudo /etc/init.d/ddclient restart
And of course the status:
sudo /etc/init.d/ddclient status
>
> daemon=300
> pid=/var/run/ddclient.pid
> ssl=yes
> use=web, web=checkip.dyndns.com/, web-skip='IP Address' <- Is this
> supposed to my my ip address or just skip checking of the ip address?
No, just exactly as written:
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
>
> protocol=dyndns2
> login=my-login
> password='my-password'
> server=members.dyndns.org
> wadesmart.homelinux.com
>
> mail-failure=root
> mail=root
> syslog=yes
>
> Im on cable modem and while I supposed it can change In the many years
> that I have had it I have never changed IP's. Though, better safe than
> sorry.
That would be your problem - if the IP doesn't change. The _free_ Dyndns
is valid for something like 35 days. If the IP is not changing every 30
days, then you can do three things that I know of:
1. https://www.dyndns.com/account/services/hosts/ and touch/update the
host from there - just as it says in the email. Even if it is the same
IP, Dyndns will reset the 30 day clock.
2. Try to manually force:
rm /var/cache/ddclient/ddclient.cache
/etc/init.d/ddclient restart
3. Purchase a Dyndns Account upgrade for something like $12USD per year:
https://www.dyndns.com/services/dns/dyndns/upgrades.html
Note: Looking at your headers, your IP from the start of this thread
back on 21 November is the same as your IP today. So, your IP address is
not changing every 30 days. Don't do 1 or 2 often (every 28 days is ok I
think) or the IP may be blocked for abuse, see:
https://www.dyndns.com/services/dns/dyndns/readme.html
[Abuse Blocks]
More information about the ubuntu-users
mailing list