What's new

AdGuardHome [RELEASE] Asuswrt-Merlin-AdGuardHome-Installer (AMAGHI)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Hello, can someone help me fix this error? So quite I do not know who should listen on this port.

[fatal] couldn't start forwarding DNS server: listening to udp socket: listen udp 0.0.0.0:53: bind: address already in use

Is it possible that this is related to the VPN server (UDP)?

Thanks a lot
 

Attachments

  • syslog (1).txt
    2.7 KB · Views: 79
  • 1.JPG
    1.JPG
    55.9 KB · Views: 105
Hello, can someone help me fix this error? So quite I do not know who should listen on this port.

[fatal] couldn't start forwarding DNS server: listening to udp socket: listen udp 0.0.0.0:53: bind: address already in use

Is it possible that this is related to the VPN server (UDP)?

Thanks a lot
Well start off by posting the output to this command from your command line

netstat -nlp | grep 53


And


netstat -nlp | grep 553

You may also want to uninstall diversion because this is not intended to run side by side with it and doing such may make an other wise stable router environment operate in an unstable manner.
 
Last edited:
Any gamers here using Adguard Home while playing online games? I had to go back to Diversion since I noticed some lag on some of my wireless gaming devices. I'm thinking it might be due to using some of the blocking list that I was using, however, when I use Diversion, I use the medium playlist and I don't notice any lag when gaming. Just wondering if anyone has noticed any lag while using Adguard Home?
 
You are a star ⭐
Release v1.0.5
Changelog:
Code:
* Remove Github url for binaries.
* Add in Branch specifics.
* Create installer.md5sum
* Update installer
* Add support for different adguardhome builds. (Still a little more work needed)
* Finish the changes for different build support.
* Fix syntax errors
* Update installer.md5sum

In a nutshell every one should be able to pick what build they want now.



Code:
############################################################################################
#                                             _            __  __              _  _        #
#     /\                                     | |          |  \/  |            | |(_)       #
#    /  \    ___  _   _  ___ __      __ _ __ | |_  ______ | \  / |  ___  _ __ | | _  _ __  #
#   / /\ \  / __|| | | |/ __|\ \ /\ / /| '__|| __||______|| |\/| | / _ \| '__|| || || '_ \ #
#  / ____ \ \__ \| |_| |\__ \ \ V  V / | |   | |_         | |  | ||  __/| |   | || || | | |#
# /_/    \_\|___/ \__,_||___/  \_/\_/  |_|    \__|        |_|  |_| \___||_|   |_||_||_| |_|#
#               _   _____                         _  _    _                                #
#     /\       | | / ____|                       | || |  | |                               #
#    /  \    __| || |  __  _   _   __ _  _ __  __| || |__| |  ___   _ __ ___    ___        #
#   / /\ \  / _` || | |_ || | | | / _` || '__|/ _` ||  __  | / _ \ | '_ ` _ \  / _ \       #
#  / ____ \| (_| || |__| || |_| || (_| || |  | (_| || |  | || (_) || | | | | ||  __/       #
# /_/    \_\\__,_| \_____| \__,_| \__,_||_|   \__,_||_|  |_| \___/ |_| |_| |_| \___|       #
#  _____              _          _  _                                                      #
# |_   _|            | |        | || |                Author:                              #
#   | |   _ __   ___ | |_  __ _ | || |  ___  _ __           SomeWhereOverTheRainBow        #
#   | |  | '_ \ / __|| __|/ _` || || | / _ \| '__|    Contributors:                        #
#  _| |_ | | | |\__ \| |_| (_| || || ||  __/| |             gspannu,thelonelycoder         #
# |_____||_| |_||___/ \__|\__,_||_||_| \___||_|       v1.0.5                               #
#                                                                                          #
############################################################################################
 Info:  Detected RT-AX88U router.
 Info:  Detected Linux platform.
 Info:  Detected ARMv8 architecture.
 Info:  JFFS custom scripts and configs are already enabled.
 Info:  DNS Environment is Ready.
 Info:  Choose what you want to do:
  1) Install/Update AdGuardHome
  2) Uninstall
  q) Quit
 =>  Please enter the number that designates your selection:, [1-2/q]: 1
 Info:  This operation will install AdGuardHome and related files (<6MB)
 Info:  to ENTWARE, no other data will be changed.
 Info:  Also some start scripts will be installed/modified as required.
 =>  Do you want to install AdGuardHome to ENTWARE? [y/n]: y
 Info:  Choose which build of AdGuardHome to install:
  1) Release
  2) Beta
  3) Edge
 =>  Select your mode, [1-3]: 3
 Info:  Downloading installer
 Info:  Downloading AdGuardHome_linux_arm64.tar.gz
