I'm, trying to configure Duckdns on LEDE firmware 17.01.4 without success.
I downloaded and installed via LUCI the needed ddns-scripts and luci-app-ddns for the DDNS service, And created a new name in the newly installed DDNS service.I chose the duckdns.org service provider and entered
I've installed the SSL support as you suggested but it didn't helped.
I tried to understand some things from the logs and from reading this post
It seems that the wrong local ip address is sent from lede to duckdns this is the part of the log
Tue Nov 28 00:02:45 2017 user.err ddns-scripts: duckdns: No or private or invalid IP '192.168.1.1' given! Please check your configuration
Tue Nov 28 00:02:45 2017 user.err ddns-scripts: duckdns: No update send to DDNS Provider
I can't seem to install the ca-certificates via the wget or curl command in the post i've linked to
There are various ways for getting the external IP that you can configure under DDNS advanced settings. I use
IP address source [IPv4]: Network
Network [IPv4]: wan
If that doesn't work then IP address source [IPv4]: URL almost certainly will, but getting it from the router is preferred.
You don't need to download it. The file you get from the ca-bundle package is updated. Path to CA-Certificate should be /etc/ssl/certs/ca-certificates.crt. I'm using DuckDNS and it works.
I am sorry, But i'm not able to connect still. I also see that the router doesn't keeps the ipv4 search methos when I change it from url back to network.
I'm afraid it has something to do with some incompatibility of lede and the generic router hardware.
I appreciate your kind help, But I think I will re-flash padavan firmware on it that worked really well (With duckdns out of the box).
Thank you !
I'm still unable to connect to duckdns.
started fresh with new archer c7 router with latest lede build.
I'm afraid it has to do with the wrong SSL package, But when I ran
wget https://certs.secureserver.net/repository/sf_bundle-g2.crt > /etc/ssl/certs/ca-bundle.crt
It did not find that ssl package the first time and requested me to install the CA packages I've installed earlier and after installing the luci-ssl i get a message with "error 0" and that it downloaded sf_bundle-g2.crt
those are referred lines from system log
Wed Nov 29 19:44:58 2017 user.notice ddns-scripts: duckdns: PID '14472' started at 2017-11-29 19:44
Wed Nov 29 19:45:05 2017 user.notice ddns-scripts: duckdns: PID '14472' terminated by 'SIGTERM' at 2017-11-29 19:45
Wed Nov 29 19:55:50 2017 user.notice ddns-scripts: duckdns: PID '20513' started at 2017-11-29 19:55
There is nothing to indicate that this is an SSL related problem. Try connecting to the router using SSH and post the active section from /etc/config/ddns (Shell command: cat /etc/config/ddns). Mine looks like this:
Thank you for your tips Per.
It doesn't give the PID error, But I see in the log missing domain
Wed Nov 29 22:03:13 2017 user.warn ddns-scripts: myddns_ipv4: Service section not configured correctly! Missing 'domain' - TERMINATE
Wed Nov 29 22:03:13 2017 user.warn ddns-scripts: myddns_ipv4: PID '23851' exit WITH ERROR '1' at 2017-11-29 22:03
when i tried the wget command, It gave me again error 0
Update - I see that error 0 is not really an error just like downloadm success status
The only thing that bothers me is that every few minutes it writes "Unknown error" in the next update column. Maybe it's because the WAN IP is still the same and doesn't need to be changed yet ? a bug in the duckdns translation to LEDE ?