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!

Code:
 Enter option  uu
 amtm 3.1.0 FW             by thelonelycoder
 RT-AC68U (armv7l) FW-384.15 @ 192.168.1.1
    The Asuswrt-Merlin Terminal Menu
 j1 open     connmon                   v2.2.0
 j2 open     ntpMerlin                 v2.2.2
 ep manage   Entware packages
 sw manage   Swap file /mnt/16GB 256.3M
 i  show     all available scripts or tools
 u  check    for script updates
    amtm options
 e  exit      t  theme   r  reset   a  about
_____________________________________________
 amtm force updated to v3.1.0
 - Module amtm.mod redownloaded
 - Module connmon.mod redownloaded
 - Module entware.mod redownloaded
 - Module ntpmerlin.mod redownloaded
_____________________________________________
 Enter option  e
              _
   ____ ____ | |_  ____
  / _  |    \|  _)|    \
 ( ( | | | | | |__| | | |
  \_||_|_|_|_|\___)_|_|_|
   Goodbye
GoNz0@RT-AC68U-D6A0:/tmp/home/root# amtm
-sh: /jffs/scripts/amtm: not found
GoNz0@RT-AC68U-D6A0:/tmp/home/root#

I did UU

Foolishly I did the R command and this happened.

I ran the install script and still the same along with another UU, the only way to load the script is by running the installer command.
 
Code:
 Enter option  uu
 amtm 3.1.0 FW             by thelonelycoder
 RT-AC68U (armv7l) FW-384.15 @ 192.168.1.1
    The Asuswrt-Merlin Terminal Menu
 j1 open     connmon                   v2.2.0
 j2 open     ntpMerlin                 v2.2.2
 ep manage   Entware packages
 sw manage   Swap file /mnt/16GB 256.3M
 i  show     all available scripts or tools
 u  check    for script updates
    amtm options
 e  exit      t  theme   r  reset   a  about
_____________________________________________
 amtm force updated to v3.1.0
 - Module amtm.mod redownloaded
 - Module connmon.mod redownloaded
 - Module entware.mod redownloaded
 - Module ntpmerlin.mod redownloaded
_____________________________________________
 Enter option  e
              _
   ____ ____ | |_  ____
  / _  |    \|  _)|    \
 ( ( | | | | | |__| | | |
  \_||_|_|_|_|\___)_|_|_|
   Goodbye
GoNz0@RT-AC68U-D6A0:/tmp/home/root# amtm
-sh: /jffs/scripts/amtm: not found
GoNz0@RT-AC68U-D6A0:/tmp/home/root#

I did UU

Foolishly I did the R command and this happened.

I ran the install script and still the same along with another UU, the only way to load the script is by running the installer command.
Run this directly in the terminal:
Code:
unalias amtm
 
So, with the latest entware update where do things stand with pixelserve? Is the entware version an upgrade, or should we stick with the Yaz version, and is Yaz going to continue his support of PS?

1. Update pixelserv-tls, regular Entware version
2. Upgrade pixelserv-tls, regular Entware version
3. Upgrade pixelserv-tls to v2.3.1, Jack Yaz version

I'm presently using the Yaz version.
 
So, with the latest entware update where do things stand with pixelserve? Is the entware version an upgrade, or should we stick with the Yaz version, and is Yaz going to continue his support of PS?

1. Update pixelserv-tls, regular Entware version
2. Upgrade pixelserv-tls, regular Entware version
3. Upgrade pixelserv-tls to v2.3.1, Jack Yaz version

I'm presently using the Yaz version.
Update to the official release https://www.snbforums.com/threads/diversion-the-router-ad-blocker.48538/page-253#post-546210
 
Code:
[: addons: unknown operand
[: addons: unknown operand
 rs manage   Reboot scheduler Sun @ 1:0

Code:
 Reboot scheduler options

 Reboot scheduler runs as follows:
[: addons: unknown operand
  Sun @ 1:0

So I have been getting this error in the menu for quite a few versions. I finally decided to try and track it down. For some reason the error always contains the second folder/file in whatever directory I am in. It seems to be tied to the reboot scheduler, when I uninstall it, the error goes away. So in the reboot_scheduler.mod file in the _installed function I was checking the various [ ] blocks. I know I have seen this error before and it was fixed by adding quotes to the operands in the test statements. I narrowed it down that adding " " around anything checking against * made the error go away. Example of one spot I fixed

Code:
 [ "$rsui" = "*" ]

I was still getting the error once I opened the "rs" menu so I fixed all the rest of the = * to = "*" and now I don't get any more errors.

Honestly I am not totally sure what testing against * is doing, so I am not sure if putting quotes around it is breaking something or fixing it, but it does make the error go away.
 
Code:
[: addons: unknown operand
[: addons: unknown operand
 rs manage   Reboot scheduler Sun @ 1:0

Code:
 Reboot scheduler options

 Reboot scheduler runs as follows:
[: addons: unknown operand
  Sun @ 1:0

So I have been getting this error in the menu for quite a few versions. I finally decided to try and track it down. For some reason the error always contains the second folder/file in whatever directory I am in. It seems to be tied to the reboot scheduler, when I uninstall it, the error goes away. So in the reboot_scheduler.mod file in the _installed function I was checking the various [ ] blocks. I know I have seen this error before and it was fixed by adding quotes to the operands in the test statements. I narrowed it down that adding " " around anything checking against * made the error go away. Example of one spot I fixed

Code:
 [ "$rsui" = "*" ]

I was still getting the error once I opened the "rs" menu so I fixed all the rest of the = * to = "*" and now I don't get any more errors.

Honestly I am not totally sure what testing against * is doing, so I am not sure if putting quotes around it is breaking something or fixing it, but it does make the error go away.
What router firmware runs the Asus RT-AC56R on and is Entware installed?
 
dnscrypt updates via amtm still gives me headaches...

Code:
 di open     dnscrypt ins. v2.0.4   -> v2.0.5
             dnscrypt-pro.            v2.0.39

After updating (and keeping configuration) there seems to be another update

Code:
 di open     dnscrypt ins. v2.0.5  -> min upd
             dnscrypt-pro.            v2.0.39

After another visit to di and the installer the following version check again offers the minor update.
 
dnscrypt updates via amtm still gives me headaches...

Code:
 di open     dnscrypt ins. v2.0.4   -> v2.0.5
             dnscrypt-pro.            v2.0.39

After updating (and keeping configuration) there seems to be another update

Code:
 di open     dnscrypt ins. v2.0.5  -> min upd
             dnscrypt-pro.            v2.0.39

After another visit to di and the installer the following version check again offers the minor update.
My headache is worse then yours, believe me.
Next amtm update will relieve us all of the pain.
 
@ZNP_83 after you get into amtm, type 'uu' too. :)
 
@ZNP_83 after you get into amtm, type 'uu' too. :)
Same thing. Everything seems to be up to date on 3.1.0 FW after using 'uu' but after rebooting the router, attempting to ssh back in using only 'amtm' doesn't work. Doing the unalias amtm and then just amtm once more does indeed bring me to where I was, with all settings and updates appearing to be retained and as I had left them.
 
Same thing. Everything seems to be up to date on 3.1.0 FW after using 'uu' but after rebooting the router, attempting to ssh back in using only 'amtm' doesn't work. Doing the unalias amtm and then just amtm once more does indeed bring me to where I was, with all settings and updates appearing to be retained and as I had left them.
Use r to reset amtm, then enter amtm. It'll be fixed.
 
Update RT-AX88U to the latest beta and now amtm seems to be broken

/tmp/home/root# amtm
amtm 3.1.0 FW by thelonelycoder
RT-AX88U (aarch64) FW-384.15 @ 192.168.1.1
The Asuswrt-Merlin Terminal Menu

/usr/sbin/amtm: line 2: r_m: not found
2 open Skynet v7.0.9
/usr/sbin/amtm: line 42: r_m: not found

/usr/sbin/amtm: line 42: r_m: not found
5 open scribe v2.4.1
/usr/sbin/amtm: line 35: r_m: not found

j1 open connmon v2.2.0
j2 open ntpMerlin v2.2.1
j3 open scMerlin v1.0.4

j4 open spdMerlin v3.1.0
/usr/sbin/amtm: line 36: r_m: not found
j6 open uiScribe v1.2.0

/usr/sbin/amtm: line 40: r_m: not found
ep manage Entware packages
/usr/sbin/amtm: line 127: r_m: not found

/usr/sbin/amtm: line 127: r_m: not found
/usr/sbin/amtm: line 127: r_m: not found
/usr/sbin/amtm: line 127: r_m: not found
sw manage Swap file /mnt/ASUS 2.0G

i show all available scripts or tools
u check for script updates

amtm options
e exit t theme r reset a about
_____________________________________________

Enter option

entering uu gives also

Enter option uu
/usr/sbin/amtm: line 127: update_amtm: not found
 
So this FW version, is it supposed to be accessible in the router gui, or do you still have to SSH into it?
 
So this FW version, is it supposed to be accessible in the router gui, or do you still have to SSH into it?
It is still a script accessed via an SSH session.
 
Hello all,

Huge thanks and kudos to @thelonelycoder for continuing to cook up amazing goodness for the community!

I am on a 68U and after upgrading to 384.15 beta 1 I get the following error when typing 'amtm' into the terminal:
Code:
ss@RT-AC68U-0A50:/tmp/home/root# amtm
-sh: /jffs/scripts/amtm: not found

I deleted /jffs/scripts/amtm after upgrading, and now I am unable to access amtm and am also unable to reinstall it. Any feedback would be appreciated.

Update:
After entering "unalias amtm" into the terminal and trying to access amtm, the terminal just hangs with no output.

Update 2:
Apparently some of my dns scripts weren't sitting right. After a tedious reset, I was able to unalias amtm and all is back and running!
 
Last edited:

Sign Up For SNBForums Daily Digest

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