./AdGuardHome/
./AdGuardHome/AdGuardHome
./AdGuardHome/LICENSE.txt
./AdGuardHome/AdGuardHome.sig
./AdGuardHome/README.md
./AdGuardHome/CHANGELOG.md
 Info:  Configure dnsmasq.postconf file
Setting flags for package apache to hold.
Setting flags for package apache-utils to hold.
 Info:  Configuring AdGuardHome...
 =>  Do you want to redirect all DNS resolutions on your network through to AdGuardHome? [y/n]: y
 Info:  DNSFilter is Already on.
 Info:  You can choose to keep any custom dnsfilter values and only redirect non-custom traffic or send all traffic through to AdGuardHome.
 =>  Do you want to redirect only SOME DNS resolutions on your network through AdGuardHome? [y/n]: y
 Info:  DNSFilter is set to control DNS through this proxy, while leaving any Custom Rules and Values.
 Info:  Requesting entries for the for AdGuardHome initial configuration...
 Info:  Set the Username and Password which will be encrypted to the yaml file.
 =>  Please enter AdGuardHome username: ##########
 =>  Please enter AdGuardHome password:
 =>  Please reenter AdGuardHome password:
 Info:  Set the DNS server(s) for initializing AdGuardHome
 Info:  and router services (e.g. ntp) at boot
 =>  Default is 9.9.9.9:
 =>  2nd Default is 8.8.8.8:
 Info:  Writing AdGuardHome configuration...
 Info:  Checking AdGuardHome configuration...
2022/01/20 20:31:17.224022 [info] AdGuard Home, version v0.108.0-a.36+5ec4a4da
2022/01/20 20:31:17.316318 [info] home.upgradeSchema0to1(): called
2022/01/20 20:31:17.316423 [info] deleting /tmp/mnt/My_Part/entware/etc/AdGuardHome/dnsfilter.txt as we don't need it anymore
2022/01/20 20:31:17.316512 [info] home.upgradeSchema1to2(): called
2022/01/20 20:31:17.316532 [info] deleting /tmp/mnt/My_Part/entware/etc/AdGuardHome/Corefile as we don't need it anymore
2022/01/20 20:31:17.316572 [info] home.upgradeSchema2to3(): called
2022/01/20 20:31:17.316627 [info] home.upgradeSchema3to4(): called
2022/01/20 20:31:17.316653 [info] home.upgradeSchema4to5(): called
2022/01/20 20:31:17.316678 [info] home.upgradeSchema5to6(): called
2022/01/20 20:31:17.316693 [info] Upgrade yaml: 6 to 7
2022/01/20 20:31:17.316708 [info] Upgrade yaml: 7 to 8
2022/01/20 20:31:17.316727 [info] Upgrade yaml: 8 to 9
2022/01/20 20:31:17.316742 [info] Upgrade yaml: 9 to 10
2022/01/20 20:31:17.316782 [info] Upgrade yaml: 10 to 11
2022/01/20 20:31:17.316801 [info] Upgrade yaml: 11 to 12
2022/01/20 20:31:17.322164 [info] configuration file is ok
2022/01/20 20:31:17.372323 [info] AdGuard Home, version v0.108.0-a.36+5ec4a4da
2022/01/20 20:31:17.434664 [info] configuration file is ok
 Info:  Starting AdGuardHome...
 Starting AdGuardHome...              done.
 Starting AdGuardHome...              done.
 Info:  AdGuardHome setup is complete.
 Info:  To visit AdGuardHome,
 Info:  please go to http://192.168.1.1:14711 .
 Info:  You can use the WebUI to change things to your liking!
 Info:  Stop by https://github.com/AdguardTeam/AdGuardHome/wiki
 Info:  for any configuration needs.
 Info:  Operation completed. You can quit or continue
