What's new

amtm amtm - the Asuswrt-Merlin Terminal Menu

  • 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!

Equilibrium, word for today, equilibrium! ;-)
(Don’t mind me, haven’t had my morning coffee yet....)
My quiet morning coffee today on the balcony's bench was interrupted with speechlessness and the realization that this day might bring new insights into things.
It did.
 
@thelonelycoder .....any chance unbound can be added to the amtm install list? It seems quite intriguing.....just a friendly wonder.....your efforts are appreciated in any case!
This thread https://www.snbforums.com/threads/unbound-authoritative-recursive-caching-dns-server.58967/ has steps for the manual installation of Unbound. For it to be included in amtm there would have to be an automatic and menu driven install method just like all the other third party scripts amtm features.
 
I wanted to install stubbydns with amtm but I don't see it as a option.

I just updated AMTM to version 3.0, do I need to do anything else?
 
I wanted to install stubbydns with amtm but I don't see it as a option.

I just updated AMTM to version 3.0, do I need to do anything else?
It is abandoned since DNS over TLS in included in Asuswrt-Merlin.
 
It is abandoned since DNS over TLS in included in Asuswrt-Merlin.
Butterfly Bones,
What do i have to click enable dns over TLS.
Basically i wanted when I am connected over VPN that my dns entries don't leak (dnsleak.com) and resolve firstly via my dnsmasq then via regular DNS.

I added websites to block via Diversion and wanted them to apply over VPN and my dns to not leak.

I am still blocking via skynet on top so they don't get accessed.
This article > https://x3mtek.com/policy-rule-routing-on-asuswrt-merlin-firmware/

I believe i need to set Accept DNS to Disabled.

As If i set it strict, the dns shows my current home DNS, it would only work on exclusive
 
Butterfly Bones,
What do i have to click enable dns over TLS.
Basically i wanted when I am connected over VPN that my dns entries don't leak (dnsleak.com) and resolve firstly via my dnsmasq then via regular DNS.

I am still blocking via skynet on top so they don't get accessed.
This article > https://x3mtek.com/dns-over-tls-with-dnsmasq-and-stubby-on-asuswrt-merlin/
In your VPN Client, set the "Accept DNS Configuration" line to Disabled. That way the VPN will not force VPN connections to VPN DNS and the router settings control what is used for DNS.
 
In your VPN Client, set the "Accept DNS Configuration" line to Disabled. That way the VPN will not force VPN connections to VPN DNS and the router settings control what is used for DNS.
But I dont tthink that is right.
Then the DNS I get from ping when connected to the VPN is the actual IP of the site and not (192.168.2.2) as setup by diversion.
 
@thelonelycoder

Minor issue - it appears amtm seems to have a display issue if the a new script when added to the menu contains variables in the form '*VERSION=' ?

upload_2019-12-18_16-56-30.png
 
@thelonelycoder

Minor issue - it appears amtm seems to have a display issue if the a new script when added to the menu contains variables in the form '*VERSION=' ?

View attachment 20349
Obviously, this is caused by unofficial shoddy code :D
Look at the FreshJR code how to use $localVother and $remoteVother for exceptions to the rule.
 
Obviously, this is caused by unofficial shoddy code :D
Look at the FreshJR code how to use $localVother and $remoteVother for exceptions to the rule.
I blatantly hijacked @Xentrk's 'sd-Stubby DNS' entry to test 'ud-Unbound DNS'

Simply cloning @Xentrk's Stubby Installer script as a template, I was surprised to see the error.

i.e. if @Xentrk updated his Stubby script to include a new variable such as BAD_VERSION="v.xx" then the same error would be shown...
Code:
localVother="v$(grep "VERSION=" "$scriptloc" | sed -e 's/VERSION=//;s/"//g')"
remoteVother="v$(curl -fsLN --retry 3 "$remoteurl" | grep "VERSION=" | sed -e 's/VERSION=//;s/"//g')"
should really be
Code:
localVother="v$(grep "^VERSION=" "$scriptloc" | sed -e 's/VERSION=//;s/"//g')"
remoteVother="v$(curl -fsLN --retry 3 "$remoteurl" | grep "^VERSION=" | sed -e 's/VERSION=//;s/"//g')"
 
I blatantly hijacked @Xentrk's 'sd-Stubby DNS' entry to test 'ud-Unbound DNS'

Simply cloning @Xentrk's Stubby Installer script as a template, I was surprised to see the error.

i.e. if @Xentrk updated his Stubby script to include a new variable such as BAD_VERSION="v.xx" then the same error would be shown...
Code:
localVother="v$(grep "VERSION=" "$scriptloc" | sed -e 's/VERSION=//;s/"//g')"
remoteVother="v$(curl -fsLN --retry 3 "$remoteurl" | grep "VERSION=" | sed -e 's/VERSION=//;s/"//g')"
should really be
Code:
localVother="v$(grep "^VERSION=" "$scriptloc" | sed -e 's/VERSION=//;s/"//g')"
remoteVother="v$(curl -fsLN --retry 3 "$remoteurl" | grep "^VERSION=" | sed -e 's/VERSION=//;s/"//g')"
"If" they ever do that. But good point.
 
"If" they ever do that. But good point.

Obviously, this is caused by unofficial shoddy code :D
Not really eh?..... the original code quite clearly if not shoddy, is slapdash at best.;)
 
AMTM after using it to update and upgrade entware, AMTM no longer detects Fresh Jr QOS being installed.


reinstall of the option fixed the issue, but i thought i would mention there may be a detection leak.


*update*
after waiting a short while, it is no longer able to detect FreshjrQOS again.
 
Last edited:
AMTM after using it to update and upgrade entware, AMTM no longer detects Fresh Jr QOS being installed.


reinstall of the option fixed the issue, but i thought i would mention there may be a detection leak.


*update*
after waiting a short while, it is no longer able to detect FreshjrQOS again.
These must be true for it to be seen as installed in amtm:
Code:
scriptloc=/jffs/scripts/FreshJR_QOS
if [ -f "$scriptloc" ] && grep -q -x '/jffs/scripts/FreshJR_QOS -start $1 & ' /jffs/scripts/firewall-start; then
 
Let me know when you're ready for release for Unbound-Asuswrt-Merlin so I can officially add it to amtm.
Maybe....;)

upload_2019-12-21_10-29-12.png

I only accepted @rgnldo's request to write him an installer as an exercise to see what challenges I would face, so adding it unofficially to amtm was part of the experience.
 
Last edited:

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!

Members online

Top