I am getting the following with my dyn dns scripts on my Archer C7. These used to work some time ago, I don't exactly know what might have broken them. I was fiddling around with a wireguard setup, and I did a mass package update as well, but cannot be sure either of them broke my services.
002821 note : PID '25973' started at 2020-06-14 00:28
002822 : ddns version : 2.7.8-13
002822 : uci configuration:
ddns.myddns_ipv4.check_interval='5'
ddns.myddns_ipv4.domain=redacted
ddns.myddns_ipv4.enabled='1'
ddns.myddns_ipv4.force_interval='1'
ddns.myddns_ipv4.interface='wan'
ddns.myddns_ipv4.ip_network='wan'
ddns.myddns_ipv4.ip_source='network'
ddns.myddns_ipv4.lookup_host=redacted
ddns.myddns_ipv4.password='***PW***'
ddns.myddns_ipv4.service_name='afraid.org-basicauth'
ddns.myddns_ipv4.username=redacted
ddns.myddns_ipv4=service
002822 : verbose mode : 0 - run normal, NO console output
002822 : check interval: 300 seconds
002822 : force interval: 3600 seconds
002822 : retry interval: 60 seconds
002822 : retry counter : 0 times
002822 : No old process
002822 : last update: never
002822 : Detect registered/public IP
002822 : #> /usr/bin/nslookup redacted >/var/run/ddns/myddns_ipv4.dat 2>/var/run/ddns/myddns_ipv4.err
002822 : Registered IP '84.236.3.166' detected
002822 info : Starting main loop at 2020-06-14 00:28
002822 : Detect local IP on 'network'
002822 ERROR : Can not detect local IP using network_get_ipaddr 'wan' - Error: '1' - TERMINATE
002823 WARN : PID '25973' exit WITH ERROR '1' at 2020-06-14 00:28
Any idea what might cause this? I do have a public IP. Thanks,
I think so - that was the 1st thing I checked in LuCi, since the wg install plays around with creating interfaces and stuff. I wasn't sure in the upper- or lowercase name of the interface, so I checked through ssh.
No, it looks fine to me.
Maybe the package upgrade you mentioned in the first post had something to do with it.
If there is no better idea, take a backup, reset to defaults, restore backup, and start installing one by one packages without upgrading, unless there is some known vulnerability and there is an advisory.