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!

You are out of memory as far as how much space your router ram can allocate allowing the install process.

run the command

Code:
free

and post the output.

should look something like this

Code:
/tmp/home/root# free
             total       used       free     shared    buffers     cached
Mem:        903544     608292     295252       7536       8000      68312
-/+ buffers/cache:     531980     371564
Swap:      2097148          0    2097148
Thanks, I managed to fix the issue by enabling swap
 
The internet check is buggy if you already have a custom DNS server like pihole/asus router is in bridged mode.

I'd just check curl of the actual adguard release instead of an oddball nslookup.
great Idea,

but also not every one has your scenario, the way the installer puts AdGuardHome onto the router is in such away that the router is acting as the router and not a bridge (or access point mode).

** Edit **


Here is the guide you should be focused on using because this installer is only meant for installing AdGuardHome onto Asuswrt-Merlin routers running in router mode. By using this guide, you can piecemeal install your way to having an AdGuardHome solution, on your bridge or accesspoint. Though I do recommend not creating a missconfigured DNS by overlapping pihole and AdGuardHome.
 
Last edited:
Will it fix it automatically? or do we need to uninstall and re-install? Or can I just rename the file to S99...?
just run update/ option 1, your current configuration will remain untouched. BTW you can also choose if you want to use a different build, such as edge for example


You may also want to install using the install link on the first post so you are using a fresh version of the installer.


Code:
curl -L -s -k -O https://raw.githubusercontent.com/jumpsmm7/Asuswrt-Merlin-AdGuardHome-Installer/master/installer && sh installer ; rm installer
 
Last edited:
I can add something but keep in mind it will be a bandaid solution, but first I need to know is it specific time it happens? Are there alot of cronjobs running? What does the system logs look like around the time it happens?

Just to share that is hasn't happened for a few days now. It seems to have done this while I was configuring it and was getting some errors with unbound not configured properly. I have a theory that it was related to a number of devices hammering on DNS.

But being a very important service, it would be great if there was some restart protection just in case.

Thanks.
 
Just to share that is hasn't happened for a few days now. It seems to have done this while I was configuring it and was getting some errors with unbound not configured properly. I have a theory that it was related to a number of devices hammering on DNS.

But being a very important service, it would be great if there was some restart protection just in case.

Thanks.
Yea it has already been added. It gets checked every 3 hours by a cronjob. you can look at S99 and what I have concocted. It should suffice for all occasions. except timezone
 
Just to share that is hasn't happened for a few days now. It seems to have done this while I was configuring it and was getting some errors with unbound not configured properly. I have a theory that it was related to a number of devices hammering on DNS.

But being a very important service, it would be great if there was some restart protection just in case.

Thanks.
So AdguardHome only reads timezone format when it is passed like this "America/Eastern". I have caused a stir in the GO community to try to get it to where now the GO libraries can properly parse our asus router timezone format.




Also, they are in the works of making a "packager" style install method, so I will no longer have to have a make shift method for setting up the .YAML files.


 
Saw that a version (1.09) has been pushed.

Did an update and while the installer was doing the internet check, observed the following in the logs. Not sure if this was a intended behaviour or is an exception

Code:
Jan 28 10:31:24 RT-AC86U-7510 dnsmasq[23147]: using only locally-known addresses for _dns.resolver.arpa
Jan 28 10:31:24 RT-AC86U-7510 dnsmasq[23147]: using only locally-known addresses for use-application-dns.net
Jan 28 10:31:24 RT-AC86U-7510 dnsmasq[23147]: using only locally-known addresses for kylim-home
Jan 28 10:31:30 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 2/11)
Jan 28 10:31:37 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 3/10)
Jan 28 10:31:44 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 4/9)
Jan 28 10:31:51 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 5/8)
Jan 28 10:31:58 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 6/7)
Jan 28 10:32:05 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 7/6)
Jan 28 10:32:13 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 8/5)
Jan 28 10:32:20 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 9/4)
Jan 28 10:32:27 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 10/3)
Jan 28 10:32:34 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 11/2)
Jan 28 10:32:41 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 12/1)
Jan 28 10:32:48 RT-AC86U-7510 S99AdGuardHome[22738]: Internet remains inactive; continuing anyway.
Jan 28 10:32:48 RT-AC86U-7510 S99AdGuardHome[22738]: AdGuardHome has been started. Adding all checks.
Jan 28 02:32:48 RT-AC86U-7510 AdGuardHome[24907]: 2022/01/28 02:32:48.217922 [info] AdGuard Home, version v0.107.3
Jan 28 02:32:48 RT-AC86U-7510 AdGuardHome[24907]: 2022/01/28 02:32:48.217991 [info] AdGuard Home is running as a service
 
Saw that a version (1.09) has been pushed.

Did an update and while the installer was doing the internet check, observed the following in the logs. Not sure if this was a intended behaviour or is an exception

