What's new

scMerlin scMerlin v2 - 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!

I have both possible, with http being just in case something goes wrong with the certs (using a pixelserv generated cert). I was hoping it could default to whichever protocol I'm using to get to the scMerlin page. But it's not a big problem, I was just surprised when I tried clicking on a link and got a login page :)
 
I really like the 'WebUI Addons' section, but the links included are http, whereas I am using https, so they don't work (they redirect to the login page).

Hadn't noticed before, but can confirm this behaviour. Authentication Method is set to 'Both' but as my bookmark is set to https I always log in with https and the links in the section mention by @pdc indeed redirect to the login page.
 
yeah a .replace can do that since i'm re-using the file that the CLI uses and contains the full path
The screen output needs the full path, but does the tmp file? Just remove the wu variable.
Bash:
grep "user.*\.asp" /tmp/menuTree.js | awk -F'"' -v wu="$weburl" '{printf "\[\"%s\",\""wu"%s\"\],",$4,$2}' >> /tmp/addonwebpages.tmp
 
The screen output needs the full path, but does the tmp file? Just remove the wu variable.
Bash:
grep "user.*\.asp" /tmp/menuTree.js | awk -F'"' -v wu="$weburl" '{printf "\[\"%s\",\""wu"%s\"\],",$4,$2}' >> /tmp/addonwebpages.tmp
eh already patched it in the webui. i have other ideas for that file ;-)
 
Jack, I never noticed it before so I'm not sure if it was there in previous versions, but something weird happens in the table with the processes list. I tried clearing my cache and reloaded the page several times. Is there anything else I can to get things back the right columns? Or does it have todo with the fact that the process has multiple threads?

Screenshot_2021-04-05 scMerlin.png


Schermafbeelding 2021-04-05 224628.png


Best regards,
Marco
 
Jack, I never noticed it before so I'm not sure if it was there in previous versions, but something weird happens in the table with the processes list. I tried clearing my cache and reloaded the page several times. Is there anything else I can to get things back the right columns? Or does it have todo with the fact that the process has multiple threads?

View attachment 32839

View attachment 32840

Best regards,
Marco
can you check how the process for nextdns appears in top rather than htop? (process list derives from top)
 
After applying the V2.2.2 update from the WebUI I've ended up with two entries For scMerlin.

Screenshot_2021-04-05 scMerlin.png


If I now run the uninstaller I'm left with this view, the page url is http://192.168.0.1/user3.asp and is missing the WebUI Addons section.


Screenshot_2021-04-05 scMerlin(1).png


Reinstalling gets me back to the same two entries again.
When installing, despite answering 'n' to using a USB drive it still ended up enabled, typing 'usb' correctly toggled the state to off.

Both entries seem to work ok but it would be nice to tidy things up if possible.

Thanks for any guidance you may be able to offer.
 
After applying the V2.2.2 update from the WebUI I've ended up with two entries For scMerlin.

View attachment 32845

If I now run the uninstaller I'm left with this view, the page url is http://192.168.0.1/user3.asp and is missing the WebUI Addons section.


View attachment 32846

Reinstalling gets me back to the same two entries again.
When installing, despite answering 'n' to using a USB drive it still ended up enabled, typing 'usb' correctly toggled the state to off.

Both entries seem to work ok but it would be nice to tidy things up if possible.

Thanks for any guidance you may be able to offer.
Rebooting is probably quickest, otherwise you need to remove the double entry in /tmp/menuTree.js

I'm not sure why you ended up with a double tab, which version did you update from and had you modified any files manually?
 
Ah, where its using so much memory there's no space between the columns. I can see if there's a way i can account for that
@MvW Can you try the develop branch please? Run the below in SSH
Code:
scmerlin develop
No version change, but should fix NextDNS line (and others) in the process list
 
Rebooting is probably quickest, otherwise you need to remove the double entry in /tmp/menuTree.js

I'm not sure why you ended up with a double tab, which version did you update from and had you modified any files manually?
Can't reboot since wife is working from home currently, I've edited out the double entry in /tmp/menuTree.js which has fixed it!

Pretty sure I was on V2.2.1 before the WebUI update and I had been viewing files with WinSCP when trying to find out why I was missing the NVRAM and JFFS values. I did copy and paste a code block to create my earlier post, not intending to change anything but I guess it's possible I did.

In /tmp/var/wwwext I still have a 'user3.asp' file, is it ok to delete it or will a reboot take care of that?

Many thanks for your help and my apologies if this was caused by my own fat fingers!
 
VSZ% was 181.5 in the top output, but only 81.5 in scMerlin.
You have a sharp eye, I didn't even see it. Thanks for noticing. As I just posted in another thread, I can barely read my own screenshots. It's time for a visit to the optician soon, I guess. Jeez, I'm getting old.
 

Latest 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