amtm - the Asuswrt-Merlin Terminal Menu

penguin22

Regular Contributor
Your problem, you can't have it all :p
Not sure if the amtm thread or Diversion would be better to inquire, but this was a topic a few pages back.

I recently jumped onto the Unbound bandwagon and have enabled the integrated Ad Block capabilities in unbound_manager, which suggests not running along with Diversion. Is there a consensus as to whether they have the same efficacy or, as the topic regarding NextDNS would suggest, does Diversion go further warranting reconsideration?

I also ask as this goes along with the discussion of whether amtm is the right place for update notification and emailing, which would make sense if Diversion isn't being used. I am not sure if loading Diversion and disabling would allow for the function to still work, but if not, that puts a dependency on it being loaded and enabled for use. Just giving food for thought.
 

thelonelycoder

Part of the Furniture
Not sure if the amtm thread or Diversion would be better to inquire, but this was a topic a few pages back.
I’m fine with that.
I recently jumped onto the Unbound bandwagon and have enabled the integrated Ad Block capabilities in unbound_manager, which suggests not running along with Diversion. Is there a consensus as to whether they have the same efficacy or, as the topic regarding NextDNS would suggest, does Diversion go further warranting reconsideration?
Diversion is free and will always be. And it is the best and most sophisticated ad-blocker you can install on Asuswrt-Merlin. I’m not exaggerating.
But then, what works for me and many others may not be the best solution for you.
I refrain from getting involved in discussions about that topic. I do what I do - and I do it well and consistent.
I also ask as this goes along with the discussion of whether amtm is the right place for update notification and emailing, which would make sense if Diversion isn't being used. I am not sure if loading Diversion and disabling would allow for the function to still work, but if not, that puts a dependency on it being loaded and enabled for use. Just giving food for thought.
Noted.
 

thelonelycoder

Part of the Furniture
amtm 3.1.7 is now available

What's new
- NEW: Added LED control lc, a smart router LED scheduler. Thanks to @pirx73 for suggesting it.
- NEW: Update check u result is preserved until scripts are updated.
- NEW: Additional theme solarized to choose from. Thanks @Stuart MacDonald for the code.
Note: This new theme is not immediately available for the firmware version after a reset.
- CHANGED: Added extra wording when u is run for third-party update procedure.
- CHANGED: Added timestamp to u when everything's up to date.
- UPDATED: Added option to use an updated model list for the pixelserv-tls ps https WebUI helper script

Note: If you have Diversion installed, update it now for compatibility, the order does not matter.

Use u to update to this latest version.

Screenshot with preserved u update check, Entware has three package updates available.

 
Last edited:

thelonelycoder

Part of the Furniture
Stop making it so easy and fast! don't you realize I'm BORED over here? ;-p
A lot of work went into the LED control function. I rewrote it three times until I was happy with the result.
So, at least I was not bored while the lockdown lasts ;)
 

thelonelycoder

Part of the Furniture
Stop making it so easy and fast! don't you realize I'm BORED over here? ;-p
Also, the u update preserve function came to me while working on the led code. I thought that should be a simple hack.
I was so wrong about that too.
It’s always the details, and I’m picky about them.
 

thelonelycoder

Part of the Furniture
The new LED control is built with enhanced code from https://github.com/RMerl/asuswrt-merlin.ng/wiki/Scheduled-LED-control
So thanks @RMerlin for the excellent starting point.
In the spirit of that original code, the LEDs can be controlled trough the terminal. Enter this to see the options, the -set switch reads from the settings file set trough amtm.
Code:
/jffs/addons/amtm/ledcontrol -help
 

pirx73

Regular Contributor
One question - if i have LED control set up "old way" meaning ledson and ledsoff scripts in crontab list, will amtm take that into account or is it better to remove them from crontab list before upgrade?
 

thelonelycoder

Part of the Furniture
One question - if i have LED control set up "old way" meaning ledson and ledsoff scripts in crontab list, will amtm take that into account or is it better to remove them from crontab list before upgrade?
amtm checks for those manual entries in the usual places and will abort if found. You'll have to remove them yourself first.
 

pirx73

Regular Contributor
Thanks! No problem removing them.
 

QuikSilver

Very Senior Member
I am probably in the minority but why use the led feature? Are they that bright in a dark room?

Edit: I hide mine behind a picture frame so I don't see them.
 

thelonelycoder

Part of the Furniture
I am probably in the minority but why use the led feature? Are they that bright in a dark room?

Edit: I hide mine behind a picture frame so I don't see them.
People that sleep with their routers in the same room, probably.
 

netware5

Very Senior Member
I am probably in the minority but why use the led feature? Are they that bright in a dark room?

Edit: I hide mine behind a picture frame so I don't see them.
In fact the flashing LEDs are disturbing not light itself especially at night. I keep them off all the time.

People that sleep with their routers in the same room, probably.
This is exactly my case :)
 
Last edited:

thelonelycoder

Part of the Furniture
Speaking about new features - i would like (but i can live without) to see amtm being able to set time for LEDs on and off and pass it to crontab. Also displays currently configured LED on/off time if set up.
I should have mentioned you were the one that suggested the LED scheduler function. Sorry about that, I edited the release post.
 

thelonelycoder

Part of the Furniture

thelonelycoder

Part of the Furniture
Who are we to judge? What happens between a router and it’s master behind closed doors...


Sent from my iPhone using Tapatalk
It would be an orgy, I have six routers. We’d have a lot of - ahem - talk.
 

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