I forgot my Adguard Home web password on OpenWRT

There is a guide here

However, when I typed
sudo apt-get install apache2
image

Please post output of::

ubus call system board
opkg list-installed adguardhome
1 Like

OpenWrt != Ubuntu

There is no sudo nor apt-get on OpenWrt. Please provide information asked for by brada4.

According to the guide, you only need the htpasswd utility to generate a new password hash. You can do this on any computer capable of running the utility (it's part of Apache 2). You should also be able to use an online tool as long as it supports bcrypt. Untested first search engine hit:

I tried the above generator, it does not work, maybe I chose wrong encrypt method. you may also run the htpasswd command on other system or virtual PC, then copy the hashed string to /etc/AdGuardHome.yaml

or you can use this string, password is evilgoogle

htpasswd -B -C 10 -n -b root evilgoogle
root:$2y$10$YP9MVybHsj0UiQs3ZBSJwOqov0vKKiC8oiwOT4deshAOxv0s147e2