=====================================================
############################################################################################
#                                             _            __  __              _  _        #
#     /\                                     | |          |  \/  |            | |(_)       #
#    /  \    ___  _   _  ___ __      __ _ __ | |_  ______ | \  / |  ___  _ __ | | _  _ __  #
#   / /\ \  / __|| | | |/ __|\ \ /\ / /| '__|| __||______|| |\/| | / _ \| '__|| || || '_ \ #
#  / ____ \ \__ \| |_| |\__ \ \ V  V / | |   | |_         | |  | ||  __/| |   | || || | | |#
# /_/    \_\|___/ \__,_||___/  \_/\_/  |_|    \__|        |_|  |_| \___||_|   |_||_||_| |_|#
#               _   _____                         _  _    _                                #
#     /\       | | / ____|                       | || |  | |                               #
#    /  \    __| || |  __  _   _   __ _  _ __  __| || |__| |  ___   _ __ ___    ___        #
#   / /\ \  / _` || | |_ || | | | / _` || '__|/ _` ||  __  | / _ \ | '_ ` _ \  / _ \       #
#  / ____ \| (_| || |__| || |_| || (_| || |  | (_| || |  | || (_) || | | | | ||  __/       #
# /_/    \_\\__,_| \_____| \__,_| \__,_||_|   \__,_||_|  |_| \___/ |_| |_| |_| \___|       #
#  _____              _          _  _                                                      #
# |_   _|            | |        | || |                Author:                              #
#   | |   _ __   ___ | |_  __ _ | || |  ___  _ __           SomeWhereOverTheRainBow        #
#   | |  | '_ \ / __|| __|/ _` || || | / _ \| '__|    Contributors:                        #
#  _| |_ | | | |\__ \| |_| (_| || || ||  __/| |             gspannu,thelonelycoder         #
# |_____||_| |_||___/ \__|\__,_||_||_| \___||_|       v1.0.5                               #
#                                                                                          #
############################################################################################
 Info:  Detected RT-AX88U router.
 Info:  Detected Linux platform.
 Info:  Detected ARMv8 architecture.
 Info:  JFFS custom scripts and configs are already enabled.
 Info:  DNS Environment is Ready.
 Info:  AI_VERSION=v1.0.5
 Info:  ADGUARDHOME_VER=v0.108.0-a.36+5ec4a4da
 Info:  If desired, run Option 1 of the Installer to upgrade AdGuardHome.
 Info:  To visit AdGuardHome,
 Info:  please go to http://192.168.1.1:14711 .
 Info:  You can use the WebUI to change things to your liking!
 Info:  Stop by https://github.com/AdguardTeam/AdGuardHome/wiki
 Info:  for any configuration needs.
 Info:  Choose what you want to do:
  1) Install/Update AdGuardHome
  2) Uninstall
  b) Backup
  q) Quit
 =>  Please enter the number that designates your selection:, [1-2/b/q]:
 
Last edited:
Any gamers here using Adguard Home while playing online games? I had to go back to Diversion since I noticed some lag on some of my wireless gaming devices. I'm thinking it might be due to using some of the blocking list that I was using, however, when I use Diversion, I use the medium playlist and I don't notice any lag when gaming. Just wondering if anyone has noticed any lag while using Adguard Home?
A lot of it has to do with the style blocking adguardhome uses. Filters can be quite powerful. (sometimes over powerful.) If you got the link to the medium lists used, you should be able to just use it the same way. (instead of using filter style list.)
 
Release v1.0.5
Changelog:
Code:
* Remove Github url for binaries.
* Add in Branch specifics.
* Create installer.md5sum
* Update installer
* Add support for different adguardhome builds. (Still a little more work needed)
* Finish the changes for different build support.
* Fix syntax errors
* Update installer.md5sum

In a nutshell every one should be able to pick what build they want now.



Code:
############################################################################################
#                                             _            __  __              _  _        #
#     /\                                     | |          |  \/  |            | |(_)       #
#    /  \    ___  _   _  ___ __      __ _ __ | |_  ______ | \  / |  ___  _ __ | | _  _ __  #
#   / /\ \  / __|| | | |/ __|\ \ /\ / /| '__|| __||______|| |\/| | / _ \| '__|| || || '_ \ #
#  / ____ \ \__ \| |_| |\__ \ \ V  V / | |   | |_         | |  | ||  __/| |   | || || | | |#
# /_/    \_\|___/ \__,_||___/  \_/\_/  |_|    \__|        |_|  |_| \___||_|   |_||_||_| |_|#
#               _   _____                         _  _    _                                #
#     /\       | | / ____|                       | || |  | |                               #
#    /  \    __| || |  __  _   _   __ _  _ __  __| || |__| |  ___   _ __ ___    ___        #
#   / /\ \  / _` || | |_ || | | | / _` || '__|/ _` ||  __  | / _ \ | '_ ` _ \  / _ \       #
#  / ____ \| (_| || |__| || |_| || (_| || |  | (_| || |  | || (_) || | | | | ||  __/       #
# /_/    \_\\__,_| \_____| \__,_| \__,_||_|   \__,_||_|  |_| \___/ |_| |_| |_| \___|       #
#  _____              _          _  _                                                      #
# |_   _|            | |        | || |                Author:                              #
#   | |   _ __   ___ | |_  __ _ | || |  ___  _ __           SomeWhereOverTheRainBow        #
#   | |  | '_ \ / __|| __|/ _` || || | / _ \| '__|    Contributors:                        #
#  _| |_ | | | |\__ \| |_| (_| || || ||  __/| |             gspannu,thelonelycoder         #
# |_____||_| |_||___/ \__|\__,_||_||_| \___||_|       v1.0.5                               #
#                                                                                          #
############################################################################################
Info:  Detected RT-AX88U router.
Info:  Detected Linux platform.
Info:  Detected ARMv8 architecture.
Info:  JFFS custom scripts and configs are already enabled.
Info:  DNS Environment is Ready.
Info:  Choose what you want to do:
  1) Install/Update AdGuardHome
  2) Uninstall
  q) Quit
