So instead of openwrt DNS you use unbound. Am I correct?

Correct. But i have not yet achieved that expertise to install Unbound and Adguardhome on Openwrt and use only Unbound as the sole DNS local recursive Resolver so that i have the best latency for my Internet. And the Adblocking part is done by AGH which has a beutiful interface.

Is it easier to do ? i am still struggling but i dont know how...

I might try to help but can't guarantee if it'll work. I'll dm you

ok. But i want to remove dnsmasq totally as its a double standard because we will have Unbound which works better than Dnsmasq and we can use it as a local DNS Resolver.
I am waiting for your expert help.

1 Like

Thanks for the yaml file, now I got another probleme :slight_smile:
/login.html
404 not found ...

Did you install via luci opkg or manually? I suggest you to use Luci method

1 Like

I installed it via the opkg method.

Then delete the yaml file, restart AGH service. Go to 192.168.1.1:3000 setup page and config everything from GUI. Sometimes if we make any mistake in yaml then AGH just simply doesn't work

1 Like

I'm also facing a "404 page not found" after the installation.

I'm on the latest snapshot. Also, I have OpenVPN Installed. I installed the packaged via Luci.

Here is the logfile:

Wed Mar  8 17:48:40 2023 daemon.err AdGuardHome[5915]: 2023/03/08 15:48:40.560199 [info] AdGuard Home, version v0.107.24
Wed Mar  8 17:48:40 2023 daemon.err AdGuardHome[5915]: 2023/03/08 15:48:40.560350 [info] This is the first time AdGuard Home is launched
Wed Mar  8 17:48:40 2023 daemon.err AdGuardHome[5915]: 2023/03/08 15:48:40.560373 [info] Checking if AdGuard Home has necessary permissions
Wed Mar  8 17:48:40 2023 daemon.err AdGuardHome[5915]: 2023/03/08 15:48:40.560960 [info] AdGuard Home can bind to port 53
Wed Mar  8 17:48:40 2023 daemon.err AdGuardHome[5915]: 2023/03/08 15:48:40.560999 [info] AdGuard Home updates are disabled
Wed Mar  8 17:48:40 2023 daemon.err AdGuardHome[5915]: 2023/03/08 15:48:40.566179 [info] Initializing auth module: /tmp/adguardhome/data/sessions.db
Wed Mar  8 17:48:40 2023 daemon.err AdGuardHome[5915]: 2023/03/08 15:48:40.566408 [info] auth: initialized.  users:0  sessions:0
Wed Mar  8 17:48:40 2023 daemon.err AdGuardHome[5915]: 2023/03/08 15:48:40.566456 [info] web: initializing
Wed Mar  8 17:48:40 2023 daemon.err AdGuardHome[5915]: 2023/03/08 15:48:40.566502 [info] This is the first launch of AdGuard Home, redirecting everything to /install.html
Wed Mar  8 17:48:40 2023 daemon.err AdGuardHome[5915]: 2023/03/08 15:48:40.566532 [info] AdGuard Home is available at the following addresses:
Wed Mar  8 17:48:40 2023 daemon.err AdGuardHome[5915]: 2023/03/08 15:48:40.570144 [info] go to http://127.0.0.1:3000
Wed Mar  8 17:48:40 2023 daemon.err AdGuardHome[5915]: 2023/03/08 15:48:40.570196 [info] go to http://[::1]:3000

When I try to access the webpage for the setup, I'm redirected to /install.html and it's empty with 404 page not found msg.

Any suggestions?

1 Like

Do you get the same error on release build?

nope. I copied the adguardhome.yaml from several posts above and the service is UP. WebUI is still "404 page not found". The strange is that DNS is not working. Now I'm trying to understand why, but this is another problem. If I managed to access webui, I guess I will figure it out. Ideas?

If you're new to openwrt then just use release build. Snapshot builds are buggy atm

Yeah, I know that, but my Hardware is Xiaomi AX3600 and there is no release build.

I'm wondering how to debug this "404 page not found". Ideas?

Hm in your case just delete the yaml file, restart the AGH service. If AGH has installed correctly then it should show you setup page all over again.
If that doesn't work then build your own snapshot

ath10k-firmware-qca9887-ct ath11k-firmware-ipq8074 base-files busybox ca-bundle dnsmasq dropbear firewall4 fstools ipq-wifi-xiaomi_ax3600 kmod-ath10k-ct-smallbuffers kmod-ath11k-ahb kmod-gpio-button-hotplug kmod-leds-gpio kmod-nft-offload kmod-phy-aquantia kmod-qca-nss-dp kmod-usb-dwc3 kmod-usb-dwc3-qcom kmod-usb3 libc libgcc libustream-mbedtls logd mtd netifd nftables odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe procd procd-seccomp procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd wpad-basic-wolfssl luci-ssl luci-app-upnp adguardhome qosify kmod-sched kmod-tcp-bbr bash curl ca-certificates

OpenWrt Firmware Selector

Nop, don't work :confused: i installed it from luci or directly in CLI. The yaml file is not created at the installation. If i fill it with info here, adguard work but still no webui.
Where are the webgui files located ? maybe they are simply missing

1 Like

/var/adguardhome

yaml file is necessary to run agh after installation. Show me your yaml file

1 Like

@judzk @krlozanov @Catfriend1 I tried snapshot and I'm getting the same 404 error. Maybe stick with release version. Snapshot is buggy atm

1 Like

Do you mean Openwrt release? I can't as there is no stable release for the AX3600 yet. But everything else except the web ui is working fine.

You can try adblock instead agh

I'm totally satisfied with AGH :slightly_smiling_face: