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!

Sent you the text files that you asked for plus a couple of more. Connected devices are by interface seem to be in different files.

Did redownload beta4 and if there were changes don't see the results. Sort still not working and devices still default sort by name. While the grey highlight moves the sort order never changes.
Please give Beta 5 a try... I think it may have fixed sorting...

Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/RTRMON/develop/rtrmon.sh" -o "/jffs/scripts/rtrmon.sh" && chmod 755 "/jffs/scripts/rtrmon.sh"

I use VPN clients 1,3 & 5 which are tunnels 11,13 & 15. I restarted the clients as you suggested
Any change in seeing stats for these tunnels? Also... can you try downloading a large file (over vpn), then simultaneously look at RTRMON to see if it indicates traffic?

I can only get the command nslookup google.com 127.0.0.1 to resolve strangely enough on a second router double NATed behind AX86. The command does not work even when run from command prompt on a PC. This is probably a quirk in my network so not something you need to be concerned with.
That's really strange... I can run "nslookup google.com 127.0.0.1" just fine on my local win11 laptop as well. Well, let's just chalk it up to a network quirk. ;)

Let me know if you need anything else or if I need to download another beta version.
Were you able to give this command a try to see why getting your network connections statistics locks up your script?

iftop -t -i eth0 (or replace eth0 with the WAN interface name you are using?)
 
Beta 5 fixes sorting for the most part, with the exception of sort by IP address. From the following snippet, you can see that each octet really needs to be considered as if it was zero filled from the leftmost digit:
Code:
192.168.222.10
192.168.222.106
192.168.222.111
192.168.222.16
192.168.222.166
192.168.222.189
192.168.222.194
192.168.222.209
192.168.222.21
192.168.222.219
192.168.222.22
192.168.222.227
192.168.222.23
This shoud really result in:
Code:
192.168.222.010
192.168.222.016
192.168.222.021
192.168.222.022
192.168.222.023
192.168.222.106
192.168.222.111
192.168.222.166
192.168.222.189
192.168.222.194
192.168.222.209
192.168.222.219
192.168.222.227
 
Beta 5 fixes sorting for the most part, with the exception of sort by IP address. From the following snippet, you can see that each octet really needs to be considered as if it was zero filled from the leftmost digit:
Code:
192.168.222.10
192.168.222.106
192.168.222.111
192.168.222.16
192.168.222.166
192.168.222.189
192.168.222.194
192.168.222.209
192.168.222.21
192.168.222.219
192.168.222.22
192.168.222.227
192.168.222.23
This shoud really result in:
Code:
192.168.222.010
192.168.222.016
192.168.222.021
192.168.222.022
192.168.222.023
192.168.222.106
192.168.222.111
192.168.222.166
192.168.222.189
192.168.222.194
192.168.222.209
192.168.222.219
192.168.222.227
OK... one more try on this sort... please download B5 again and see if that resolves the IPs...

Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/RTRMON/develop/rtrmon.sh" -o "/jffs/scripts/rtrmon.sh" && chmod 755 "/jffs/scripts/rtrmon.sh"
 
OK... one more try on this sort... please download B5 again and see if that resolves the IPs...

Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/RTRMON/develop/rtrmon.sh" -o "/jffs/scripts/rtrmon.sh" && chmod 755 "/jffs/scripts/rtrmon.sh"
Now it sorts by hostname even though (@)IP is selected.
 
Now it sorts by hostname even though (@)IP is selected.
I've made another mod, and padded the IPs with zeroes... see if that makes a difference?

Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/RTRMON/develop/rtrmon.sh" -o "/jffs/scripts/rtrmon.sh" && chmod 755 "/jffs/scripts/rtrmon.sh"
 
Interesting I’ve never thought to pad ip addresses with the extra zeros. Might be worth remembering in case of quirky networking that doesn’t resolve without them.
 
