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

Release Notes for scMerlin v2.5.20 version (now available):

1) Fixed "Addons" drop-down menu entries functionality on the left-hand side vertical bar for 3006.102.x F/W versions.

N.B. The fix applies only to the 3006 codebase. Some issues were found when testing on the 3004 codebase, so the existing previous code still applies.

Thanks to @ExtremeFiretop for providing the fix, and to @Ripshod, @ColDen, @visortgw, and @aex.perez for testing & validation (apologies if I'm missing other users that provided feedback and testing support for this specific issue).

2) Miscellaneous code improvements and fine-tuning.
 
Release Notes for scMerlin v2.5.20 version (now available):
What do I need to do if I've already installed this version using the 'curl' scripts in this thread?
Does amtm pick up the new version?
 
What do I need to do if I've already installed this version using the 'curl' scripts in this thread?
Does amtm pick up the new version?
amtm picks up the update, but best to uninstall completely before installing the release.
 
What do I need to do if I've already installed this version using the 'curl' scripts in this thread?
Does amtm pick up the new version?

Uninstall and reinstall the production version; my branch is now gone and the URLs in that develop script are going to be invalid when you attempt to do a "uf" in the script.
If you absolutely don't want to reinstall, you can curl the newest version ontop and then do your "uf" option to force an update in the script

Code:
curl --retry 3 "https://raw.githubusercontent.com/decoderman/scMerlin/refs/heads/master/scmerlin.sh" -o "/jffs/scripts/scmerlin" && chmod 755 "/jffs/scripts/scmerlin"
 
OK - I did a reinstall from within amtm and all is now good.
Thanks.

That would be the smart call; mostly because Martinski made some slight changes since my PR.

And while my step of overwriting should work in theory if your on 3006 firmware, I haven't tested that on 3004 and you want to be sure you get the latest code if you were testing the fix with me earlier
 
amtm picks up the update, but best to uninstall completely before installing the release.
Definitely the safest option to perform clean install since there is little to no configuration with scMerlin!
 
Release Notes for scMerlin v2.5.30 version (now available):
  • Moved install path to AMTM-OSR repository (AMTM Orphaned Script Revival)
  • If unsure how to proceed with the update, uninstall and reinstall.
 
scMerlin successfully updated using option u:
1747592196171.png
 
I guess I'm a little late for this, but here it goes....

Release Notes for scMerlin v2.5.31 version (now available):

1) Improved Fix for "Addons" drop-down menu entries functionality on the left-hand side vertical bar for 3006.102.x F/W versions.
- Previously the code did not forcefully rebuild the drop-down menu cache on first login, now it does.
- This caused the addons tab to disappear or for stale entries to exist, now logging out and back in should fix anything stale.

Before:
1749387468999.png


After:
1749387478442.png


Thanks to @iTyPsIDg for reporting the issue here: https://www.snbforums.com/threads/c...ith-addons-with-gt-be98-pro.90657/post-956515

2) Miscellaneous code improvements and fine-tuning.
 
I hope the ‘Internet uptime’ time counter will be integrated into scMerlin soon.

Can you share some more details as to what your looking for?

For some reason I'm picturing the uptime counter under 'system information'
 
Can you share some more details as to what your looking for?

For some reason I'm picturing the uptime counter under 'system information'
... because that is where it is currecntly in web GUI? As in System Information section of System Info tab...
 
... because that is where it is currecntly in web GUI? As in System Information section of System Info tab...

Yeah but that can't be what he's asking for. Why duplicate it from one tab to another.

So the question stands, if he can explain what he's looking for/why it would help.
 
Please see here: https://www.snbforums.com/threads/wan-uptime.8570/post-280676

I want scmerlin will have wan uptime counter like this.

Yes.. But why? Please see my response here:


It's not something I see value in adding, so please 'explain' why duplicating something that already exists in the WebUI has value.
I likely won't spend cycles on this, at least not without an explanation as to why that would have value.

However feel free to submit a PR to AMTM-OSR if you end up going down that path yourself. Thanks!
 
WAN uptime was a feature of John’s fork.
Another attempt:
This guy has been at it for years:
 
Last edited:
WAN uptime was a feature of John’s fork.

Ah I see the difference now. One exclusively tracks the WAN interface while the other is just the regular system uptime. And he's looking for WAN uptime not system uptime.
I'm still wondering how much value that provides. For example I use PPoE and rarely would my WAN and uptime not match within the same minute.

Another attempt:

Thanks for the URL, I wonder if that script still works? If so then it would be easy to integrate but why do that if the tool already exists and is functional.

This guy has been at it for years:

Thanks for the link, I didn't realize this has been an ongoing request for literally YEARS from @abcxyz
Understanding he wants the WAN interface helps, but I'm still not sure i see the reason why this is a requirement. I guess for people that have less stable WAN connections the goal would be to see if you recently had a drop? Is that correct?
 
Last edited:
I want scmerlin will have wan uptime counter like this.

My bad I have been watching this request silently without giving any opinion or interacting with it. Now, here's my support for the idea.

Ah I see the difference now. One exclusively tracks the WAN interface while the other is just regular the system uptime. And he's looking for WAN uptime not system uptime.

Yeah, this is exactly what he wanted since the beginning but it seems he didn't explain it well, maybe due to language barriers.

Understanding he wants the WAN interface helps, but I'm still not sure i see the reason why this is a requirement. I guess for people that have less stable WAN connections the goal would be to see if you recently had a drop? Is that correct?

Exactly, you just thought of the exact need for this counter. It's a good addition for less stable WAN connections, and a necessity for DSL connections like mine, as I'm still unable to upgrade and now stuck with a 1 Mbps connection, and having tens of downtime incidents every day!!!

A while ago, we discussed the possiblity of deprecating the dn-vnstat script, and I gave my opinion that it is still relevant for so many users in poor countries around the world. Now, here it applies again for poorer countries with unstable internet connections (including ADSL such as mine).

Yes, it is very useful to me to have such a counter. Moreover, it is an official feature in ASUS DSL-****U routers, and I had it in my DSL-AC68U router (gnuton fork) before I had to exclude it from my home network due to extreme line noise, as it have a lower-end CPU.

Since I excluded my ASUS DSL router, I exclusively depend on my filtered logs on my RT-AC68U to check when was the last downtime, as my TP-Link ADSL router doesn't have such a counter. Attached is a screenshot of just a glimpse of my daily disastrous struggle.
 

Attachments

  • 2025-07-19_22-35-39.png
    2025-07-19_22-35-39.png
    76.8 KB · Views: 9
It seems pretty easy based on the nvram in the current firmware. sys_uptime_now is updated by watchdog every 60 seconds, and wan0_uptime seems to track the last connected event. Might not be perfect all the time, but close enough.
 

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