openwrt / luci

LuCI - OpenWrt Configuration Interface
Apache License 2.0
6.43k stars 2.55k forks source link

luci-app-ddns: DDNS NCM interface not shown #2773

Open yurtesen opened 5 years ago

yurtesen commented 5 years ago

I have setup 18.06.2 with ME909s-120 and using NCM.

In luci I see a wwan_4 under interfaces. It says Protocol: Virtual dynamic interface (DHCP client) and it seems to have been created automatically.

When I go to DDNS settings at Network [IPv4] there is only wwan and no mention of wwan_4

I do need to set it up manually as wwan_4 using ssh to get DDNS working properly. I wonder why wwan_4 is not listed at ddns settings?

feckert commented 5 years ago

I am not sure but I think it should work if you select the wwan interface in the dropdown

feckert commented 5 years ago

@dibdot Could you please have a look I am not familiar with ddns but I think this should work.

yurtesen commented 5 years ago

@feckert no it does not work if I select wwan. Perhaps it has something to do with NCM and QMI and IP address not being propagated.

See: https://bugs.openwrt.org/index.php?do=details&task_id=1304

dibdot commented 5 years ago

@feckert sorry, I can't help here as I don't use ddns scripts at all.

cmheia commented 5 years ago

Try this if you could find wwan0 list by run ip a: ddns->Advanced Settings->IP address source: Interface ddns->Advanced Settings->Interface: wwan0

Then ddns scripts should run ip -o addr show dev wwan0 scope global to detect local IP. You could find Detect local IP on 'interface' in Log File Viewer.