What's new

scMerlin scMerlin - service and script control menu for AsusWRT-Merlin

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

It does - my script just makes it more user friendly such that you don't need to remember the command

As a "non-coder" - and I'm sure that, despite the presence of many real experts on this forum, there are lots of folk like me - it is an absolute pleasure being "spoilt" by all these incredibly useful scripts.

They have unlocked a whole bunch of extended features in such a straightforward way that even us "noobs" can enjoy significant added value to our investment in Asus Routers.

THANK YOU ... and all the other contributors - keep it coming :D.
 
There is a very old and easy solution for this issue of hanging http, just SSH and enter service restart_httpd: https://www.snbforums.com/threads/u...er-starting-a-large-upload.48955/#post-432568
https://www.snbforums.com/threads/a...u-modify-the-guest-network.47881/#post-418986
https://www.snbforums.com/threads/unable-to-access-router-page.47328/#post-412972
and even a year ago: https://www.snbforums.com/threads/a...384-20942-2018-05-21.46751/page-3#post-408265

No need for any scripts, dont know whether it may be easier, but if you know to install the script IMO you will know these commands too.
Same for wireless: service restart_wireless
https://www.snbforums.com/threads/a...384-20942-2018-05-21.46751/page-3#post-408258

At the end its a pity that there is even a need for these scripts and asus never goes to solve it in their firmware! I often gave them feedback ... for nothing only wasted time!

In a moment of panic, the ability to SSH into the router and execute a command like 'scmerlin' and have access to these scripts is a godsend. :)

A beginner can learn these 'easy' scripts if they want, or not. Just simply use them.

I know I don't remember commands off the top of my head anymore. ;)

User-friendly is what these scripts are all about.

Asus can't do anything like this, either the firmware is stable or it's not. And most times, they can't predict what/how/why a user is doing what they're doing to make the 'xxx' crash. But when an issue comes up, these additional options even make Asus better too, because it gives us a level of control that only experts had before. :)
 
Last edited:
Dumb newbie (to Asus scripts , anyway) question ...

Having installed this script, I can run it fine using "/jffs/scripts/scmerlin" but not just "scmerlin".
Do I need to put something in a Path somewhere to make it run from the shortened command?

Can someone enlighten me?
 
Dumb newbie (to Asus scripts , anyway) question ...

Having installed this script, I can run it fine using "/jffs/scripts/scmerlin" but not just "scmerlin".
Do I need to put something in a Path somewhere to make it run from the shortened command?

Can someone enlighten me?
Do you have Entware installed?
 
Do you have Entware installed?
No, just FreshJR Adaptive QoS and SCMerlin at this stage - Entware not needed for those as I understand it?
Ah, but maybe so I can just run "scmerlin" without full path?
Want to eventually install AMTM and play with more scripts including more of yours but treading carefully :)
 
Tried to update now
scmerlin: No new version - latest is v1.0.0 ?
 
Now ;)
scmerlin: New version of scmerlin available - updating to v1.0.1
Thank you :)
 
Hey Jack, when I run the curl command to install the script from the root in my RT-AC68U, it fails after the three retries with a "curl: (6) Couldn't resolve host 'raw.githubusercontent.com'". Any thoughts?

BTW, I checked my firewall settings, and I don't see anything that would restrict the command resolving the URI. I was able to past the URI from the curl string into a browser and have it resolve. Weird.
 
Last edited:
Hey Jack, when I run the curl command to install the script from the root in my RT-AC68U, it fails after the three retries with a "curl: (6) Couldn't resolve host 'raw.githubusercontent.com'". Any thoughts?

BTW, I checked my firewall settings, and I don't see anything that would restrict the command resolving the URI. I was able to past the URI from the curl string into a browser and have it resolve. Weird.

It turned out that the DNS wasn't resolving properly due to a problem with a broken Stubby installation. I uninstalled Stubby, rebooted the router, and then was able to install the scMerlin script from the ssh command line without a hitch.
 
You could also add start/stop VPN to your script.

VPN Client:
service start_vpnclient1/ service stop_vpnclient1
service start_vpnclient2/ service stop_vpnclient2
service start_vpnclient3/ service stop_vpnclient3
service start_vpnclient4/ service stop_vpnclient4
service start_vpnclient5/ service stop_vpnclient5

VPN Server
service start_vpnserver1/service stop_vpnserver1
service start_vpnserver2/service stop_vpnserver2
Would you only want configured clients to display?
 
No, just FreshJR Adaptive QoS and SCMerlin at this stage - Entware not needed for those as I understand it?
Ah, but maybe so I can just run "scmerlin" without full path?
Want to eventually install AMTM and play with more scripts including more of yours but treading carefully :)
Entware is needed for the "short" command. Correct, scmerlin and freshjr do not need entware.
 
Would you only want configured clients to display?
I would want to show all of them, either create a submenu.

Sometimes I activate or deactivate either VNP Server 1 or 2 or restart both incase of issues.
For VNP Client, only configured should be shown if thats possible, otherwise all of them
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top