I only use snapshot to be the most up-to-date version and yes I can connect to the internet with the main router (modem) without any problems.
After the following commands, I can out the internet without the need to restart openwrt.
service adguardhome disable
service adguardhome enable
service adguardhome start
How can I prepare a script as in the link below.
I think if adguardhome works after a certain period of time after openwrt is opened, the problem can be solved.