What's new
  • 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!

amtm amtm 5.2.1 - the Asuswrt-Merlin Terminal Menu, April 10, 2025

Thanks Colin.

I tought thay may be it was DM to blame. Now that it is renamed, DM is still working fine (tough I do not use it), so I guess it does need that file anymore.
Besides, considering that I am not running Entware atm in this device (still on Optware reposotiry), is it safe/advisable to run "opkg update + opkg upgrade" once in a while or is it best to leave it alone?

Regards and thanks once again.
 
amtm 5.2.1 is now available

This update concerns only the firmware built in version of amtm. The legacy version remains at version 5.2.
  • Added 'install' parameter for MerlinAU installations when installing new. As requested by @ExtremeFiretop
  • Correctly removes superseded amtm_rev7.mod file on firmware that comes with amtm firmware file revision 8.
 
Updated 30 minutes ago. All the settings and add-ons that I am using works as expected. Thanks.
 
Updated both routers with no issues. Thanks!
 
Probably a bit of a pipe dream but is there any way that amtm (and the addons) could recognize the type of device you’re SSH’ing in from?

I switch very regularly between iPad, iPhone and a Windows PC and the theme that fits best (essentially the one where all text is legible) on one of them seems to be the worst theme for another platform and I can’t read one or two colors at all. If amtm could select the theme based on your client platform that would be really nice.

Or is this something best tweaked via the SSH client used on each platform?
 
Last edited:
Probably a bit of a pipe dream but is there any way that amtm (and the addons) could recognize the type of device you’re SSH’ing in from?

I switch very regularly between iPad, iPhone and a Windows PC and the theme that fits best (essentially the one where all text is legible) on one of them seems due to be the worst theme for another platform and I can’t read one or two colors at all. If amtm could select the theme based on your client platform that would be really nice.

Or is this something best tweaked via the SSH client used on each platform?
Very unlikely, Dropbear only sees this. And even with a static IP it would be a challange.
Apr 14 12:16:54 dropbear[15349]: Child connection from 10.10.10.1:49976
 
And even with a static IP it would be a challange.
Not to encourage the idea, but dropbear will also set environment variables for the session if you wanted to adapt based on client IP or public key name.
Code:
SSH_CLIENT='192.168.1.183 52653 22'
SSH_CONNECTION='192.168.1.183 52653 192.168.1.1 22'
SSH_PUBKEYINFO='mykey@home'
I don’t think it’s a useful or common feature for most people, however.
 
Not to encourage the idea, but dropbear will also set environment variables for the session if you wanted to adapt based on client IP or public key name.
Code:
SSH_CLIENT='192.168.1.183 52653 22'
SSH_CONNECTION='192.168.1.183 52653 192.168.1.1 22'
SSH_PUBKEYINFO='mykey@home'
I don’t think it’s a useful or common feature for most people, however.
Feature creep, but I agree with @ColinTaylor, the appearance can be set in some clients.
 
Just set your preferred appearance in your SSH client. Then it applies to the addons as well.
Fair enough will look at adjusting my Windows SSH Client (Putty) and App (iTerminal Pro) to get them closer.
Thanks!
 
i was looking for /jffs/addons/pc_tool/pc_insert, this chatgpt fella told me that amtm should have installed it, but i see no such thing. anyone seen this somewhere?
 
opps. i shouldn't have trusted it blindly.
it was trying to modify a line in /etc/dnsmasq.conf
by adding the following to dnsmasq.postconf:
pc_delete "dhcp-host=58:38:49:E8:xx:xx"
pc_insert "dhcp-host=58:38:49:E8:xx:xx,set:block_site,192.168.50.50"

block_site being a tag that supposedly is defined with
dhcp-option=tag:block_site,option:dns-server,192.168.50.1

and then the site i want to block would be in /jffs/configs/hosts.block_site.add:
0.0.0.0 youtube.com


all this to block a site for a single client 192.168.50.50
he sounded so sure :-) i didn't even research it, my bad
 
Last edited:
DaveGPT says:
Code:
#!/bin/sh
source /usr/sbin/helper.sh
pc_delete "dhcp-host=58:D3:49:E8:xx:xx" "$1"
pc_append "dhcp-host=58:D3:49:E8:xx:xx,set:block_site,192.168.50.50" "$1
 
block_site being a tag that supposedly is defined with
dhcp-option=tag:block_site,option:dns-server,192.168.50.1

and then the site i want to block would be in /jffs/configs/hosts.block_site.add:
0.0.0.0 youtube.com

all this to block a site for a single client 192.168.50.50
This is also malformed artificial intelligence. hosts.block_site.add holds no meaning to the firmware. Even if the hosts file was properly amended, it would block YouTube for everyone using the router as DNS.
 
This is also malformed artificial intelligence. hosts.block_site.add holds no meaning to the firmware. Even if the hosts file was properly amended, it would block YouTube for everyone using the router as DNS.
eheh it did block it to everyone. this was quite an hallucination.
 

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!
Back
Top