=>  Please enter the number that designates your selection:, [1-2/q]: 1
Info:  This operation will install AdGuardHome and related files (<6MB)
Info:  to ENTWARE, no other data will be changed.
Info:  Also some start scripts will be installed/modified as required.
=>  Do you want to install AdGuardHome to ENTWARE? [y/n]: y
Info:  Choose which build of AdGuardHome to install:
  1) Release
  2) Beta
  3) Edge
=>  Select your mode, [1-3]: 3
Info:  Downloading installer
Info:  Downloading AdGuardHome_linux_arm64.tar.gz
./AdGuardHome/
./AdGuardHome/AdGuardHome
./AdGuardHome/LICENSE.txt
./AdGuardHome/AdGuardHome.sig
./AdGuardHome/README.md
./AdGuardHome/CHANGELOG.md
Info:  Configure dnsmasq.postconf file
Setting flags for package apache to hold.
Setting flags for package apache-utils to hold.
Info:  Configuring AdGuardHome...
=>  Do you want to redirect all DNS resolutions on your network through to AdGuardHome? [y/n]: y
Info:  DNSFilter is Already on.
Info:  You can choose to keep any custom dnsfilter values and only redirect non-custom traffic or send all traffic through to AdGuardHome.
=>  Do you want to redirect only SOME DNS resolutions on your network through AdGuardHome? [y/n]: y
Info:  DNSFilter is set to control DNS through this proxy, while leaving any Custom Rules and Values.
Info:  Requesting entries for the for AdGuardHome initial configuration...
Info:  Set the Username and Password which will be encrypted to the yaml file.
=>  Please enter AdGuardHome username: ##########
=>  Please enter AdGuardHome password:
=>  Please reenter AdGuardHome password:
Info:  Set the DNS server(s) for initializing AdGuardHome
Info:  and router services (e.g. ntp) at boot
=>  Default is 9.9.9.9:
=>  2nd Default is 8.8.8.8:
Info:  Writing AdGuardHome configuration...
Info:  Checking AdGuardHome configuration...
2022/01/20 20:31:17.224022 [info] AdGuard Home, version v0.108.0-a.36+5ec4a4da
2022/01/20 20:31:17.316318 [info] home.upgradeSchema0to1(): called
2022/01/20 20:31:17.316423 [info] deleting /tmp/mnt/My_Part/entware/etc/AdGuardHome/dnsfilter.txt as we don't need it anymore
2022/01/20 20:31:17.316512 [info] home.upgradeSchema1to2(): called
2022/01/20 20:31:17.316532 [info] deleting /tmp/mnt/My_Part/entware/etc/AdGuardHome/Corefile as we don't need it anymore
2022/01/20 20:31:17.316572 [info] home.upgradeSchema2to3(): called
2022/01/20 20:31:17.316627 [info] home.upgradeSchema3to4(): called
2022/01/20 20:31:17.316653 [info] home.upgradeSchema4to5(): called
2022/01/20 20:31:17.316678 [info] home.upgradeSchema5to6(): called
2022/01/20 20:31:17.316693 [info] Upgrade yaml: 6 to 7
2022/01/20 20:31:17.316708 [info] Upgrade yaml: 7 to 8
2022/01/20 20:31:17.316727 [info] Upgrade yaml: 8 to 9
2022/01/20 20:31:17.316742 [info] Upgrade yaml: 9 to 10
2022/01/20 20:31:17.316782 [info] Upgrade yaml: 10 to 11
2022/01/20 20:31:17.316801 [info] Upgrade yaml: 11 to 12
2022/01/20 20:31:17.322164 [info] configuration file is ok
2022/01/20 20:31:17.372323 [info] AdGuard Home, version v0.108.0-a.36+5ec4a4da
2022/01/20 20:31:17.434664 [info] configuration file is ok
Info:  Starting AdGuardHome...
Starting AdGuardHome...              done.
Starting AdGuardHome...              done.
Info:  AdGuardHome setup is complete.
Info:  To visit AdGuardHome,
Info:  please go to http://192.168.1.1:14711 .
Info:  You can use the WebUI to change things to your liking!
Info:  Stop by https://github.com/AdguardTeam/AdGuardHome/wiki
Info:  for any configuration needs.
Info:  Operation completed. You can quit or continue
=====================================================
############################################################################################
#                                             _            __  __              _  _        #
#     /\                                     | |          |  \/  |            | |(_)       #
#    /  \    ___  _   _  ___ __      __ _ __ | |_  ______ | \  / |  ___  _ __ | | _  _ __  #
#   / /\ \  / __|| | | |/ __|\ \ /\ / /| '__|| __||______|| |\/| | / _ \| '__|| || || '_ \ #
#  / ____ \ \__ \| |_| |\__ \ \ V  V / | |   | |_         | |  | ||  __/| |   | || || | | |#
# /_/    \_\|___/ \__,_||___/  \_/\_/  |_|    \__|        |_|  |_| \___||_|   |_||_||_| |_|#
#               _   _____                         _  _    _                                #
#     /\       | | / ____|                       | || |  | |                               #
#    /  \    __| || |  __  _   _   __ _  _ __  __| || |__| |  ___   _ __ ___    ___        #
#   / /\ \  / _` || | |_ || | | | / _` || '__|/ _` ||  __  | / _ \ | '_ ` _ \  / _ \       #
#  / ____ \| (_| || |__| || |_| || (_| || |  | (_| || |  | || (_) || | | | | ||  __/       #
# /_/    \_\\__,_| \_____| \__,_| \__,_||_|   \__,_||_|  |_| \___/ |_| |_| |_| \___|       #
#  _____              _          _  _                                                      #
# |_   _|            | |        | || |                Author:                              #
#   | |   _ __   ___ | |_  __ _ | || |  ___  _ __           SomeWhereOverTheRainBow        #
#   | |  | '_ \ / __|| __|/ _` || || | / _ \| '__|    Contributors:                        #
#  _| |_ | | | |\__ \| |_| (_| || || ||  __/| |             gspannu,thelonelycoder         #
# |_____||_| |_||___/ \__|\__,_||_||_| \___||_|       v1.0.5                               #
#                                                                                          #
############################################################################################
Info:  Detected RT-AX88U router.
Info:  Detected Linux platform.
Info:  Detected ARMv8 architecture.
Info:  JFFS custom scripts and configs are already enabled.
Info:  DNS Environment is Ready.
Info:  AI_VERSION=v1.0.5
Info:  ADGUARDHOME_VER=v0.108.0-a.36+5ec4a4da
Info:  If desired, run Option 1 of the Installer to upgrade AdGuardHome.
Info:  To visit AdGuardHome,
Info:  please go to http://192.168.1.1:14711 .
Info:  You can use the WebUI to change things to your liking!
Info:  Stop by https://github.com/AdguardTeam/AdGuardHome/wiki
Info:  for any configuration needs.
Info:  Choose what you want to do:
  1) Install/Update AdGuardHome
  2) Uninstall
  b) Backup
  q) Quit
