What's new

scMerlin scMerlin 2.5.8 - Service and script control menu for Asuswrt-Merlin, October 20, 2024

  • 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 believe this is a bad idea. Who toggles it back? And if done later on, NTP may never sync. That‘s what I saw when I tested this a few months ago.
Who toggles the toggles... that's really the question. ;)
 
I believe this is a bad idea. Who toggles it back? And if done later on, NTP may never sync. That‘s what I saw when I tested this a few months ago.
My understanding is the user is asking for a menu option to manually enable/disable the "NTP Ready" check performed by the add-on during startup. So if the user disables this check, it would be the user's responsibility to enable it back at some later point. I'm guessing the idea is to disable the check momentarily while troubleshooting the WAN connection, and then enable it once the issue has been resolved, and then reboot the router. Without an established WAN connection, there's not much the user can do anyway, so the "NTP Ready" check is moot under such conditions.

Perhaps the poster can elaborate on what he's trying to do since there might be other ways to accomplish what he wants to do.

Just my 2 cents.
 
Who toggles the toggles... that's really the question. ;)
Well…
IMG_0013.jpeg
 
My understanding is the user is asking for a menu option to manually enable/disable the "NTP Ready" check performed by the add-on during startup. So if the user disables this check, it would be the user's responsibility to enable it back at some later point. I'm guessing the idea is to disable the check momentarily while troubleshooting the WAN connection, and then enable it once the issue has been resolved, and then reboot the router. Without an established WAN connection, there's not much the user can do anyway, so the "NTP Ready" check is moot under such conditions.

Perhaps the poster can elaborate on what he's trying to do since there might be other ways to accomplish what he wants to do.

Just my 2 cents.

@Martinski is spot on for all accounts. My fault if I do not enable it; I have some unique occasions/use cases when wan detection may fail (or not even be available) during initial router restart yet I still desire to have the SCMerlin gui available, without waiting 10 minutes. I have manually commented out the subroutine for a while now, with no ill effects overall or even with NTP specifically. Once the WAN connection goes live, the NTP watchdog does what it is supposed to do.

It would just be nice to have a menu option so that checking for updates does not give a false update needed.
 
I also ran into that issue where I couldn't upgrade it from 2.4.0 to 2.5.2 but saw the first couple post to uninstall and reinstall and good now.
 
...
It would just be nice to have a menu option so that checking for updates does not give a false update needed.
This last sentence is confusing. If your WAN connection is down, which "updates" are you checking? scMerlin updates? F/W updates?

Why would you check for any "updates" if your WAN is not connected?

Or, are you referring to the NTP synchronization attempts as "updates"?

EDIT:
BTW, I've finished writing the code to add the option to toggle the "NTP Ready" check from the SSH script or the webGUI, but I still need to run more testing & verification. Not sure if I'll be able to finish all my testing by tonight.

scMerlinSSHUI_NTPReadyToggle.jpg



scMerlinWebGUI_NTPReadyToggle.jpg
 
Last edited:
This last sentence is confusing. If your WAN connection is down, which "updates" are you checking? scMerlin updates? F/W updates?

Why would you check for any "updates" if your WAN is not connected?

Or, are you referring to the NTP synchronization attempts as "updates"?
Neither.

Because I have modified the script, AMTM and the script itself both report that an update is available.

An option to disable ntp check would stop this from happening.
 
😱
And you want support? 🙄
OP is asking to add a feature so they don‘t have to modify the script - which triggers the MD5 update notification. Nothing wrong with that.
 
Wasn't even serious. British humour (sarcasm).
I do like the idea of the ready check 👍🏼
 
Wasn't even serious. British humour (sarcasm).
I do like the idea of the ready check 👍🏼
amtm 4.5.1 was meant to come without the MD5 check, I removed it completely. But then I realized it is also a safety feature. If the local and remote file hashes differ something changed. In the case of @RandomUser777 this was deliberate. But it may also indicate that something unfavorable happened to the local file.
 
