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!

In the OP it shows scMerlin and it's options. It shows option 3. Internet Connection. Option 5. Web Interface (httpd)

???


c9422df564.png

Things change...

Screenshot-at-2019-04-24-09-05-53.png
 
Here is what my v1.0.0 looks like. ;)
scMerlinV1.00-2019-04-24.PNG
 
You may need to do an update too? :)
Both "u" and "uf" yield the same menu, I see no difference, must be your beta version ahead of the proletariat? :p
Code:
#####################################################
Choose an option:    u
scmerlin: No new version - latest is v1.0.0
Press enter to continue...
:confused: o_O
 
Code:
Both "u" and "uf" yield the same menu, I see no difference, must be your beta version ahead of the proletariat? :p
#####################################################
Choose an option:    u
scmerlin: No new version - latest is v1.0.0
Press enter to continue...
:confused: o_O

Okay, I may need to uninstall and re-install. ;)

@Jack Yaz, what do you think about this development? :)


Edit: I tried an uninstall and a re-install (curl command from the first post) and there is no difference in the menu shown for me.
 
Mine looks like this as well

c597bc2fadd14ac3433d52ccdc4ace71.jpg



Sent from my iPad using Tapatalk
 
It doesn't show disabled services and not-installed scripts , that's why everyone has a different menu I assume.

Samba is disabled on my router, also no Skynet for me too so here's the menu I have:

Code:
Services
(selecting an option will restart the service)

1.    DNS/DHCP Server (dnsmasq)
2.    Internet connection
3.    Web Interface (httpd)
4.    WiFi

Scripts

7.    Disable Diversion ad-blocking
 
Yep, SAMBA disabled here.
 
FTP disabled for me. ;)
 
Just checked & FTP is disabled as well


Sent from my iPad using Tapatalk
 
This is where I see this script most useful for me.

IMG-0123.png
 
Which SSH App do you use on iOS?

(I use Prompt 2 and Blink, but this one looks different)
This is Shelly, I tried the others but liked this better. I recently moved to iOS from Android that I used for years, I used Juice SSH, and Shelly was most like Juice to me.
 
I finally thought I will try to use scMerlin to reboot the router, but when it connected normally via PuTTY, and amtm and all other scripts responded instantly, I tried connecting again via the browser/GUI. Still no go.

I then thought to use scMerlin to restart the Web Interface (httpd), option 3. and the browser instantly jumped to the login page. Success! :)
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!
 
Last edited:
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
 

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