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!

scMerlin scMerlin 2.5.31 - Service and script control menu for Asuswrt-Merlin

@Tarek Yag and @abcxyz

I've created a PR: https://github.com/AMTM-OSR/scMerlin/pull/15 to test this implementation.
Please try to run the following:

Code:
sh /jffs/scripts/scmerlin develop

And advise if you have any issues or if it's functional.

- WebUI (using nvram):
1753150803826.png


- SSH:
1753150959358.png


- Using nvram:
1753150928445.png


- Using logfile:
1753150762704.png
 
on my gt-axe11000 i can't see the wan uptime it says
Code:
WAN Uptime No WAN events in syslog
 
on my gt-axe11000 i can't see the wan uptime it says
Code:
WAN Uptime No WAN events in syslog

Interesting, so basically your router isn't using the nvram values I'm using, additionally, it finds no WAN events in the system logs as the fallback method.

When was the last time you rebooted the router? Does "nvram get wan0_uptime" give any results in SSH?
 
Interesting, so basically your router isn't using the nvram values I'm using, additionally, it finds no WAN events in the system logs as the fallback method.

When was the last time you rebooted the router? Does "nvram get wan0_uptime" give any results in SSH?

the last time i rebooted my router was:
Code:
Uptime    10 days 14 hour(s) 18 minute(s) 51 seconds

Code:
ASUSWRT-Merlin GT-AXE11000 3004.388.9_2 Mon Apr 28 21:28:05 UTC 2025
****@****:/tmp/home/root# nvram get wan0_uptime
****@****:/tmp/home/root#

will do a fresh reboot and see what it reports then.
 
the last time i rebooted my router was:
Code:
Uptime    10 days 14 hour(s) 18 minute(s) 51 seconds

Code:
ASUSWRT-Merlin GT-AXE11000 3004.388.9_2 Mon Apr 28 21:28:05 UTC 2025
****@****:/tmp/home/root# nvram get wan0_uptime
****@****:/tmp/home/root#

will do a fresh reboot and see what it reports then.

I'm assuming that you generally have a very stable WAN connection like me and Martinski, you could just try unplugging the WAN connection for a second to see if it updates without rebooting the whole router.
 
Last edited:
I'm assuming that you generally have a very stable WAN connection like me and Martinski, you could just just unplugging the WAN connection for a second to see if it updates without rebooting the whole router.

Yep, i have a very stable connection hardly any downtimes with my provider but after a reboot it now correctly shows the uptime.
 
Yep, i have a very stable connection hardly any downtimes with my provider but after a reboot it now correctly shows the uptime.

Okay I have an idea on how to address this. Thanks for the testing and feedback. It's not technically doing anything wrong, but we can keep better track that than for "stable" connections.
 
Okay I have an idea on how to address this. Thanks for the testing and feedback. It's not technically doing anything wrong, but we can keep better track that than for "stable" connections.
Thanks for your hard work and dedication 👍👍👍
 
Awesome, just what I needed!
View attachment 66869

Fantastic news @abcxyz I would it expect it to work correctly for you as it seems your running the newer firmware versions (3006?) and the nvram values are populated
My fallback method was to go to the syslog, but I have a bit more poking to do for "stable" connections.
 
I like the idea of using wan-event and writing a timestamp file to /tmp on a “connected” event.

More or less my thought as well, I was just going to keep our own "records" of it as a reference point.
 
Last edited:
Done in this commit: https://github.com/AMTM-OSR/scMerlin/pull/15/commits/90f9d4a8fbdbf9e719286dd883efdc871c3daaaf
Waiting on feedback from @Martinski before merging anything

@abcxyz @Tarek Yag and @laracroftonline ; can you please try again with the latest develop version?
You will need to run this again:

Code:
sh /jffs/scripts/scmerlin develop
I downloaded your lastest develop version and it works perfectly 😃
Can you add a real-time second counter to make it more dynamic? 😍
 

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