1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

amtm - the SNBForum Asuswrt-Merlin Terminal Menu

Discussion in 'Asuswrt-Merlin' started by thelonelycoder, Nov 26, 2017.

  1. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,492
    Location:
    Switzerland
    amtm, the SNBForum Asuswrt-Merlin Terminal Menu

    A shortcut manager for popular scripts for wireless routers running Asuswrt-Merlin firmware.

    October 04 2018
    amtm 1.4 is now available

    What's new in v1.4
    - UI changes: Wider, better, cooler.
    - Shows installed versions in menu for Skynet, pixelserv-tls beta and Diversion.
    - Option to install static or dynamic pixelserv-tls beta version (router support permitted).
    - Coding and wording changes.
    - License change from GPL-2.0 (back to) GPL-3.0

    How to update to v1.4
    In the amtm menu, enter u to update to this latest version.

    How to install on Asuswrt-Merlin
    Enter this into your favorite SSH terminal:
    Code:
    /usr/sbin/curl -Os https://raw.githubusercontent.com/decoderman/amtm/master/amtm && sh amtm
    Feel free to contribute, the repository is at https://github.com/decoderman/amtm

    amtm License
    amtm is free to use under the GNU General Public License, version 3 (GPL-3.0).

    Screenshot of v1.4, uses selected color theme when Diversion / AB-Solution is installed:

    [​IMG]
     
    Last edited: Oct 4, 2018
    triple, Karlston, Stern and 25 others like this.
  2. Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!
  3. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,885
    Location:
    /etc
    Can I suggest the automated install for dnscrypt please it would be a great way to round out these popular scripts. ;)
     
    2992, Twiglets and Butterfly Bones like this.
  4. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,492
    Location:
    Switzerland
    As long as a finished install script is available with it I can include it.
    You mean the one by @bigeyes0x0 here?
    Sure, I could add it. But..

    The idea with amtm is to have a central point to select already made scripts to install (with the install command posted) and start its own UI with it.
    In AB-Solution, for the install it runs the same install command as on the website, when installed, it simply starts the AB UI. Same with Skynet.
    The dnscrypt installer provides no menu of it's own. So I'm not sure this makes sense to add.
     
  5. 2992

    2992 Regular Contributor

    Joined:
    Oct 13, 2017
    Messages:
    67
    dnscrypt has just couple of options during its install, and it'll be nice to have it "centralised" along with ABS and Skynet, just to see that it's installed (and working). It's also nice to have it there, so it'll be easier to change the server's selection when/if needed. I personally have to re-install DNSCrypt every now and then as some of the servers sometimes are going offline.. :)
     
    skeal likes this.
  6. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,492
    Location:
    Switzerland
    I have not run it for a while. Seems to change the settings/servers you simply run the install command again.
    That would be doable with amtm. I'm not sure how it copes with the new Asuswrt-Merlin 382.x firmware tough and I can't test it.
     
  7. Raphie

    Raphie Regular Contributor

    Joined:
    Sep 19, 2017
    Messages:
    195
    Very nice. THANK YOU! Just to clarify my customer story:
    I would like 1 portal (AMTM I like it already :) ) where both all install as well as all run scripts are available. The purpose is to prevent repetitive tasks (looking up and cutting/pasting commands from personal notes or forum topics) and have them all in one place, available by just installing 1 script.

    This means that when you get a new router, or you do a full reset, or for whatever other reason you need to reinstall your USB. You can now do that by just running this script and complete everything within the same telnet/ssh session.

    Also from a support perspective, this is pretty much idiot proof and if people just follow the scripts and don't deviate it will reduce support questions tremendously

    What I would like to see in this menu would be an installer section: (if "dynamic here means that it only shows the options of the absent programs, that's even neater :)
    1. ab-solution curl install script
    2. Skynet curl install script
    3. Pixelsrv kvic curl update script to latest.
    4. maybe a USB EXT2 format script? (no more dragging USB sticks around and long debates about best format program / file system variation :) )
    5. create swap file? (i understood some router models needed to create a swap?)
    5. Whatever other install scripts people find usefull

    then maybe a second section to avoid more shortcut clutter, or typing in telnet
    1. Start ab-solution menu (1 keypress instead of typing ./ab-solution.sh)
    2. Start Skynet menu
    3. ?? any other apps that get added??

    In that way you only have to install 1 script to your router and can maintain everything form there onward, without keeping notes, pasting commands etc. No need to double up functionality that's already in Skynet or ab-solution itself, I'm just thinking out loud :)
     
    Last edited: Nov 27, 2017
    skeal likes this.
  8. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,492
    Location:
    Switzerland
    I have to do some other work first before I can finish v0.1 and publish it.
    Until then, look at what this version already can do:

    Check, already done in v0.1
    : 1. ab-solution curl install script
    Check, already done in v0.1: 2. Skynet curl install script
    Check, already done in v0.1: 3. Pixelsrv kvic curl update script to latest.
    Maybe next version: 4. maybe a USB EXT2 format script? (no more dragging USB sticks around and long debates about best format program / file system variation :) )
    Maybe next version: 5. create swap file? (i understood some router models needed to create a swap?)
    More will be added when time allows: 5. Whatever other install scripts people find usefull

    Check, already done in v0.1: 1. Start ab-solution menu (1 keypress instead of typing ./ab-solution.sh)
    Check, already done in v0.1: 2. Start Skynet menu
    More will be added when time allows: 3. ?? any other apps that get added??

    Edit: The (u) (and a, r, e) refer to amtm itself...
     
    quant88 and Raphie like this.
  9. Raphie

    Raphie Regular Contributor

    Joined:
    Sep 19, 2017
    Messages:
    195
    Can't wait :)
    One more note (probably redundant as I’m sure you guys already thought about it)
    Exiting the programs / tasks brings you back in amtm

    This is great stuff. @thelonelycoder @Adamm @kvic @RMerlin thank you again for your joined efforts going above and beyond with these ASUS routers!
     
    Last edited: Nov 27, 2017
  10. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,492
    Location:
    Switzerland
    I'm not sure that works for all, but the intention is to have it that way.
    AB is especially picky with sub-shells running it, I need to test this extensively.
    For Skynet it works out of the box.
     
  11. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,885
    Location:
    /etc
    I've used dnscrypt for a couple years. I'm running 382.1_1 firmware. I have had zero trouble with it so far and don't expect to have any.
     
  12. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,492
    Location:
    Switzerland
    Alright, included. You'll be the primary tester for it's functions. I have no time to test it.
    It should work tough!
     
    skeal likes this.
  13. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,492
    Location:
    Switzerland
    Ah, GitHub. It's been a while since I used it last. September 13 2016 to be exact, I've released AB-Solution 2.0.1 then.
    After that, AB 3 came out in November that year. The milestone that added full integration of pixelserv-tls into AB.

    I need to first re-familiarize myself with it so I can upload the new repository.
    But first: Dinner.
     
  14. Adamm

    Adamm Very Senior Member

    Joined:
    Mar 26, 2013
    Messages:
    1,642
    Check out Github Desktop for a easy to use git client. Makes life a lot easier.
     
    Xentrk and thelonelycoder like this.
  15. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,885
    Location:
    /etc
    No problem I'll definitely test for you my friend!!
     
  16. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,492
    Location:
    Switzerland
    MacG32 and Butterfly Bones like this.
  17. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,885
    Location:
    /etc
    Absolutely awesome everything works for me!!
     
    thelonelycoder likes this.
  18. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,492
    Location:
    Switzerland
    That's a relief!
    When I first responded to @Raphie about his request I blurted out something along the lines that such a script is a piece of cake to make.
    Now, I did have fun coding it but the recipe for that cake kept changing until I was convinced I can bake it in the oven.
    How does it taste?
     
  19. skeal

    skeal Very Senior Member

    Joined:
    Apr 30, 2016
    Messages:
    1,885
    Location:
    /etc
    Wonderful lol!
     
  20. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,492
    Location:
    Switzerland
    All actions _should_ return to the amtm menu except when installing AB-Solution. Starting AB, however, will return but I would be cautious what actions you make.
    I have not fully tested it.
     
  21. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    4,492
    Location:
    Switzerland
    That's the one I'm using. But I uninstalled it a while ago for lack of use. I had to search for the name to reinstall it.
     
Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!