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!

I did say it was minor, plus, I usually have 5 things going on at same time. Therefore, tend to pay more attention to things in bold/ highlight. And don't want to miss an update by going fast. Again, I did say it was minor, plus, I figured it would probably be a really easy change to make, too.
If there's no amtm update, the lower part is not shown.
 
@thelonelycoder I have updated an RT-AC66U_B1 to 484.15 Alpha 2 and amtm 3.1 FW.

It worked for a few days, but now I can't get amtm to start.

Code:
admin@RT-AC66U_B1-9058:/tmp/home/root# amtm
-sh: /jffs/scripts/amtm: not found
admin@RT-AC66U_B1-9058:/tmp/home/root# /jffs/scripts/amtm
-sh: /jffs/scripts/amtm: not found
admin@RT-AC66U_B1-9058:/tmp/home/root#

I have rebooted the router, no change. The USB drive seems healthy (router GUI says no errors).

When I tried to use the curl command to install amtm, the menu came up immediately.

There was even an update for Skynet which I did without issue.

However, exiting amtm gives the same problem as shown above.

Issuing the curl command brings up amtm again and I can see the dcl logs which do show a clean reboot happened.

Code:
amtm 3.1.0 FW             by thelonelycoder
 RT-AC66U_B1 (armv7l) FW-384.15 @ 192.168.191.254
    The Asuswrt-Merlin Terminal Menu

 1  open     Diversion                 v4.1.8
 2  open     Skynet                    v7.0.9

 4  open     YazFi                     v3.2.3

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

 j5 open     uiDivStats                v1.3.0

 ep manage   Entware packages

 dc manage   Disk check script   dcl show log
 fd run      Format disk         fdl show log
 rs manage   Reboot scheduler * @ 5:13
 sw manage   Swap file /mnt/Kokos2019 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

The above correctly lists the scripts running on this router.

Typing Diversion, scmerlin, connmon, YazFi, etc. correctly brings up those scripts.


What further steps should I take to fix this?
 
I've hit the same problem after loading the 384.15 beta and can't quite follow how you fixed it. I do have a profile.add file in the /jffs/configs/ directory, and the cat command shows
alias amtm='/jffs/scripts/amtm' # added by amtm
But that's where my knowledge of ssh commands fails me. How do I delete that entry and save the file? Here's where I'm up to:

Code:
ASUSWRT-Merlin RT-AC86U 384.15_beta1 Fri Jan 31 23:09:42 UTC 2020
admin@RT-AC86U-6EA8:/tmp/home/root# amtm
-sh: /jffs/scripts/amtm: not found
admin@RT-AC86U-6EA8:/tmp/home/root# cd /jffs/configs/
admin@RT-AC86U-6EA8:/jffs/configs# cat /jffs/configs/profile.add
alias amtm='/jffs/scripts/amtm' # added by amtm
admin@RT-AC86U-6EA8:/jffs/configs#

EDIT: Never mind! I forgot I could use vi to edit it! Man, it's been a while since I had to get so up close and personal with the terminal:)

Thanks for your post and thanks @Asad Ali for the solution!
 
Last edited:
@HorseCalledHorse, you're a better person than I for knowing and using 'vi'! :)

I use the WinSCP program. For me, much easier to navigate around the router, simply double click on the file in question and edit away.
 
I have the same problem but don't have profile.add
how can I fix that ?
or should I create profile.add and add the alias there?
 
I have the same problem but don't have profile.add
how can I fix that ?
or should I create profile.add and add the alias there?

What router are you using? What firmware? From which firmware did you upgrade from? What scripts are you running? Have you rebooted the router and have the same issue?
 
I have the same problem but don't have profile.add
how can I fix that ?
or should I create profile.add and add the alias there?
Just run this in the terminal then:
Code:
unalias amtm
It should then find the built in amtm file when entering amtm.
 
What router are you using? What firmware? From which firmware did you upgrade from? What scripts are you running? Have you rebooted the router and have the same issue?

AC88U 384.14-2
/jffs/scripts/amtm

Diversion v4.1.8 -> min upd

1 open Diversion v4.1.8 -> min upd

ep manage Entware packages no upd

m menu amtm v3.1.0 -> min upd
_______________________________________
 
@ECHK1, you need to fully update all the scripts that are showing an update (even the 'min' ones) and then update your router to RMerlin 384.15 Beta 1.

If I'm not mistaken, the amtm entry is needed in profile.add for your version of the firmware, if you want to continue to use it without upgrading now.
 
it is workin before the recent upgrade.

The standalone amtm version was working for you before not the FW version because it's not even included in your FW build. If you don't want to upgrade your router reinstall amtm from the install one liner given in diversion.ch website and it should fix the issue.

Or just create the amtm alias again in profile.add.
 
AC88U 384.14-2
Run r in amtm to remove it, then run the install command from the website to reinstall amtm.
The built in amtm comes with Asuswrt-Merlin 384.15 and newer.
 

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