=>  Please enter the number that designates your selection:, [1-2/b/q]:
Just a heads up, I passed a patch to fix a few minor cosmetic things that were bugging me.
 
Just a heads up - my problem with spamming the system-log with i/o timeout messages is gone with the newest edge-version of adguard - thanks again for the new install-script.
best regards
 
I have another feature suggestion for your installer script...

If you want to use DoT like me you have to manually set an entry into the iptables and the Firewall-Start script to open the DoT port to the router itself (additionally to the port-forward).

Would be nice if your script could set this up - I even don't know if the way I made it is the "best" way... it works - but maybe there is another way or a more secure way...

Best regards
 
I have another feature suggestion for your installer script...

If you want to use DoT like me you have to manually set an entry into the iptables and the Firewall-Start script to open the DoT port to the router itself (additionally to the port-forward).

Would be nice if your script could set this up - I even don't know if the way I made it is the "best" way... it works - but maybe there is another way or a more secure way...

Best regards
I don't really plan on it, not because I don't think it is a great idea, but I don't want to just start throwing extra features around that confuses people that wouldn't normally run such. I don't want the general user space to think that just because the option is available during install time, that it is something they necessarily must do. For starters, not very many people necessarily need to run a dedicated DoT, DoH, DoQ, or Dnscrypt Server. A simple openvpn site to site tunnel (or even split tunnel) connection through the Asuswrt-Merlin is able to do the same thing, if not better, because the entire connection between the server and the client is completely encrypted, as oppose to using AdGuardHome as a dedicated server that any one who knows the address to can gain access to.
 
