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:
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 '126.96.36.199' 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,
Do you still have an interface named
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.
Here is the output of
uci show network:
network.@switch_vlan.ports='2 3 4 5 0t'
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.
I ended up doing exactly this. Fortunately I had a backup from before I started configuring Wireguard. Now the ddns scipts seem to be working.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.