amtm 4.5.1 was meant to come without the MD5 check, I removed it completely. But then I realized it is also a safety feature. If the local and remote file hashes differ something changed. In the case of @RandomUser777 this was deliberate. But it may also indicate that something unfavorable happened to the local file.
I definitely agree that keeping the hash check is important.
 
@thelonelycoder,

I've submitted a GitHub PR with my latest changes for the next "2.5.3" release version. Here is the info for the Release Notes:

1) NEW webGUI option to enable/disable the "NTP Ready" check performed at startup.
2) NEW webGUI option to enable/disable the "dnsmasq tainted" watchdog script.
3) NEW SSH UI menu option to enable/disable the "NTP Ready" check performed at startup.
4) NEW SSH UI menu option to view internal storage usage: JFFS & NVRAM.
5) Some code improvements.

The new WebGUI options:

scMerlinWebGUI_ConfigToggles.jpg


New SSH UI menu options to view internal storage usage & to enable/disable the "NTP Ready" check:

scMerlinSSHUI_InternalStorage.jpg



scMerlinSSHUI_JFFS_NVRAM.jpg
 
Neither.

Because I have modified the script, AMTM and the script itself both report that an update is available.

An option to disable ntp check would stop this from happening.
Ah, now that makes more sense. I just submitted the PR with my changes. I hope this addresses your situation.
 
updated perfectly for me looks hunky-dory. 👍
 
@Martinski @thelonelycoder

Wanted to say thanks for the option to disable NTP check. I swapped out my main router and a node, and did a complete factory reset. I wanted to get the new router almost virtually online before the swap that way downtime was minimized, so being able to have scripts, including scmerlin, live through several reboots with no wan connection was very helpful.
 
Dnsmasq crashed, didn't get restarted.

I have the 'dns' option enabled in scMerlin and it has always worked before.
Today, the WAN connection glitched, dnsmasq crashed (as usual), but didn't get restarted.

It looks like a restart attempt was made - there's a "service restart_dnsmasq" process sitting there but doing nothing.

I restarted it from the scMerlin GUI and everything started working again.

Processes before I restarted dnsmasq :-

Code:
ps | grep dns
 2618 AsusAdmi  3328 S    {tailtaintdnsd} /bin/sh /jffs/addons/scmerlin.d/tailtaintdnsd
 2620 AsusAdmi  3328 S N  {tailtaintdns} /bin/sh /jffs/addons/scmerlin.d/tailtaintdns
 2630 AsusAdmi  3328 S N  {tailtaintdns} /bin/sh /jffs/addons/scmerlin.d/tailtaintdns
 2900 AsusAdmi  2764 S    dnsmasq --log-async
 3604 AsusAdmi 13344 S N  service restart_dnsmasq
21074 AsusAdmi  3328 S    grep dns

Processes after I restarted dsnmasq :-
Code:
ps | grep dns
 2618 AsusAdmi  3328 S    {tailtaintdnsd} /bin/sh /jffs/addons/scmerlin.d/tailtaintdnsd
 2620 AsusAdmi  3328 S N  {tailtaintdns} /bin/sh /jffs/addons/scmerlin.d/tailtaintdns
 2630 AsusAdmi  3328 S N  {tailtaintdns} /bin/sh /jffs/addons/scmerlin.d/tailtaintdns
 3604 AsusAdmi 13344 S N  service restart_dnsmasq
23434 nobody    2788 S    dnsmasq --log-async
23435 AsusAdmi  2764 S    dnsmasq --log-async
24151 AsusAdmi  3328 R    grep dns
 
scMerlin 2.5.4 is now available
  • NEW code to support BE-class Tri-Band & Quad-Band routers (e.g. GT-BE98, GT-BE98_PRO, RT-BE96U) when reporting temperatures on the webGUI & CLI menu.
  • FIXED error when loading the webGUI page on the 3006.102.x F/W version.
Thanks @Martinski for the update.
 
My apologies for not posting this information before today.


Release Notes for the scMerlin 2.5.5 version [2024-June-25]:

1) FIXED another error when loading the webGUI page on the 3006.102.1 F/W version.

2) FIXED code to get the correct temperatures on the webGUI for the 6GHz bands on the BE-class routers.
 

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