Regarding uninstall. I don‘t have “lan” domain, I tried to install and it automatically configures “lan”, but when I try to uninstall it didn’t remove the “lan” config.
 
Regarding uninstall. I don‘t have “lan” domain, I tried to install and it automatically configures “lan”, but when I try to uninstall it didn’t remove the “lan” config.
Awesome find, I can set it up to remove on update, but it is added so the adguardhome can properly identify hostnames of local clients through reverse lookups. You are welcome to clear it yourself by going to your router's dhcp page and deleting the lan entry from domain spot.
 
So now Adguard works so far on the router after DNSCrypt was disabled.

I have now noticed that only simple DNS queries are in the connection log. I assumed that I simply activate a checkbox and the connection is then transmitted encrypted. (Similar to DNYCrypt over amtm) Can it be that this only works if I in
Settings >Encryption settings a certificate?

I have now longer searched but no way found with a Windows pc to create such a certificate, I must admit that I would have but without a Youtube video there difficulties.
Would anyone have instructions for the variant?

lg.
 

Attachments

  • dns.JPG
    dns.JPG
    32.1 KB · Views: 127
  • dns1.JPG
    dns1.JPG
    42 KB · Views: 123
Was trying to do a fresh setup on a RT-AC86U but encounter the following error.

Anyone has any idea what is this about? Had even gone to the extend of doing a factory reset of the router as well.

screenshot-newtab-2022.01.23-00_17_30.png
 
Was trying to do a fresh setup on a RT-AC86U but encounter the following error.

Anyone has any idea what is this about? Had even gone to the extend of doing a factory reset of the router as well.

View attachment 38797

Seems the download URL it builds is no longer valid. Looking to see what to change it to so I can install.

It isn't the URL but the check for branch before it downloads. I forced it, but the version of Adguard it downloads seems to heap crash for me.
 
Last edited:
Was trying to do a fresh setup on a RT-AC86U but encounter the following error.

Anyone has any idea what is this about? Had even gone to the extend of doing a factory reset of the router as well.

View attachment 38797
This is what I have been getting for the last few days when trying to install. Back to Diversion for the time being.
 
first run uninstall option, then try installing using this link

Code:
curl -L -s -k -O https://raw.githubusercontent.com/jumpsmm7/Asuswrt-Merlin-AdGuardHome-Installer/master/installer && sh installer ; rm installer
 
Was trying to do a fresh setup on a RT-AC86U but encounter the following error.

Anyone has any idea what is this about? Had even gone to the extend of doing a factory reset of the router as well.

View attachment 38797
For what your picture shows, it has determined you have not successfully downloaded AdGuardHome.

Code:
  if [ ! -d "${TARG_DIR}" ] || [ ! -f "${TARG_DIR}/AdGuardHome" ]; then
    PTXT "$ERROR AdGuardHome is not installed. Aborting..."
    end_op_message
    return
  fi

one line of code checks for this. if it is not installed, we back out.
 
Seems the download URL it builds is no longer valid. Looking to see what to change it to so I can install.

It isn't the URL but the check for branch before it downloads. I forced it, but the version of Adguard it downloads seems to heap crash for me.
I guarentee you the links are very much alive. They are the same one used by adguardhomes .sh installer, that they use themselves.
 
Was trying to do a fresh setup on a RT-AC86U but encounter the following error.

Anyone has any idea what is this about? Had even gone to the extend of doing a factory reset of the router as well.

View attachment 38797
Seems the download URL it builds is no longer valid. Looking to see what to change it to so I can install.

It isn't the URL but the check for branch before it downloads. I forced it, but the version of Adguard it downloads seems to heap crash for me.
I just released a patch that should resolve all the issues.
 