Code:
Jan 28 10:31:24 RT-AC86U-7510 dnsmasq[23147]: using only locally-known addresses for _dns.resolver.arpa
Jan 28 10:31:24 RT-AC86U-7510 dnsmasq[23147]: using only locally-known addresses for use-application-dns.net
Jan 28 10:31:24 RT-AC86U-7510 dnsmasq[23147]: using only locally-known addresses for kylim-home
Jan 28 10:31:30 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 2/11)
Jan 28 10:31:37 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 3/10)
Jan 28 10:31:44 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 4/9)
Jan 28 10:31:51 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 5/8)
Jan 28 10:31:58 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 6/7)
Jan 28 10:32:05 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 7/6)
Jan 28 10:32:13 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 8/5)
Jan 28 10:32:20 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 9/4)
Jan 28 10:32:27 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 10/3)
Jan 28 10:32:34 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 11/2)
Jan 28 10:32:41 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 12/1)
Jan 28 10:32:48 RT-AC86U-7510 S99AdGuardHome[22738]: Internet remains inactive; continuing anyway.
Jan 28 10:32:48 RT-AC86U-7510 S99AdGuardHome[22738]: AdGuardHome has been started. Adding all checks.
Jan 28 02:32:48 RT-AC86U-7510 AdGuardHome[24907]: 2022/01/28 02:32:48.217922 [info] AdGuard Home, version v0.107.3
Jan 28 02:32:48 RT-AC86U-7510 AdGuardHome[24907]: 2022/01/28 02:32:48.217991 [info] AdGuard Home is running as a service
looks like the counter bugged out a little bit , but other wise yes. I will have to fix the counter.
 
Saw that a version (1.09) has been pushed.

Did an update and while the installer was doing the internet check, observed the following in the logs. Not sure if this was a intended behaviour or is an exception

Code:
Jan 28 10:31:24 RT-AC86U-7510 dnsmasq[23147]: using only locally-known addresses for _dns.resolver.arpa
Jan 28 10:31:24 RT-AC86U-7510 dnsmasq[23147]: using only locally-known addresses for use-application-dns.net
Jan 28 10:31:24 RT-AC86U-7510 dnsmasq[23147]: using only locally-known addresses for kylim-home
Jan 28 10:31:30 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 2/11)
Jan 28 10:31:37 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 3/10)
Jan 28 10:31:44 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 4/9)
Jan 28 10:31:51 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 5/8)
Jan 28 10:31:58 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 6/7)
Jan 28 10:32:05 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 7/6)
Jan 28 10:32:13 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 8/5)
Jan 28 10:32:20 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 9/4)
Jan 28 10:32:27 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 10/3)
Jan 28 10:32:34 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 11/2)
Jan 28 10:32:41 RT-AC86U-7510 S99AdGuardHome[22738]: Waiting for the internet (attempt 12/1)
Jan 28 10:32:48 RT-AC86U-7510 S99AdGuardHome[22738]: Internet remains inactive; continuing anyway.
Jan 28 10:32:48 RT-AC86U-7510 S99AdGuardHome[22738]: AdGuardHome has been started. Adding all checks.
Jan 28 02:32:48 RT-AC86U-7510 AdGuardHome[24907]: 2022/01/28 02:32:48.217922 [info] AdGuard Home, version v0.107.3
Jan 28 02:32:48 RT-AC86U-7510 AdGuardHome[24907]: 2022/01/28 02:32:48.217991 [info] AdGuard Home is running as a service
Fixed and pushed v1.1.0
 
I found away to get timezone to work. I am baking it into the installer as we speak.
v1.1.1 is released.
The changes include the addition of timezone selection. During install/update process. (run option 1). You will only be asked 1 time to do this.
Sorry the list of timezones is 424 long, but at least it is hot and entware fresh off the opkg press.
1643356887305.png
 
Last edited:
Hi,I just upgraded install script and got a warning: *** Error: You are not running in router mode, sorry.

Can you remove the restriction? Thanks.

I installed adguardhome on AX86U before, it is the slave router of AIMESH.

And I specify the IP of the AX86U in the DHCP DNS settings of the AIMESH main router (AC88U). It works fine.
 
Hi,I just upgraded install script and got a warning: *** Error: You are not running in router mode, sorry.

Can you remove the restriction? Thanks.

I installed adguardhome on AX86U before, it is the slave router of AIMESH.

And I specify the IP of the AX86U in the DHCP DNS settings of the AIMESH main router (AC88U). It works fine.
Though it may have worked when the restriction was not added, this installer is not intended for access points. It is specifically designed to hook into the "router" in router mode.
The original intentions or design of the installer were intend for this purpose, thus why the restriction was added.

If you wish to set it up you can follow one these guides and adjust according to your setup.

 
Though it may have worked when the restriction was not added, this installer is not intended for access points. It is specifically designed to hook into the "router" in router mode.
The original intentions or design of the installer were intend for this purpose, thus why the restriction was added.

If you wish to set it up you can follow one these guides and adjust according to your setup.

OK, I see. Thanks.
 
v1.1.1 is released.
The changes include the addition of timezone selection. During install/update process. (run option 1). You will only be asked 1 time to do this.

Updated to the new version with no issue though in the first attempt, there was no prompt to set the timezone. Had to re-run the installer again and the prompt was there.

AdGuardHome logs are now showing the correct time based on the timezone.
 
Updated to the new version with no issue though in the first attempt, there was no prompt to set the timezone. Had to re-run the installer again and the prompt was there.

AdGuardHome logs are now showing the correct time based on the timezone.
Yea that is a kink with using amtm to update. I need to work it out with @thelonelycoder . It would be nice if amtm fetched a new installer when it detects an update for it.

Currently the only way to do that is to use the installer link on the first page. At some point here soon I will put a update function that is specific to the installer.
 

Similar threads

Latest 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