What's new

RTRMON RTRMON v2.1.3 -Oct 19, 2024- Monitor your Router's Health (New: AMTM, Network Conn/Bandwidth/Diag + Port Scanner + Speedtest)

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

Copied rtrmon.sh script to my AiMesh node, and tried to run it. It'd configure, but would not run since it's complaining about missing dependencies.

What's the simplest way to blank out those dependencies? Are there 1-2 places in the script for easy blanking? Alternatively, I'll dig through this a bit later!
View attachment 62165

Why not run it as the author intended?
Go through the setup process through AMTM?
 
You mean use the easy, foolproof installation script? :rolleyes:

Exactly - It sounds like he's manually copying a script around to his nodes and I'm wondering why instead of downloading through AMTM.

He is also asking about removing dependencies that were specifically wrote into the script, and again; I'm wondering why?
 
Add flash drive, and install amtm and entware.
That just ruins it :)

Why burden an AiMesh node with a flash drive? A drive that can fry within a few months?

Among many addons this one is actually some of the more useful ones - so ironically it needs a flash drive which makes things more complicated.
 
Why burden an AiMesh node with a flash drive? A drive that can fry within a few months?

Use a cheap SSD instead of a flash drive if the concern is it dying after a few months of constant use. It would save lots of the complications on the installation front anyways.
 
Use a cheap SSD instead of a flash drive if the concern is it dying after a few months of constant use. It would save lots of the complications on the installation front anyways.
Right - that's what I do on my main node.

But i would prefer to keep the AiMesh node light, meaning no extra storage. That'd be the use case for the lite RTRMON version!
 
Right - that's what I do on my main node.

But i would prefer to keep the AiMesh node light, meaning no extra storage. That'd be the use case for the lite RTRMON version!
RTRMON Lite doesn't exist. RTRMON requires entware packages, period. I'm not sure why the reluctance to add storage, given that it would most likely only be active when RTRMON was actually being used.
 
Most likely NEVER will exist due to the complexity of the code within the utility and its dependence on entware packages...
 
Last edited:
Most likely NEVER will exist due to the complexity of the code within the utility and its dependence on entware packages...
Hmm, never say never :)

I grep'ed, and I grep'ed, and so on ...
(well, not really !) :)

Anyway, 1 line change does it (line 4761 for version 2.1.3), so great software engineering there given how easy it is to tweak it!!! Whoever wrote this - thank you!!!

Code:
#      if [ -f $CFGPATH ] && [ -f "/opt/bin/timeout" ] && [ -f "/opt/sbin/screen" ] && [ -f "/opt/bin/nmap" ] && [ -f "/opt/bin/jq" ] && [ -f "/o
      if true; then

Update: I could page through all screeens with N, I'd say about 70% of stuff works. The script is graceful wrt missing stuff!

My main AC86u:
rt86.png


My AiMesh AC86u:
rtr68.png
 
Last edited:
Hmm, never say never :)

I grep'ed, and I grep'ed, and so on ...
(well, not really !) :)

Anyway, 1 line change does it (line 4761 for version 2.1.3), so great software engineering there given how easy it is to tweak it!!! Whoever wrote this - thank you!!!

Code:
#      if [ -f $CFGPATH ] && [ -f "/opt/bin/timeout" ] && [ -f "/opt/sbin/screen" ] && [ -f "/opt/bin/nmap" ] && [ -f "/opt/bin/jq" ] && [ -f "/o
      if true; then

Update: I could page through all screeens with N, I'd say about 70% of stuff works. The script is graceful wrt missing stuff!

My main AC86u:
View attachment 62174

My AiMesh AC86u:
View attachment 62175
Unfortunately, randomly commenting out one line of code does not fix your issue! You may have gotten past that point, but there will be other issues...
 
Unfortunately, randomly commenting out one line of code does not fix your issue! You may have gotten past that point, but there will be other issues...

It's a good proof of concept! Many features do work just fine!

It might be that someone is dying out there for such functionality - in that case more work would be warranted. If no interest, can remain a curiosity ...
 
Whoever wrote this - thank you!!!
Welcome!

I think the basics will probably still work, but you may run into errors viewing other pages other than 1-3... would be an interesting experiment.
 
Most likely NEVER will exist due to the complexity of the code within the utility and its dependence on entware packages...
Almost guaranteed. ;) Maybe a better alternative would be to try to detect if it's running on an iMesh node, and hobble some of its functionality.
 
Almost guaranteed. ;) Maybe a better alternative would be to try to detect if it's running on an iMesh node, and hobble some of its functionality.
Why bother? Install it properly, and enable option (12) : Mark Router As (A)iMesh Node/Repeater/Bridge.
 
Why bother? Install it properly, and enable option (12) : Mark Router As (A)iMesh Node/Repeater/Bridge.
BAHAHA... OMG, I totally forgot about that feature. Now if I can only remember what the heck it turns off. ;) Oh yeah... it was dealing with errors you would normally get from WAN0, which wouldn't be present on an iMesh node. ;)
 
BAHAHA... OMG, I totally forgot about that feature. Now if I can only remember what the heck it turns off. ;) Oh yeah... it was dealing with errors you would normally get from WAN0, which wouldn't be present on an iMesh node. ;)
Yes, I just installed it on an RT-AX86U AiMesh node — once again, just because I could! There are a couple of screens that "don't work" (and rightly so), but there are no crashes.

@Viktor Jaep rocks (and so do his scripts)!!!
 

Similar threads

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