amtm amtm - the Asuswrt-Merlin Terminal Menu

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.
  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

cmkelley

Very Senior Member
I was bored for a minute. Colors are limited in amtm and I am reluctant to add more.
This only works for j* scripts, Skynet and scribe, but not Diversion.
I'm not sure I actually release that as the version check as is works with every kind of version number: 1.0.0 vs 1.0.0_beta or 1.0.0_beta vs 1.0.1 works with the existing check but not with the I used in this example:

Okay, if I read that right (I know it's late there), then implementing that breaks other things that are quite obviously more important to a much wider audience. So I'd say while I do quite like how you've implemented it, not breaking things for the wider audience is far more important than this little thing that would help me and maybe 3 other people tops.
 

ICDeadPpl

Occasional Visitor
How about when opening Diversion/Skynet/etc from amtm, it would start/resume a tmux or screen session?
 

thelonelycoder

Part of the Furniture
How about when opening Diversion/Skynet/etc from amtm, it would start/resume a tmux or screen session?
Unless I got it wrong but that command is what YOU should run in the terminal, you would start your desired number of sessions for the scripts.
 

cmkelley

Very Senior Member
How about when opening Diversion/Skynet/etc from amtm, it would start/resume a tmux or screen session?
My tmux is set up so it comes up in the last configuration when I log in. Setting up tmux is something that should happen before you launch amtm.
 

cmkelley

Very Senior Member
(moving to the appropriate thread ...)
@thelonelycoder Any chance you can release a version of amtm which auto updates? I understand this should be disabled by default as any code pushes done automatically can be malicious, but for me, I would never know the difference so I just update every time i see a new post.
That's really not practical. Updating the scripts is rarely as simple as just downloading the latest version of the script. Since I wrote scribe, I know scribe has a pretty detailed update process, and by watching their output, I'm pretty sure other scripts do as well. So it can't be coded into amtm. Additionally, not every script accepts a command to update (scribe happens to, because it was originally written as a command-line tool), so scripts that didn't already support this would need to add it on.

And, inevitably, something would break, and AFAIK, none of us retain the ability to regress scripts to the previous version. The unintended consequences are too great. As a script writer, I would be very much against this idea.
 

Jack Yaz

Part of the Furniture
(moving to the appropriate thread ...)

That's really not practical. Updating the scripts is rarely as simple as just downloading the latest version of the script. Since I wrote scribe, I know scribe has a pretty detailed update process, and by watching their output, I'm pretty sure other scripts do as well. So it can't be coded into amtm. Additionally, not every script accepts a command to update (scribe happens to, because it was originally written as a command-line tool), so scripts that didn't already support this would need to add it on.

And, inevitably, something would break, and AFAIK, none of us retain the ability to regress scripts to the previous version. The unintended consequences are too great. As a script writer, I would be very much against this idea.
Anyone who is so inclined is welcome to browse our repositories and replace file contents with a previous commit!

I have no intention of allowing automatic script version rollback - odds are I'll patch any problems that escape testing fairly quickly anyway :)
 

thelonelycoder

Part of the Furniture
amtm 2.6 is now available

What's new in amtm 2.6
- Removed obsolete code
- Rearranged code for my own benefit
- Adding a commented 'do-not-check-swap' (without the quotes) anywhere to /jffs/scripts/post-mount will read indented swap code and not correct paths (Diversion 4.1.3 and amtm 2.6 and later)
- Added feature requested by third party developer for visual differentiation of > or < version number display in u
- Added option in ps to run pixelserv-tls helper script to use its CA to issue a certificate for the routers WebUI
- Diversion update notification (DivUn, in c) will now also report updates for third party scripts (Diversion 4.1.3 and later)

How to update amtm
Use u to update to this latest version.

 
Last edited:

EmeraldDeer

Very Senior Member
i Diversion 4.1.3 is now available!
Released on: July 132019

What's new in Diversion 4.1.3
See https://diversion.ch for change log

Do you want to update now? [1=Yes e=Exit] 1

i Getting latest diversion file
✔ diversion integrated

! Diversion update detected

i Running function auto-update now
i Getting latest installer file
✔ install.div integrated

____________________________________________________

Diversion changes during this update requires this
router to reboot after the update is completed.

This is necessary for Diversion to work properly.


! Press [Enter] to acknowledge
 

thelonelycoder

Part of the Furniture

cmkelley

Very Senior Member

thelonelycoder

Part of the Furniture
hi, if possible to add some script which do 1:1 NAT
For a script to be included it must meet these conditions:
- Be popular and therefore used by a reasonable number of users
- Must have a UI in the form of the other scripts already included and have a logical menu structure. For example: e exits the function / script.
- Must not break existing workflow in amtm when exiting

Some scripts I code and include myself because I see them as system tools like formatting a disk, the disk check, creating a swap file or the reboot scheduler. Others I am glad someone else did the hard coding work and I can simply add the logic for it.

Since your linked thread does not meet any of that I'll have to pass (for now).
 

Jagu

New Around Here
Hi,
I recently bought a 2TB seagate drive. Connteced to my Asus AC86u with Merlin firmware 384.12. Installed amtm 2.6 and i am getting error to format the disk saying greater than 2TB. Attached are the screenshots. Could somebody help?


screen1.JPG

screen2.JPG
 

thelonelycoder

Part of the Furniture
Hi,
I recently bought a 2TB seagate drive. Connteced to my Asus AC86u with Merlin firmware 384.12. Installed amtm 2.6 and i am getting error to format the disk saying greater than 2TB. Attached are the screenshots. Could somebody help?
In your screenshot I see the links I added in the hope that they might be helpful. They are if you take the time to visit and read the contents of these pages.
 

Jagu

New Around Here
In your screenshot I see the links I added in the hope that they might be helpful. They are if you take the time to visit and read the contents of these pages.
.. hi.. thank you.. By following the instructions.. i was able to format it and install entware. attached screenshots.
 

Attachments

thelonelycoder

Part of the Furniture
amtm 2.7 is now available

What's new in amtm 2.7
- Changed rs Reboot scheduler display, shorter week day names in UI when multiple days are selected
- Added option to change rs Reboot scheduler settings
- Added support for x3mRouting - Selective Routing by Xentrk. See https://www.snbforums.com/threads/x3mrouting-selective-routing-for-asuswrt-merlin-firmware.57793/
- Removes empty related /jffs/scripts files when uninstalling amtm, same as Diversion already does
- Added link to wiki page in fd Format disk function error message when device is over 2TB

Note: Starting with this version, amtm is now hosted on the Diversion server. The transition is seamless, no action is required by users.
I have my reasons to move amtm away from GitHub and will not discuss this personal decision.
If you like, search the web to read about the owner and geographical restrictions imposed on it.
The Diversion website is and has always been hosted in Switzerland, by a Swiss Webhoster.
The new install command is posted on the amtm page: https://diversion.ch/amtm.html

How to update amtm
Use u to update to this latest version.

 

Mutzli

Very Senior Member
o_O you're not using GitHub anymore? Well then, that's it.:D
 

gattaca

Senior Member
amtm 2.7 is now available
If you like, search the web to read about the owner and geographical restrictions imposed on it.
Interesting. I guess I've been out of the loop on this one. So many people and companies use GitHub...but with the owner being Microsoft, gotit. Thanks for bringing this to my attention.
 

Latest threads

Sign Up For SNBForums Daily Digest

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