[LEDE-DEV] DDNS for ipv6

Christian Schoenebeck christian.schoenebeck at gmail.com
Mon Jan 15 12:44:48 PST 2018


Hi Hartmut,

either try newest scripts from github (updated last weekend)

or insert "network_flush_cache" at about line 900 inside dynamic_dns_functions.sh function get_local_ip()

	while : ; do
		if [ -n "$ip_network" ]; then
			# set correct program
-->>			network_flush_cache	# force re-read data from ubus
			[ $use_ipv6 -eq 0 ] && __RUNPROG="network_get_ipaddr" \
					    || __RUNPROG="network_get_ipaddr6"

or set option ip_source	"interface" instead of "network"

Christian


Am 15.01.2018 um 18:39 schrieb e9hack:
> Hi,
> 
> ddns for ipv6 doesn't work since the last few updates related to the ddns package. From log file:
> 
> Mon Jan 15 17:35:21 2018 user.notice DEBUG: hotplug igmpproxy: device 'wan_6' action 'ifup'
> Mon Jan 15 17:35:22 2018 user.notice ddns-scripts[7394]: dynv6_ipv6: PID '7394' started at 2018-01-15 17:35
> Mon Jan 15 17:35:23 2018 user.err ddns-scripts[7394]: dynv6_ipv6: Can not detect local IP using network_get_ipaddr6
> 'wan_6' - Error: '1' - TERMINATE
> Mon Jan 15 17:35:23 2018 user.warn ddns-scripts[7394]: dynv6_ipv6: PID '7394' exit WITH ERROR '1' at 2018-01-15 17:35
> 
> This is immediately after a sysupgrade. Restarting of the service brings it back.
> 
> Ddns provider is dynv6.com.
> 
> Regards,
> Hartmut
> 



More information about the Lede-dev mailing list