openwrt / luci

LuCI - OpenWrt Configuration Interface
Apache License 2.0
6.38k stars 2.53k forks source link

luci-app-ddns: it's not possible using when configuration from LuCI interface "wwan0" (mobile 4G usb modem - ncm connection) - afraid.org* provider #1367

Closed build000 closed 1 year ago

build000 commented 7 years ago

@jow- , @chris5560 or others

LEDE Reboot SNAPSHOT r4830-c88770c / LuCI Master (git-17.257.70215-07593d2)

Not possible using in /etc/config/ddns :

(...)
option ip_source 'interface'
option interface 'wan'
option ip_interface 'wwan0'
(...)

...when configuration ddns service from LuCI - eq. afraid.org provider (any provider ???). "wwan0" does not exist in "box" (https://192.168.1.1/cgi-bin/luci/admin/services/ddns/detail// [interface or ip_interface ??? ] ) .

When use this configuration manually (edited /etc/config/ddns directly):

(...)
option ip_source 'interface'
option interface 'wan'
option ip_interface 'wwan0'
(...)

...ddns working properly and properly view to https://192.168.1.1/cgi-bin/luci/admin/status or https://192.168.1.1/cgi-bin/luci/admin/services/ddns.

chris5560 commented 7 years ago

What version of ddns-scripts / luci-app-ddns are you talking about ? Latest version of luci-app-ddns - Tab Advanced Settings; if you change IP4/IP6-Source also in the next row all available options are changing to available options. i.e. setting to "interface" will show "eth0" "eth1" "br-lan"..., so all available interface that are also listed by ifconfig command from console. There is no dependency when setting ddns-provider in the Basic Settings Tab

build000 commented 7 years ago

@chris5560 I have described the situation in the latest ddns-script / luci-app-ddns after I have selected a specific provider for this service, ie afraid.org-keyauth. I just can not select the interface wwan0, because it is not available, so I can not finish LuCI configuration and pop up error. Only manual (ssh, terminal, vi/nano) configuration is available (edit /etc/config/ddns), and then after the restart the ddns LuCI service all shows correctly. And anyway on the margins - ifconfig shows me the wwan0 mobile interface and its parameters.