What's new

Skynet Skynet WebUI as scMerlin sitemap

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

Mogsy

Senior Member
Hello,

Just noticing this. Skynet UI is not showing up and showing as sitemap. I have restarted httpd but not tried rebooting yet. This is what I have showing :

Skynet.jpg


Code:
######################################################
##               __  __              _  _           ##
##              |  \/  |            | |(_)          ##
##    ___   ___ | \  / |  ___  _ __ | | _  _ __     ##
##   / __| / __|| |\/| | / _ \| '__|| || || '_ \    ##
##   \__ \| (__ | |  | ||  __/| |   | || || | | |   ##
##   |___/ \___||_|  |_| \___||_|   |_||_||_| |_|   ##
##                                                  ##
##               v2.4.1 on RT-AX86U                 ##
##                                                  ##
##       https://github.com/jackyaz/scMerlin        ##
##                                                  ##
######################################################

ntpMerlin    http://192.168.50.1:8080/user3.asp
scMerlin     http://192.168.50.1:8080/user4.asp
Sitemap      http://192.168.50.1:8080/user5.asp
Skynet       http://192.168.50.1:8080/user5.asp
Unbound      http://192.168.50.1:8080/user2.asp
YazFi        http://192.168.50.1:8080/user1.asp

Press enter to continue...


Try reenabling webui from Skynet setting but does not show up too

Code:
Select Setting To Toggle:
[1]  --> Skynet Auto-Updates        | [Enabled]
[2]  --> Malware List Auto-Updates  | [daily]
[3]  --> Logging                    | [Enabled]
[4]  --> Filter Traffic             | [all]
[5]  --> Unban PrivateIP            | [Enabled]
[6]  --> Log Invalid Packets        | [Disabled]
[7]  --> Import AiProtect Data      | [Enabled]
[8]  --> Secure Mode                | [Enabled]
[9]  --> Fast Switch List           | [Disabled]
[10] --> Syslog Location            | [Default]
[11] --> IOT Blocking               | [Disabled]
[12] --> Stats Country Lookup       | [Enabled]
[13] --> CDN Whitelisting           | [Enabled]
[14] --> Display WebUI              | [Enabled]

[1-14]: 14

Select WebUI Option:
[1]  --> Enable
[2]  --> Disable

[1-2]: 1

[$] /jffs/scripts/firewall settings webui enable


=============================================================================================================


[i] Mounting Skynet Web Page As user6.asp
[i] WebUI Enabled
[i] Generating Stats


=============================================================================================================


[#] 168522 IPs (+0) -- 9733 Ranges Banned (+0) || 7 Inbound -- 3867 Outbound Connections Blocked! [settings] [20s]
 
Re-enabling the webui should have worked, since we see it assigned user6.asp in the Skynet output. What’s the output of:
Code:
grep Skynet /www/require/modules/menuTree.js
 
Code:
....@RT-AX86U-7FB8:/tmp/home/root# grep Skynet /www/require/modules/menuTree.js
{url: "user6.asp", tabName: "Skynet"},
{url: "user5.asp", tabName: "Skynet"},

After reboot menuTree.js and WebUI is empty and I have to manually re-enable. Thank you
 
Code:
....@RT-AX86U-7FB8:/tmp/home/root# grep Skynet /www/require/modules/menuTree.js
{url: "user6.asp", tabName: "Skynet"},
{url: "user5.asp", tabName: "Skynet"},

After reboot menuTree.js and WebUI is empty and I have to manually re-enable. Thank you
what's the output of cat /jffs/scripts/unmount from the ssh command line?
 
Fixed after upgrade to alpha 388.6_alpha1. Not sure why webui was missing
 
Fixed after upgrade to alpha 388.6_alpha1. Not sure why webui was missing
It will happen again after a future reboot. Skynet does not use the common flock method to prevent two or more addons updating the menus at the same time. So it’s likely to choose a custom page name that’s already been used. It’s a matter of milliseconds so it may be fine some times and broken others.
 
It will happen again after a future reboot. Skynet does not use the common flock method to prevent two or more addons updating the menus at the same time. So it’s likely to choose a custom page name that’s already been used. It’s a matter of milliseconds so it may be fine some times and broken others.
flock would definitely be better suited for such a scenario since flock can hold operations until the lock is free -as in it can be used to "wait" until the lock is free before allowing certain operations to be performed. flock can also do as you said, it can limit the number of concurrent addon updates to the menu.
 
Last edited:

Similar threads

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