I've made another mod, and padded the IPs with zeroes... see if that makes a difference?

Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/RTRMON/develop/rtrmon.sh" -o "/jffs/scripts/rtrmon.sh" && chmod 755 "/jffs/scripts/rtrmon.sh"
Works like a champ to sort by IPs now! MAC addresses as well...
 
Last edited:
New Beta 12 -- hey at least sorting works! Had to stop further development on being able to find ways to identify devices on different VLANs... so for now, all LAN and VLAN clients are combined together. Thanks @visortgw for your willingness to pitch in and help with this! We will get there once 3006 comes out for my router down the road! :)

What's new?!
v2.1.0b12 - (TBA)
- PATCH:
After much back and forth with @visortgw, sleuthing through NVRAM, I have not been able to get past the VLAN brick wall, in order to show which devices are on which VLAN. So for the moment, until 3006 arrives for my router, I will need to put a pin in it, and will just combine LAN and VLAN devices under the same section.
- PATCH: Added a blank IP for clients that come up as UNKNOWN to help with spacing.
- PATCH: With many huge thanks to @ExtremeFiretop, he had some very productive time to help debug and develop some workarounds while testing it against his live GT-BE98U! He singlehandedly was able to figure out the methodology needed to report which clients fell into which VLANs, along with other great code optimization, including falling back to pulling device names from dnsmasq when the custom client name entry is non-existent in NVRAM! THANK YOU!:)

Download link (update directly by executing link below):
Code:
curl --retry 3 "https://raw.githubusercontent.com/ViktorJp/RTRMON/develop/rtrmon.sh" -o "/jffs/scripts/rtrmon.sh" && chmod 755 "/jffs/scripts/rtrmon.sh"

Significant screenshots:

1720969558719.png
 
Last edited:
- PATCH: With many huge thanks to @ExtremeFiretop, he had some very productive time to help debug and develop some workarounds while testing it against his live GT-BE98U! He singlehandedly was able to figure out the methodology needed to report which clients fell into which VLANs, along with other great code optimization, including falling back to pulling device names from dnsmasq when the custom client name entry is non-existent in NVRAM! THANK YOU!:)

Not sure how I missed this tag, randomly came by to catch up and noticed this post. 😅 No matter.. Happy to be some help in the development process!

Enjoy the time offline buddy, we'll miss seeing you around the forums while your away.

@visortgw feel free to message me in regards to the VLAN devices on the latest beta if you have some time/want to do some more digging. 😜
 
Hi @Viktor Jaep

With the help of @visortgw I've got a working implementation of page 7 and submitted a PR to your repos dev branch for your review: https://github.com/ViktorJp/RTRMON/pull/17/files
Just wanted to say many thanks to @visortgw for the patience and quick and continual feedback required to make this happen.

Screenshot below for reference:
WOW you guys... you ROCK! Thanks so much @ExtremeFiretop and @visortgw for continuing down this difficult path!! I can't wait to give it a look-see! :)
 
I know I sure learned something. Any certs I can take away with this knowledge hahaha
 
Are you cross-eyed from peeking yet?!?

...Well, if you're cross-eyed from peeking at my pull request, just wait until you see my commit history! HAHA!
But no worries, Viktor! My PR has a 'straighten vision' function—no need for glasses!
 
...Well, if you're cross-eyed from peeking at my pull request, just wait until you see my commit history! HAHA!
But no worries, Viktor! My PR has a 'straighten vision' function—no need for glasses!
Everything is much clearer now! Lol! Beta13 has been committed to the develop environment for anyone else who'd like to try it out. Will add some more verbiage for this tonight! ;) Thank you!!
 
Everything is much clearer now! Lol! Beta13 has been committed to the develop environment for anyone else who'd like to try it out. Will add some more verbiage for this tonight! ;) Thank you!!

My heads been thinking in coding LOOPs for the last 3 days ;) happy to help Viktor!
Hope your doing good!
 
My heads been thinking in coding LOOPs for the last 3 days ;) happy to help Viktor!
Hope your doing good!
Oh I bet! Lol. Busy busy busy with no time for anything anymore 😟
 

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