amtm amtm 3.3.x - the Asuswrt-Merlin Terminal Menu

thelonelycoder

Part of the Furniture
Welcome, this is amtm 3.3, the Asuswrt-Merlin Terminal Menu

amtm is a front end that manages popular scripts for wireless routers running Asuswrt-Merlin firmware. Starting with Asuswrt-Merlin 384.15, amtm is included in the firmware.

What's new in amtm 3.3
- Now uses https for new Entware installation downloads, thanks to GitHub user ar3thien.
- For older Mipsel routers, the parallel use of Entware-backports Repo can now also be selected in amtm (maurerr.github.io/packages).
- Disk check script v3.1, fixes a time zone cosmetic issue in the log. Thanks to @ColinTaylor
- Adds support for VPNMON-R2 by @Viktor Jaep, welcome to amtm!
- Let the games begin! g now offers a list of 10 games to play on the router. Note that the crawl game currently only works on older Mipsel routers. The Entware team works on a fix.
Thanks to @DDD lighting the flame here.
Entwares @ryzhov_al says it was kind of an easter egg to include games.
Well, thanks mate!

How to update amtm
In the amtm menu, enter u to update to this latest version.
The firmware built-in and the regular amtm version receive updates at the same time.

The full version history can be found on diversion.ch

amtm start command
Code:
amtm
On firmware older than 384.15, you may have to enter the full path to amtm.
Note that the command below does not work for the firmware built in amtm.
Code:
/jffs/scripts/amtm

Install command for Asuswrt-Merlin firmware older than 384.15
Copy and paste the complete command below into your favorite SSH terminal, then press Enter.
Code:
curl -Os https://diversion.ch/amtm/amtm && sh amtm
Routers with Asuswrt-Merlin firmware 384.15 and newer require no installation, amtm is included in the firmware. The firmware built in amtm adds FW next to the version.



amtm is hosted on the Diversion website: https://diversion.ch/amtm.html

 

ColinTaylor

Part of the Furniture
Thanks for the update.

FYI I can break amtm as follows (this is not really the fault of amtm).

1. Install Disk check script (dc) and exit amtm.
2. Replace pre-mount script with my own (that contains an "e2fsck -p" command).
3. Launch amtm and it goes into a loop trying to display the error message "Unsupported pre-mount script found,\n please remove file manually".

Code:
+ disk_check_installed
+ atii=1
+ [ -f /jffs/scripts/disk-check ]
+ [ -f /jffs/addons/amtm/disk-check.mod ]
+ [ -f /jffs/scripts/pre-mount ]
+ grep -q ^. /jffs/addons/amtm/disk-check /jffs/scripts/pre-mount
+ disk_check install
+ [ -f /jffs/scripts/pre-mount ]
+ grep -q e2fsck -p /jffs/scripts/pre-mount
+ am=
+ show_amtm  Unsupported pre-mount script found,\n please remove file manually
+ s_d_u
+ amtmURL=https://fwupdate.asuswrt-merlin.net/amtm_fw
+ c_t
+ divconf=/opt/share/diversion/.conf/diversion.conf
+ [ -f /jffs/addons/amtm/.amtm_theme ]
+ . /jffs/addons/amtm/.amtm_theme
+ theme=standard
 

thelonelycoder

Part of the Furniture
Thanks for the update.

FYI I can break amtm as follows (this is not really the fault of amtm).

1. Install Disk check script (dc) and exit amtm.
2. Replace pre-mount script with my own (that contains an "e2fsck -p" command).
3. Launch amtm and it goes into a loop trying to display the error message "Unsupported pre-mount script found,\n please remove file manually".

Code:
+ disk_check_installed
+ atii=1
+ [ -f /jffs/scripts/disk-check ]
+ [ -f /jffs/addons/amtm/disk-check.mod ]
+ [ -f /jffs/scripts/pre-mount ]
+ grep -q ^. /jffs/addons/amtm/disk-check /jffs/scripts/pre-mount
+ disk_check install
+ [ -f /jffs/scripts/pre-mount ]
+ grep -q e2fsck -p /jffs/scripts/pre-mount
+ am=
+ show_amtm  Unsupported pre-mount script found,\n please remove file manually
+ s_d_u
+ amtmURL=https://fwupdate.asuswrt-merlin.net/amtm_fw
+ c_t
+ divconf=/opt/share/diversion/.conf/diversion.conf
+ [ -f /jffs/addons/amtm/.amtm_theme ]
+ . /jffs/addons/amtm/.amtm_theme
+ theme=standard
You hacker! :cool: Of course amtm correctly reports the error when such a script is pre-existing.
In your case amtm finds that dc is installed but that the correct entry is missing in /jffs/scripts/pre-mount. It therefore triggers the install function which return to amtm with the message Unsupported pre-mount script found, please remove file manually which again triggers the check for the correct entry in /jffs/scripts/pre-mount. amtm blinkenlights ensues. Another game available in amtm, for instructions read above :)
 

pirx73

Senior Member
- Let the games begin! g now offers a list of 10 games to play on the router. Note that the crawl game currently only works on older Mipsel routers. The Entware team works on a fix.
Any other questions why ASUS routers are the best? :D If you add Larn/Ularn i will be in 7th heaven.
 

underdose

Regular Contributor
blinkenlights

Now that you used that word, I got something for you to have fun in the terminal.

Code:
telnet towel.blinkenlights.nl

PS: I guess their servers are having some problems but the last time I checked -a month ago- it was working properly.

For the ones who can't wait for their telnet server to be fixed, here's a website that shows what that is all about: https://asciinema.org/a/8
 

Viktor Jaep

Very Senior Member
Now that you used that word, I got something for you to have fun in the terminal.

Code:
telnet towel.blinkenlights.nl

PS: I guess their servers are having some problems but the last time I checked -a month ago- it was working properly.

For the ones who can't wait for their telnet server to be fixed, here's a website that shows what that is all about: https://asciinema.org/a/8
LOL! That's amazing!!! :)
 

JGrana

Very Senior Member
Who needs a million Cuda's when you have this!
NVIDIA - you're on notice
;-)
 

thelonelycoder

Part of the Furniture
Minor fix is out for amtm, no version change.
This corrects a missing instruction case that prevented displaying the ps option to re-issue the pixelserv-tls WebUI certificate when it was previously installed.
Use u to update.
 

thelonelycoder

Part of the Furniture
I am in no way affiliated with these content creators or that all they say or do is correct or makes sense in these videos.
But I wanted to post these three videos that explain amtm and the install and use of some of the scripts that come with it.

Remember, amtm can format disks, there's no need to install an app on your computer to format an USB device to ext* file system. amtm is perfectly capable of doing that.



 

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