Fri Jan 28 15:40:38 2022 daemon.notice netifd: wan (2120): udhcpc: sending renew to xx.32.1
Fri Jan 28 15:40:38 2022 daemon.notice netifd: wan (2120): udhcpc: lease of xx.32.172 obtained, lease time 7200
Fri Jan 28 15:40:38 2022 user.notice root: 20-firewall> ifupdate UA: UD:1
Fri Jan 28 15:40:38 2022 user.notice firewall: Reloading firewall due to ifupdate of wan (eth0.2)
Fri Jan 28 15:40:44 2022 user.info adblock-4.1.3[4829]: adblock instance started ::: action: start, priority: 10, pid: 4829
Fri Jan 28 15:41:38 2022 daemon.info dnsmasq[4482]: exiting on receipt of SIGTERM
Fri Jan 28 15:41:38 2022 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Fri Jan 28 15:41:38 2022 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
you can/should report a bug... there are also some helpful hotplug examples on the forum that you could use to compare that the ip has not changed and skip the reload... (as an interim workaround)
Just because it hasn’t been suggested, how about making a backup and then resetting to defaults. See if the behavior occurs on a fresh config. Then install any additional packages (one at a time, except for dependencies of course) and see if you can pinpoint when the problem first manifests.
It seems like this could trigger if the leasetime is different on the renewal (run ifstatus wan and look at the data section). I saw this same behavior today when my lease renewed, but mine renews every 2+ days.
In that case (which is understandable), I’d say that if it isn’t causing any actual network issues, just leave it be and deal with the troubleshooting of this issue at some future time. If it is actually impacting your network (aside from the log spam), you should prioritize that root-cause analysis as soon as it is reasonable to do so.
I've completely uninstalled adblock but that didn't solve the issue.
Then I decided to replace the router with another one just to test.
The spare router (using current master snapshot), that was working fine on another network with WAN getting IP via DHCP, is now experiencing the same behaviour as described in the first post. Lease times of 7200s and 3600s follow one after another, then Reloading firewall due to ifupdate of wan and adblock and banIP restart.
Really wonder about the reason for this. My router is connected to the ISP router device currently configured as a bridge device with WLAN turned off.
Sorry @dave14305 but I don't understand what kill -USR1 $(pidof udhcpc) command does. Can you explain a little bit more.
Does the problem happen if you run the router in the near default state (i.e. no Adblock or banIP, minimal changes for your network and wifi configurations)?
The same problem without both Adblock and banIP. The second router I've connected didn't do this on another network. The only difference that I know of, is that on the problem ISP network, the ISP is using MAC address access list. So I have to call the ISP support so they change their settings and after that the router gets an IP.