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 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:
    6,464
    Location:
    Switzerland
    Yes, it just updates to the latest beta. No selection is given to use an older beta version, which is the correct way to do it.
     
  2. Waffull

    Waffull Occasional Visitor

    Joined:
    Oct 13, 2015
    Messages:
    18
    I must be doing something wrong because the script disappears every time the router reboots. I don't have that problem with other scripts, like ab-solution.sh.

    Any suggestions?
     
  3. Raphie

    Raphie Senior Member

    Joined:
    Sep 19, 2017
    Messages:
    228
    After another reboot the paths now work. :)
     
  4. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    6,464
    Location:
    Switzerland
    Did you install amtm?
    It installs to /jffs/scripts/amtm and you can start it with:
    Code:
    /jffs/scripts/amtm
    If /opt/bin is present, which is the case if Entware is installed, you can simply then start with:
    Code:
    amtm
    But amtm will have said so anyway during install.
     
  5. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    6,464
    Location:
    Switzerland
    Although there is no version change for lack of new features in amtm, @Adamm and I are occasionally update the GitHub repo with small changes.
    Version 0.3 will be due after I release the current AB-Solution 3.10.1 beta version in the release channel.
     
    Makaveli, heysoundude and L&LD like this.
  6. heysoundude

    heysoundude Very Senior Member

    Joined:
    Sep 20, 2016
    Messages:
    724
    you're really moving forward at a good clip with this!
    without trying to minimize ab-solution or the merlin firmware itself, this script really makes a router hum along like a very well oiled machine by pulling everything together and making it easy to stay on top of. what's super amazing is that this is a side gig/passion project for everyone...
     
    Makaveli, Raphie and Twiglets like this.
  7. hervon

    hervon Regular Contributor

    Joined:
    Oct 13, 2014
    Messages:
    73
    small typing error : when choosing 4 for beta pixelserv. The author is kvic not qvic. ;-)
     
    thelonelycoder likes this.
  8. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    6,464
    Location:
    Switzerland
    Done and pushed, thanks.
     
  9. skeal

    skeal Part of the Furniture

    Joined:
    Apr 30, 2016
    Messages:
    3,836
    Location:
    Riderville, SK
    @thelonelycoder Feature request. Any way to add the nvram-save utility by @john9527 into the menu. I'm thinking auto install if it can be. This is one of the best scripts out there for us. I'll let this sink in a bit before I elaborate. ;)
     
    thelonelycoder likes this.
  10. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    6,464
    Location:
    Switzerland
    That tools is definitely worth to consider. Although its the UI is a bit sparse, amtm would have to lean way over the fence into @john9527 territory.
    I hope ol'9527s dog is of the friendly sort.
     
    mad_daddy and skeal like this.
  11. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    6,464
    Location:
    Switzerland
    What a great tool amtm is. I just had a complete fck-up with my LAN, don't ask, it's embarrassing.
    Anyway, I used the opportunity to setup my primary router from scratch.
    What a great help this little tool was. Had everything up and running in no time.
    I can highly recommend using amtm :D
     
  12. skeal

    skeal Part of the Furniture

    Joined:
    Apr 30, 2016
    Messages:
    3,836
    Location:
    Riderville, SK
    I concur It is a great tool. Takes the best tools and centralises them. The script writers should stay somewhat together to re-enforce the use of these scripts for security reasons at the very least. @Adamm and @thelonelycoder I have a disk check pre-mount script that would be nice to include as well. The disk check is very important. These swaps we are creating are not being gracefully dismounted before total reboot. This little disk check makes sure your usb stick is ok. Without it I fear lots of drive corruption. I lost three usb drives working out what file system to use and found this pre-mount script. Have not lost a drive since. Just saying. I know the idea of this was to bring together great scripts helpful scripts but keeping it simple and lite. I don't think its a good idea to not protect these swaps from being maintained properly. Just saying! You guys are excellent keep up great combined effort. :D
     
    Runcajsz and SMS786 like this.
  13. Adamm

    Adamm Part of the Furniture

    Joined:
    Mar 26, 2013
    Messages:
    2,717
    I assumed the system is smart enough to handle graceful rebooting with a swap file, I can't say I've looked into it in detail all that much. Will read up on it this week.
     
    SMS786, thelonelycoder and skeal like this.
  14. eighteen

    eighteen Regular Contributor

    Joined:
    Nov 5, 2016
    Messages:
    69
    Hello!

    Why does not the list of available DNSs now appear?

    I only have one option available!

    [​IMG]
     
  15. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    6,464
    Location:
    Switzerland
    I also see no problem whatsoever with the swap file not un-mounting cleanly when pulling the plug.
    Coincidentally, this only happens when I test a USB 3 device of a questionable build on one of my routers. But it will wreak a lot more than just the swap file.
     
  16. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    6,464
    Location:
    Switzerland
    Ask the maintainer of that script, I only do the install/start menu in amtm, not a single bit of code is touched in the dnscrypt-installer script by me or amtm.
     
  17. underdose

    underdose Regular Contributor

    Joined:
    Dec 13, 2017
    Messages:
    67
    Location:
    Istanbul
    When I try to update with u, I get an error:

    Code:
     What do you want to do?   u
    (23) Failed writing body
    
    ---------------| INFO |----------------
    
     No new version is available,
     do you want to update anyway?
    
    ---------------------------------------
    What would be the cause (and fix for sure)?

    Thanks in advance,
     
  18. skeal

    skeal Part of the Furniture

    Joined:
    Apr 30, 2016
    Messages:
    3,836
    Location:
    Riderville, SK
    As far as I know there is no new update for amtm. Try choosing a function and update the script inside of it.
     
  19. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    6,464
    Location:
    Switzerland
    That's a curl error. Post the output of these commands, entered directly in the terminal:
    This prints the curl version info
    Code:
    curl -V
    and this is the path to the curl binary
    Code:
    which curl
    Of interest is also this long command:
    Code:
    curl -fs --retry 3 "https://raw.githubusercontent.com/decoderman/amtm/master/amtm" | grep "^version=" | sed -e 's/version=//'
    It should return 0.2 only.

    What router model and firmware version do you have?
     
  20. underdose

    underdose Regular Contributor

    Joined:
    Dec 13, 2017
    Messages:
    67
    Location:
    Istanbul
    Router: RT-N66W
    FW: 380.69 (Merlin)

    curl -V
    Code:
    curl 7.54.1 (mipsel-unknown-linux-gnu) libcurl/7.54.1 OpenSSL/1.0.2n
    Release-Date: 2017-06-14
    Protocols: file ftp ftps http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps tftp
    Features: IPv6 Largefile NTLM NTLM_WB SSL TLS-SRP UnixSockets HTTPS-proxy 
    which curl
    Code:
    /usr/sbin/curl
    that long command :)
    Code:
    0.2