Code:
############################################################################################
#                                             _            __  __              _  _        #
#     /\                                     | |          |  \/  |            | |(_)       #
#    /  \    ___  _   _  ___ __      __ _ __ | |_  ______ | \  / |  ___  _ __ | | _  _ __  #
#   / /\ \  / __|| | | |/ __|\ \ /\ / /| '__|| __||______|| |\/| | / _ \| '__|| || || '_ \ #
#  / ____ \ \__ \| |_| |\__ \ \ V  V / | |   | |_         | |  | ||  __/| |   | || || | | |#
# /_/    \_\|___/ \__,_||___/  \_/\_/  |_|    \__|        |_|  |_| \___||_|   |_||_||_| |_|#
#               _   _____                         _  _    _                                #
#     /\       | | / ____|                       | || |  | |                               #
#    /  \    __| || |  __  _   _   __ _  _ __  __| || |__| |  ___   _ __ ___    ___        #
#   / /\ \  / _` || | |_ || | | | / _` || '__|/ _` ||  __  | / _ \ | '_ ` _ \  / _ \       #
#  / ____ \| (_| || |__| || |_| || (_| || |  | (_| || |  | || (_) || | | | | ||  __/       #
# /_/    \_\\__,_| \_____| \__,_| \__,_||_|   \__,_||_|  |_| \___/ |_| |_| |_| \___|       #
#  _____              _          _  _                                                      #
# |_   _|            | |        | || |                Author:                              #
#   | |   _ __   ___ | |_  __ _ | || |  ___  _ __           SomeWhereOverTheRainBow        #
#   | |  | '_ \ / __|| __|/ _` || || | / _ \| '__|    Contributors:                        #
#  _| |_ | | | |\__ \| |_| (_| || || ||  __/| |             gspannu,thelonelycoder         #
# |_____||_| |_||___/ \__|\__,_||_||_| \___||_|       v1.0.5                               #
#                                                                                          #
############################################################################################
Info:  Detected RT-AX88U router.
Info:  Detected Linux platform.
Info:  Detected ARMv8 architecture.
Info:  JFFS custom scripts and configs are already enabled.
Info:  DNS Environment is Ready.
Info:  Choose what you want to do:
  1) Install/Update AdGuardHome
  2) Uninstall
  q) Quit
=>  Please enter the number that designates your selection:, [1-2/q]: 1
Info:  This operation will install AdGuardHome and related files (<6MB)
Info:  to ENTWARE, no other data will be changed.
Info:  Also some start scripts will be installed/modified as required.
=>  Do you want to install AdGuardHome to ENTWARE? [y/n]: y
Info:  Choose which build of AdGuardHome to install:
  1) Release
  2) Beta
  3) Edge
