i just installed adguard following the instructions here, and can now not update opkg or install any other packages. i can still access the internet, but when i run opkg updage i get this:
root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/releases/23.05.0/targets/rockchip/armv8/packages/Packages.gz
Failed to send request: Operation not permitted
*** Failed to download the package list from https://downloads.openwrt.org/releases/23.05.0/targets/rockchip/armv8/packages/Packages.gz
still the same error, although i get -ash: commit/dnsmasq: not found when i run uci add_list dhcp.@dnsmasq[0].server='/openwrt.org/1.1.1.1', so i just rebooted via luci
I just too a quick peak at the instructions e.g. uci set dhcp.@dnsmasq[0].port="54"
That sets DNSMasq's listen port to 54, which means ADGH is listening in on port 53.
So if ADGH is not working and you want to use DNSMasq again you have to set the listen port for DNSmasq back to 53 (or delete it as 53 is the default).
Much simpler solution: use DNSmasq with an Adguard DNS server as resolver?
Or if you want Secure DNS use SmartDNS with Adguard DNS as resolver?
I have played with changing the nameservers in /etc/resolv.conf and setting the router's IP address (such as 192.168.1.1) as a nameserver will make opkg work. Until the next reboot.
ADGH is much more than a resolver. It offers granular control with a nice graphical interface. a more close comparison is NextDNS but that costs $$
On a side note, I used to have Tailscale installed on the same router and thought that it might be causing this issue, but uninstalling it didn't help.
i ended up reinstalling adguard using a different guide and got it to work correctly. i don't think the command on openwrt's guide for dns interception was working correctly with my version. thanks for you help!
Go ahead and mark the thread solved; just give yourself credit in your last post so when others search they can find a thread that found a solution.
And please link to the guide that worked.