DDNS update failed in gargoyle 1.7 but not 1.6 (SOLVED)

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

Lantis
Moderator
Posts: 7063
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: DDNS update failed in gargoyle 1.7 but not 1.6

Post by Lantis »

I'm just at work but I'd say thats wrong. The initial method used hash authentication. You've now changed to a different method but kept all the same commands.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ispyisail
Moderator
Posts: 5212
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: DDNS update failed in gargoyle 1.7 but not 1.6

Post by ispyisail »

I've just check on a couple of routers - freedns.afraid.org

They both work perfect

I wonder if your ISP or Government is doing something?

User avatar
harsini
Posts: 84
Joined: Mon Jul 22, 2013 9:59 am
Location: Iran

Changing ddns_providers.conf makes ddns config page unusable

Post by harsini »

I want to change the DDNS update url of freedns.afraid in /etc/ddns_providers.conf file but I noticed that every minor changes in this file makes my ddns GUI config page unusable and remove every choosable setting in it.
I copy the config file to my computer using pscp then edit it and again overwrite it in its place.Even adding and deleting a space in this file makes the ddns config page unresponsive:
ddnsUnusable.jpg
ddnsUnusable.jpg (156.94 KiB) Viewed 7004 times
Can anyone help me about this.I see many posts that people change this file.Am I choosing a right method for modifying the file? :roll:

nworbnhoj
Posts: 916
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Changing ddns_providers.conf makes ddns config page unus

Post by nworbnhoj »

I suspect that it might be to do with the default encoding for the editor on your PC being different to that on the router. Perhaps you could try modifying the file directly on the router using vim. (make a backup of the file first!)
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

User avatar
harsini
Posts: 84
Joined: Mon Jul 22, 2013 9:59 am
Location: Iran

Re: Changing ddns_providers.conf makes ddns config page unus

Post by harsini »

Thank you.Yes you are right .The config file was opened with MS word by default I used notepad and the problem gone. ;)

User avatar
harsini
Posts: 84
Joined: Mon Jul 22, 2013 9:59 am
Location: Iran

Re: DDNS update failed in gargoyle 1.7 but not 1.6

Post by harsini »

Lantis wrote:I'm just at work but I'd say thats wrong. The initial method used hash authentication. You've now changed to a different method but kept all the same commands.

Also the second method used hash authentication.It only have a little different url address.
I wonder if your ISP or Government is doing something?
I really get confused that why this only happens in 1.7 and not 1.6. I try to check both version config related to my ddns and they had completely same config and setting untill now. :?

I have a question at this point:
Where is the IP address field which used to send local IP address to the server in initial method of gargoyle.Because other ddns urls have the similar field for that purpose.

ispyisail
Moderator
Posts: 5212
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Changing ddns_providers.conf makes ddns config page unus

Post by ispyisail »

try use notepad++

User avatar
harsini
Posts: 84
Joined: Mon Jul 22, 2013 9:59 am
Location: Iran

Re: DDNS update failed in gargoyle 1.7 but not 1.6

Post by harsini »

I used below code for updating :

Code: Select all

/usr/bin/ddns_gargoyle -P /etc/ddns_providers.conf -C /etc/ddn
s_gargoyle.conf -v
and it returns :

Code: Select all

sh: sha1sum: not found
:?:
(I returned to gargoyle default update url in ddns_providers.conf)

User avatar
harsini
Posts: 84
Joined: Mon Jul 22, 2013 9:59 am
Location: Iran

sh1sum:not found

Post by harsini »

As this would be helpful for others with same problem I opened a new topic for it.I have difficulties updating ddns we discussed about it here:
DDNS update failed in gargoyle 1.7 but not 1.6
Now I try to use below code for updating DDNS in gargoyle 1.7 which I test it successfully in 1.6:

Code: Select all

/usr/bin/ddns_gargoyle -P /etc/ddns_providers.conf -C /etc/ddn
s_gargoyle.conf -v
it failed with error:

Code: Select all

sh1sum:not found
Can anyone tell what is wrong with it? :|
sha1sum.jpg
sha1sum.jpg (21.94 KiB) Viewed 7029 times

User avatar
harsini
Posts: 84
Joined: Mon Jul 22, 2013 9:59 am
Location: Iran

Re: sh1sum:not found

Post by harsini »

I ran below command in both gargoyle 1.6 and 1.7 :

Code: Select all

sha1sum aaa
1.7 returned with :

Code: Select all

-ash: sha1sum: not found
but 1.6 returned with:

Code: Select all

sha1sum: can't open 'aaa': No such file or directory
And I think this is my problem in updating DDNS. :(

Post Reply