I installed the plugin AdguardHome. But it fails to start because dnsmasq has allocated the required ports. I then stopped and disabled dnsmasq (via ssh).
After a reboot of the router it looks as if AdGuard is running - but no active ports (i.e. 53/DNS and 67/DHCP). I checked this with /etc/init.d/adguardhome status and netstat -tulpn.
I then tried a manual start via ssh and did some config work - but wasn’t able to get dhcp running. I switched to ssh and edited the config file being /etc/adguardhome.yaml. The running config is at the end of this message.
I tried several reboots - al with dnsmasq disabled - no results. Again - only ssh and /etc/init.d/adguardhome start gives me the webui and working dns/dhcp on the confgured ports.
What am I overlooking here? Why is adguardhome not started after (re)boot with the respective port allocation?
2025/11/06 10:46:50.745506 2412#1 [error] starting dhcp server: dhcpv4: finding interface br-lan by name: route ip+net: no such network interface
2025/11/06 10:46:50.751566 2412#1 [info] AdGuard Home is available at the following addresses:
2025/11/06 10:46:50.762105 2412#1 [info] Go to http://192.168.99.240:88
2025/11/06 10:46:50.924552 2412#1 [info] stopped
2025/11/06 10:46:50.929253 2412#1 [fatal] listen tcp 192.168.99.240:88: bind: cannot assign requested address
While the result of ip a is:
# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1504 qdisc fq_codel state UP group default qlen 1000
link/ether 94:83:c4:20:97:ca brd ff:ff:ff:ff:ff:ff
3: lan1@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN group default qlen 1000
link/ether 94:83:c4:20:97:ca brd ff:ff:ff:ff:ff:ff
4: lan2@eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue master br-lan state LOWERLAYERDOWN group default qlen 1000
link/ether 94:83:c4:20:97:ca brd ff:ff:ff:ff:ff:ff
5: wan@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 94:83:c4:20:97:c9 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.101/24 brd 192.168.2.255 scope global wan
valid_lft forever preferred_lft forever
8: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 94:83:c4:20:97:ca brd ff:ff:ff:ff:ff:ff
inet 192.168.99.240/24 brd 192.168.99.255 scope global br-lan
valid_lft forever preferred_lft forever
9: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP group default qlen 1000
link/ether 94:83:c4:20:97:cb brd ff:ff:ff:ff:ff:ff
10: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP group default qlen 1000
link/ether 94:83:c4:20:97:cc brd ff:ff:ff:ff:ff:ff
It appears that AdGuard Home may be starting before the LAN interface is fully initialized.
You can adjust the startup sequence to delay its launch:
# Disable the current startup order
/etc/init.d/adguardhome disable
# Modify the startup priority (change START=21 to START=99)
sed -i 's/START=21/START=99/' /etc/init.d/adguardhome
# Re-enable the service
/etc/init.d/adguardhome enable