Hi,
I am trying to set my Banana Pi R64 for use with ddns however, the following configuration gives me the following error:
072824 : verbose mode : 0 - run normal, NO console output
072825 WARN : Service section disabled! - TERMINATE
072825 WARN : PID '5846' exit WITH ERROR '1' at 2023-02-15 07:28
My configuration
#
config ddns "global"
option ddns_dateformat "%F %R"
# option ddns_rundir "/var/run/ddns"
# option ddns_logdir "/var/log/ddns"
option ddns_loglines "250"
option upd_privateip "0"
config service "myddns_ipv4"
option service_name "noip.org"
option lookup_host "me.ddns.net"
option domain "me.ddns.net"
option username "email"
option password "password"
option interface "wan"
option ip_source "network"
option ip_network "wan"
option ip_source 'web'
option ip_url 'http://ifconfig.me/ip' # external service retrieves public IP in plain text
option update_url 'update_no-ip_com.sh'
option use_logfile '1'
config service "myddns_ipv6"
option update_url "http://[USERNAME]:[PASSWORD]@your.provider.net/nic/update?hostname=[DOMAIN]&myip=[IP]"
option lookup_host "yourhost.example.com"
option domain "yourhost.example.com"
option username "your_username"
option password "your_password"
option use_ipv6 "1"
option interface "wan6"
option ip_source "network"
option ip_network "wan6"
What is that referring to and how do I fix the problem?
Thanks,
Aaron
That error is normal immediately after installation of ddns scripts because there is no working configuration yet. It should resolve once there is a valid configuration.
Is this section filled with real config info on your system? (Obviously don’t post your personal data).
I think it is? Well, the email, domain, etc are my actual info (edited in post). I was following the information on this page.
frollic
February 15, 2023, 8:12am
4
in that case, this is either wrong, of you shouldn't have masked it.
If doesn’t look like it is enabled.
option enabled '1'
Well, obviously I didn't post my actual host.
frollic
February 15, 2023, 8:27am
7
yeah, never mind, misunderstood the parameter usage ...
ignore me, I suck.
Oh? So I should have included that in the configuration file? The article just mention enabling it via the terminal.
Found a thread where a user posted their ddns config here .
Here's mine, with obvious things redacted (username, password, domain)... I use changeIP as my ddns service:
config service 'ChangeIP'
option service_name 'changeip.com'
option domain 'my.changeip.registered.domain'
option username 'myusername'
option password 'mypassword'
option use_https '1'
option cacert 'IGNORE'
option interface 'wan'
option check_interval '60'
option ip_source 'web'
option ip_url 'http://ip.changeip.com'
option enabled '1'
option lookup_host 'my.changeip.registered.domain'
option use_syslog '1'
I keep getting "service not installed when trying to select a service (in my case noip.com despite the fact all the software needed is installed).
Did you indeed install all the needed packages:
ddns-scripts
ddns-scripts-noip
luci-app-ddns # Optional
Let's see the output of the following:
ubus call system board
opkg list-installed | grep ddns
cat /etc/config/ddns
(redact your personal data from the ddns config file, but please make it clear what is redacted)
board:
{
"kernel": "5.10.161",
"hostname": "OpenWrt",
"system": "ARMv8 Processor rev 4",
"model": "Bananapi BPI-R64",
"board_name": "bananapi,bpi-r64",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt", "version": "22.03.3",
"revision": "r20028-43d71ad93e",
"target": "mediatek/mt7622",
"description": "OpenWrt 22.03.3 r20028-43d71ad93e"
}
}
Installed:
ddns-scripts - 2.8.2-25
ddns-scripts-noip - 2.8.2-25
ddns-scripts-services - 2.8.2-25
luci-app-ddns - git-22.339.34822-6da87df
ddns config:
config ddns 'global'
option ddns_dateformat '%F %R'
option ddns_loglines '250'
option use_ipv6 '0'
option enabled '1'
option ddns_rundir '/var/run/ddns'
option ddns_logdir '/var/log/ddns'
config service 'myddns_ipv4'
option service_name 'noip.org'
option domain 'host.ddns.net'
option username 'email@gmail.com'
option password 'password'
option interface 'wan'
option ip_network 'wan'
option ip_source 'web'
option ip_url 'http://ifconfig.me/ip'
option update_url 'https://dynupdate.no-ip.com/nic/update'
option use_logfile '1'
option enabled '0'
option lookup_host 'no-ip.com'
option use_ipv6 '0'
config service 'myddns_ipv6'
option update_url 'http://[USERNAME]:[PASSWORD]@your.provider.net/nic/update?hostname=[DOMAIN]&myip=[IP]'
option lookup_host 'yourhost.example.com'
option domain 'yourhost.example.com'
option username 'your_username'
option password 'your_password'
option use_ipv6 '1'
option interface 'wan6'
option ip_source 'network'
option ip_network 'wan6'
option enabled '0'
Remove this from the gloabl section:
Nightwalker83:
option enabled '1'
And enable it in the service ipv4 and ipv6 sections.... the fact that your ddns was disabled should be the reason for the issue.
Nightwalker83:
option enabled '0'
After restarting the services:
WARN : No update_url found/defined or no update_script found/defined! - TERMINATE
The update_url is obviously there...
Disable the IPv6 one and try just IPv4... see if you get the same error. If so, try the IPv6 enabled and the IPv4 disabled.
This will help us understand if the error comes from one or both of the entries.
I receive the error regardless of which one is disabled. However, with ipv4 disabled I also receive this error:
Service section disabled! - TERMINATE
Found the answer to that warning here .
Edit:
Removing the ipv6 section and restarting the service fixed the problem no more errors.
system
Closed
February 26, 2023, 6:00am
19
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.