=>  Select your mode, [1-3]: 1
Info:  Downloading installer
Info:  Downloading AdGuardHome_linux_arm64.tar.gz
./AdGuardHome/
./AdGuardHome/AdGuardHome
./AdGuardHome/LICENSE.txt
./AdGuardHome/AdGuardHome.sig
./AdGuardHome/README.md
./AdGuardHome/CHANGELOG.md
Info:  Configure dnsmasq.postconf file
Setting flags for package apache to hold.
Setting flags for package apache-utils to hold.
Info:  Configuring AdGuardHome...
=>  Do you want to redirect all DNS resolutions on your network through to AdGuardHome? [y/n]: y
Info:  DNSFilter is Already on.
Info:  You can choose to keep any custom dnsfilter values and only redirect non-custom traffic or send all traffic through to AdGuardHome.
=>  Do you want to redirect only SOME DNS resolutions on your network through AdGuardHome? [y/n]: y
Info:  DNSFilter is set to control DNS through this proxy, while leaving any Custom Rules and Values.
Info:  Requesting entries for the for AdGuardHome initial configuration...
Info:  Set the Username and Password which will be encrypted to the yaml file.
=>  Please enter AdGuardHome username: **************
=>  Please enter AdGuardHome password:
=>  Please reenter AdGuardHome password:
Info:  Set the DNS server(s) for initializing AdGuardHome
Info:  and router services (e.g. ntp) at boot
=>  Default is 9.9.9.9:
=>  2nd Default is 8.8.8.8:
Info:  Writing AdGuardHome configuration...
Info:  Checking AdGuardHome configuration...
2022/01/22 20:24:24.425005 [info] AdGuard Home, version v0.107.2
2022/01/22 20:24:24.542528 [info] home.upgradeSchema0to1(): called
2022/01/22 20:24:24.543556 [info] deleting /tmp/mnt/My_Part/entware/etc/AdGuardHome/dnsfilter.txt as we don't need it anymore
2022/01/22 20:24:24.543687 [info] home.upgradeSchema1to2(): called
2022/01/22 20:24:24.543706 [info] deleting /tmp/mnt/My_Part/entware/etc/AdGuardHome/Corefile as we don't need it anymore
2022/01/22 20:24:24.543747 [info] home.upgradeSchema2to3(): called
2022/01/22 20:24:24.543809 [info] home.upgradeSchema3to4(): called
2022/01/22 20:24:24.543836 [info] home.upgradeSchema4to5(): called
2022/01/22 20:24:24.543861 [info] home.upgradeSchema5to6(): called
2022/01/22 20:24:24.543876 [info] Upgrade yaml: 6 to 7
2022/01/22 20:24:24.543890 [info] Upgrade yaml: 7 to 8
2022/01/22 20:24:24.543910 [info] Upgrade yaml: 8 to 9
2022/01/22 20:24:24.543925 [info] Upgrade yaml: 9 to 10
2022/01/22 20:24:24.543969 [info] Upgrade yaml: 10 to 11
2022/01/22 20:24:24.543988 [info] Upgrade yaml: 11 to 12
2022/01/22 20:24:24.550833 [info] configuration file is ok
2022/01/22 20:24:24.608175 [info] AdGuard Home, version v0.107.2
2022/01/22 20:24:24.714091 [info] configuration file is ok
Info:  Starting AdGuardHome...
Starting AdGuardHome...              done.
Starting AdGuardHome...              done.
Info:  AdGuardHome setup is complete.
Info:  To visit AdGuardHome,
Info:  please go to http://192.168.1.1:14711 .
Info:  You can use the WebUI to change things to your liking!
Info:  Stop by https://github.com/AdguardTeam/AdGuardHome/wiki
Info:  for any configuration needs.
Info:  Operation completed. You can quit or continue
=====================================================
############################################################################################
#                                             _            __  __              _  _        #
#     /\                                     | |          |  \/  |            | |(_)       #
#    /  \    ___  _   _  ___ __      __ _ __ | |_  ______ | \  / |  ___  _ __ | | _  _ __  #
#   / /\ \  / __|| | | |/ __|\ \ /\ / /| '__|| __||______|| |\/| | / _ \| '__|| || || '_ \ #
#  / ____ \ \__ \| |_| |\__ \ \ V  V / | |   | |_         | |  | ||  __/| |   | || || | | |#
# /_/    \_\|___/ \__,_||___/  \_/\_/  |_|    \__|        |_|  |_| \___||_|   |_||_||_| |_|#
#               _   _____                         _  _    _                                #
#     /\       | | / ____|                       | || |  | |                               #
#    /  \    __| || |  __  _   _   __ _  _ __  __| || |__| |  ___   _ __ ___    ___        #
#   / /\ \  / _` || | |_ || | | | / _` || '__|/ _` ||  __  | / _ \ | '_ ` _ \  / _ \       #
#  / ____ \| (_| || |__| || |_| || (_| || |  | (_| || |  | || (_) || | | | | ||  __/       #
# /_/    \_\\__,_| \_____| \__,_| \__,_||_|   \__,_||_|  |_| \___/ |_| |_| |_| \___|       #
#  _____              _          _  _                                                      #
# |_   _|            | |        | || |                Author:                              #
#   | |   _ __   ___ | |_  __ _ | || |  ___  _ __           SomeWhereOverTheRainBow        #
#   | |  | '_ \ / __|| __|/ _` || || | / _ \| '__|    Contributors:                        #
#  _| |_ | | | |\__ \| |_| (_| || || ||  __/| |             gspannu,thelonelycoder         #
# |_____||_| |_||___/ \__|\__,_||_||_| \___||_|       v1.0.5                               #
#                                                                                          #
############################################################################################
Info:  Detected RT-AX88U router.
Info:  Detected Linux platform.
Info:  Detected ARMv8 architecture.
Info:  JFFS custom scripts and configs are already enabled.
Info:  DNS Environment is Ready.
Info:  AI_VERSION=v1.0.5
Info:  ADGUARDHOME_BUILD=Release
Info:  ADGUARDHOME_VER=v0.107.2
Info:  If desired, run Option 1 of the Installer to upgrade AdGuardHome.
Info:  To visit AdGuardHome,
Info:  please go to http://192.168.1.1:14711 .
Info:  You can use the WebUI to change things to your liking!
Info:  Stop by https://github.com/AdguardTeam/AdGuardHome/wiki
Info:  for any configuration needs.
Info:  Choose what you want to do:
  1) Install/Update AdGuardHome
  2) Uninstall
  b) Backup
  q) Quit
=>  Please enter the number that designates your selection:, [1-2/b/q]:
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top