What's new

amtm amtm 4.9.2 - the Asuswrt-Merlin Terminal Menu, October 20, 2024

  • 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!

thelonelycoder

Part of the Furniture
Welcome, this is amtm 4.9.2, 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 firmware 384.15, amtm is included in the firmware.

What's new in amtm 4.9.2
- Rewrote the lc Dynamic LED control portion.
This now uses the Geographic coordinate system instead of a location code by weather.com to set the dynamic sunrise/sunset time.
After updating amtm it is required that dynamic LED lc be setup new with coordinates.

Please read new instructions when setting up dynamic LEDs.
Location coordinates can be obtained from google maps/earth by pointing at your location and copy and paste the complete longitude and latitude code.
For example, the complete latitude and longitude coordinates for Lucerne, Switzerland are 47.05048,8.30635.
Obviously, the above coordinates are not my (thelonelycoder) exact location where I coded this all!
Do not post your coordinates here - or anywhere else for that matter - or you might be visited by some freak asking for a beer!

Your coordinates will fetch a months worth of sunset/sunrise data from the sunrisesunset.io API at a time, while additional location data is fetched from openstreetmap.org to confirm your location selection.

- Added openstreetmap.org and sunrisesunset.io to shared amtm whitelist.
- Known issue: All hopelessly outdated Mipsel based routers will throw errors if the required Entware package jq (v1.6) is from Maurers repository. Use The Entware original jq (v1.5) if you must.

How to update amtm
In the amtm menu, enter u to update to this latest version.
The firmware built-in and the legacy 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
 
Last edited:
A reclusive coder who listens to his users — he doesn't necessarily implement every suggestion, but he certainly continuously refines, redefines, and maintains!
 
Do not click the like button, eh? Who are you to tell me what/what not to do?
Updated btw.
You‘re not part of the reserved posts likers alliance? A freethinker you are then.
 
In the last few weeks I often see this:
Code:
- Entware server bin.entware.net unreachable
- Entware server entware.diversion.ch unreachable
- Using Entware server mirrors.bfsu.edu.cn,
  Mirror by Beijing Foreign Studies University
Is this a "me problem" or do more folks run into this?

And is there a way to configure which mirrors are (not) used?

(I'm not really happy with updating my software stack from a server in a country where the government has a different view on privacy/security and might inject spyware; I would strongly prefer a mirror in the EU)
 
Last edited:
In the last few weeks I often see this:
Code:
- Entware server bin.entware.net unreachable
- Entware server entware.diversion.ch unreachable
- Using Entware server mirrors.bfsu.edu.cn,
  Mirror by Beijing Foreign Studies University
Is this a "me problem" or do more folks run into this?

And is there a way to configure which mirrors are (not) used?

(I'm not really happy with updating my software stack from a server in a country where the government has a different view on privacy/security and might inject spyware; I would strongly prefer a mirror in the EU)

From amtm menu "ep" then select 0ption #3.
 
Already used that, but since bin.entware.net and entware.diversion.ch are often not reachable (here) amtm falls back to mirrors.bfsu.edu.cn…

Have you made custom alterations that would affect it that way?
When last I set mine, it would not update or fallback to another server.
I'm using entware.diversion.ch, and his server is not always as quickly updated to the newest as fast as the others.
Sometimes the delay is favorable.
 
Kind of a noob question, but I just got a RT-AX86U Pro and installed amtm and diversion to it. When it installed, does it no longer install onto the USB stick?

Previous installs on my old RT-AC68U used USB stick.

Thanks
 
Kind of a noob question, but I just got a RT-AX86U Pro and installed amtm and diversion to it. When it installed, does it no longer install onto the USB stick?

Previous installs on my old RT-AC68U used USB stick.

Thanks
Scripts are generally installed in /jffs/scripts with addons installed in per-script subdirectories of /jffs/addons. USB is for swap and data files.
 
Last edited:
Have you made custom alterations that would affect it that way?
I have only selected option 1:

Code:
 Testing Entware servers, current server in
 use: bin.entware.net

 1. bin.entware.net - Primary server by Entware team (recommended)
 2. entware.diversion.ch - Mirror by thelonelycoder
 3. mirrors.bfsu.edu.cn - Mirror by Beijing Foreign Studies University

 Select Entware server to use [1-3 e=Exit]
 
I have configured fixed dynamic LED control to have the LED on during the day. RT-AX88U and RT-BE88U. Right now, AX88U is off, as it should during this time, while BE88U is still on.
Guess it lacks full support on BE88U?
 
I have configured fixed dynamic LED control to have the LED on during the day. RT-AX88U and RT-BE88U. Right now, AX88U is off, as it should during this time, while BE88U is still on.
Guess it lacks full support on BE88U?
It is more likely yet another change in the website that @thelonelycoder pulls sunrise and sunset times from for dynamic time values — both times are being set to 00:00. It was brought up in another thread a week or so ago, but he obviously has not found the time to troubleshoot and fix the issue — the script is a freebee that he provides for the benefit of the community, which takes a backseat to his real job that pays the bills.
 
It is more likely yet another change in the website that @thelonelycoder pulls sunrise and sunset times from for dynamic time values — both times are being set to 00:00. It was brought up in another thread a week or so ago, but he obviously has not found the time to troubleshoot and fix the issue — the script is a freebee that he provides for the benefit of the community, which takes a backseat to his real job that pays the bills.

It appears that both automatically turns on/off the LEDs. However, that one that seemed to work decently, due to lack of time to monitor the exact switch time, and not the other made me wonder.
But yes, when I checked remotely now both are still at 00:00-00:00.
Still, based on what I have seen, they behave differently.

And since this is the latest open thread for the latest AMTM. And that the time server data feature has become broken again is not mentioned here, here I am.
And it does not explicitly say that support for BE88U exists even though it's probably could have worked thanks to the support on the other WiFi-7 models. So that became my first thought. Hence I asked.
 
It appears that both automatically turns on/off the LEDs. However, that one that seemed to work decently, due to lack of time to monitor the exact switch time, and not the other made me wonder.
But yes, when I checked remotely now both are still at 00:00-00:00.
Still, based on what I have seen, they behave differently.

And since this is the latest open thread for the latest AMTM. And that the time server data feature has become broken again is not mentioned here, here I am.
And it does not explicitly say that support for BE88U exists even though it's probably could have worked thanks to the support on the other WiFi-7 models. So that became my first thought. Hence I asked.
I'm working on rewriting the Dynamic LED control portion of amtm.
It'll be better and more accurate then ever.
 
I'm working on rewriting the Dynamic LED control portion of amtm.
It'll be better and more accurate then ever.
Great. I only enabled it for fun, and that having the LEDs permanently on is kind of a waste. While permanently off is a shame 😉

So looking forward to new releases, as always.
 

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