What's new

Skynet Skynet v7 web UI not displaying any statistics

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

anon762

New Around Here
Hello snb folks. I have been running into an issue with Skynet that I cannot figure out. Installation of the scripts went very smoothly with amtm utility and malware blocklists are working great. The issue I have is the web UI statistics are not populating whatsoever no matter what I do.

I have tried to modify the default syslog location, tried to re-enable the web UI, tried to run firewall debug genstats, and tried to click the "Update stats" button in the web UI to no avail.

I am running an RT-AC86U with the latest Merlin firmware version 386.11

Router Model; RT-AC86U
Skynet Version; v7.4.5 (20/06/2023) (1cbaf583a50dce1938f5f65d6c47b54c)
iptables v1.4.15 - (eth0 @ 192.168.1.1)
ipset v7.6, protocol version: 7
IP Address;
FW Version; 386.11_0 (May 14 2023) (4.1.27)
Install Dir; /tmp/mnt/ESD-USB/skynet (30.0G / 32.0G Space Available)
SWAP File; /tmp/mnt/ESD-USB/myswap.swp (2.0G)
Banned Countries; ru cn

Here is what the web UI looks like no matter what I do:
View attachment 52644

Any ideas are greatly appreciated, thanks!
 
Hello snb folks. I have been running into an issue with Skynet that I cannot figure out. Installation of the scripts went very smoothly with amtm utility and malware blocklists are working great. The issue I have is the web UI statistics are not populating whatsoever no matter what I do.

I have tried to modify the default syslog location, tried to re-enable the web UI, tried to run firewall debug genstats, and tried to click the "Update stats" button in the web UI to no avail.

I am running an RT-AC86U with the latest Merlin firmware version 386.11

Router Model; RT-AC86U
Skynet Version; v7.4.5 (20/06/2023) (1cbaf583a50dce1938f5f65d6c47b54c)
iptables v1.4.15 - (eth0 @ 192.168.1.1)
ipset v7.6, protocol version: 7
IP Address;
FW Version; 386.11_0 (May 14 2023) (4.1.27)
Install Dir; /tmp/mnt/ESD-USB/skynet (30.0G / 32.0G Space Available)
SWAP File; /tmp/mnt/ESD-USB/myswap.swp (2.0G)
Banned Countries; ru cn

Here is what the web UI looks like no matter what I do:
View attachment 52644

Any ideas are greatly appreciated, thanks!
I've just installed Skynet for the first time and seem to be having the same issue as you. In the Skynet tap under Firewall in my router GUI all of the drop-downs say "No Data to Display". That same page does say "Inbounds Blocks" is 816. Which would seem to indicate Skynet is working.

One thing that strikes me as weird is at the top of the page it says:

Skynet Statistics
Monitoring From To
Log Size - (0B)


which doesn't seem right. Hopefully, someone on the forum will tell us what we're doing wrong. I can't figure it out.
 
Check the skynet log for current data.
Code:
ls -l /tmp/mnt/*/skynet/skynet.log
head -n 5 /tmp/mnt/*/skynet/skynet.log
tail -5 /tmp/mnt/*/skynet/skynet.log
grep -ow "skynetloc=.* # Skynet" /jffs/scripts/firewall-start 2>/dev/null | grep -vE "^#" | awk '{print $1}' | cut -c 11-
 
I've just installed Skynet for the first time and seem to be having the same issue as you. In the Skynet tap under Firewall in my router GUI all of the drop-downs say "No Data to Display". That same page does say "Inbounds Blocks" is 816. Which would seem to indicate Skynet is working.

One thing that strikes me as weird is at the top of the page it says:

Skynet Statistics
Monitoring From To
Log Size - (0B)


which doesn't seem right. Hopefully, someone on the forum will tell us what we're doing wrong. I can't figure it out.
This has also happened to me after a firmware upgrade several months ago and was fixed by uninstalling then reinstalling Skynet right away.
 
Can confirm @ColDen this was the solution for me as well. Upgraded to the latest firmware version on the router then completely uninstalled/reinstalled Skynet from the amtm utility. After this clicked update stats and I can now see the statistics via the UI. Thank you everyone!
 
Can confirm @ColDen this was the solution for me as well. Upgraded to the latest firmware version on the router then completely uninstalled/reinstalled Skynet from the amtm utility. After this clicked update stats and I can now see the statistics via the UI. Thank you everyone!
Sometimes you just need to clean out the gunk... ;)
 
Sometimes you just need to clean out the gunk... ;)
Isn't there a command we can do to clear out the gunk? or is reinstallling skynet every upgrade is the only solution?
 
Isn't there a command we can do to clear out the gunk? or is reinstallling skynet every upgrade is the only solution?
I've posted commands above that would help figure out why it's broken. I suspect the USB path changes from what's recorded in the firewall-start script. But no one has tried those commands yet.
 
well mine is not broken, I tested your commands.


Code:
****@RT-AC88U-D3A8:/tmp/home/root# ls -l /tmp/mnt/*/skynet/skynet.log
-rw-rw-rw-    1 ****     root       5711284 Sep  7 04:00 /tmp/mnt/USB/skynet/skynet.log
****@RT-AC88U-D3A8:/tmp/home/root# head -n 5 /tmp/mnt/*/skynet/skynet.log
Sep  3 21:00:34 RT-AC88U-D3A8 kernel: [BLOCKED - INBOUND] IN=ppp0 OUT= MAC= SRC=212.111.**.243 DST=1**.61.1**.220 LEN=44 TOS=0x00 PREC=0x00 TTL=244 ID=54321 PROTO=TCP SPT=48067 DPT=3330 SEQ=3903578066 ACK=0 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204058C)
Sep  3 21:00:40 RT-AC88U-D3A8 kernel: [BLOCKED - INBOUND] IN=ppp0 OUT= MAC= SRC=193.57.***.49 DST=1**.61.1**.220 LEN=40 TOS=0x00 PREC=0x00 TTL=242 ID=4329 PROTO=TCP SPT=54176 DPT=11389 SEQ=2633277256 ACK=0 WINDOW=1024 RES=0x00 SYN URGP=0
Sep  3 21:00:43 RT-AC88U-D3A8 kernel: [BLOCKED - INBOUND] IN=ppp0 OUT= MAC= SRC=183.236.1**.132 DST=1**.61.1**.220 LEN=40 TOS=0x08 PREC=0x20 TTL=41 ID=62058 PROTO=TCP SPT=60126 DPT=80 SEQ=2990384092 ACK=0 WINDOW=30583 RES=0x00 SYN URGP=0
Sep  3 21:00:46 RT-AC88U-D3A8 kernel: [BLOCKED - INBOUND] IN=ppp0 OUT= MAC= SRC=109.205.***.150 DST=1**.61.1**.220 LEN=40 TOS=0x08 PREC=0x20 TTL=236 ID=34283 PROTO=TCP SPT=49876 DPT=20375 SEQ=3289868704 ACK=0 WINDOW=1024 RES=0x00 SYN URGP=0
Sep  3 21:00:55 RT-AC88U-D3A8 kernel: [BLOCKED - INBOUND] IN=ppp0 OUT= MAC= SRC=109.205.213.*** DST=1**.61.1**.220 LEN=40 TOS=0x08 PREC=0x20 TTL=236 ID=52175 PROTO=TCP SPT=49876 DPT=24804 SEQ=1864239351 ACK=0 WINDOW=1024 RES=0x00 SYN URGP=0
****@RT-AC88U-D3A8:/tmp/home/root# tail -5 /tmp/mnt/*/skynet/skynet.log
Sep  7 03:59:11 RT-AC88U-D3A8 kernel: [BLOCKED - INBOUND] IN=ppp0 OUT= MAC= SRC=103.***.77.1** DST=1**.61.1**.220 LEN=40 TOS=0x00 PREC=0x00 TTL=237 ID=5980 PROTO=TCP SPT=41226 DPT=3388 SEQ=803125692 ACK=0 WINDOW=1024 RES=0x00 SYN URGP=0
Sep  7 03:59:26 RT-AC88U-D3A8 kernel: [BLOCKED - INBOUND] IN=ppp0 OUT= MAC= SRC=94.***.61.* DST=1**.61.1**.220 LEN=44 TOS=0x00 PREC=0x00 TTL=245 ID=54321 PROTO=TCP SPT=33060 DPT=12428 SEQ=3673309562 ACK=0 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204058C)
Sep  7 03:59:35 RT-AC88U-D3A8 kernel: [BLOCKED - INBOUND] IN=ppp0 OUT= MAC= SRC=103.***.77.1*0 DST=1**.61.1**.220 LEN=40 TOS=0x00 PREC=0x00 TTL=238 ID=59531 PROTO=TCP SPT=41226 DPT=2019 SEQ=828394676 ACK=0 WINDOW=1024 RES=0x00 SYN URGP=0
Sep  7 03:59:44 RT-AC88U-D3A8 kernel: [BLOCKED - INBOUND] IN=ppp0 OUT= MAC= SRC=45.***.232.1** DST=1**.61.1**.220 LEN=40 TOS=0x00 PREC=0x00 TTL=239 ID=54321 PROTO=TCP SPT=34832 DPT=8080 SEQ=211185532 ACK=0 WINDOW=65535 RES=0x00 SYN URGP=0
Sep  7 03:59:50 RT-AC88U-D3A8 kernel: [BLOCKED - INBOUND] IN=ppp0 OUT= MAC= SRC=94.***.61.*** DST=1**.61.1**.220 LEN=44 TOS=0x00 PREC=0x00 TTL=245 ID=54321 PROTO=TCP SPT=36345 DPT=12421 SEQ=2269220195 ACK=0 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204058C)
****@RT-AC88U-D3A8:/tmp/home/root# grep -ow "skynetloc=.* # Skynet" /jffs/scripts/firewall-start 2>/dev/null | grep -vE "^#" | awk '{print $1}' | cut -c 11-
/tmp/mnt/USB/skynet

Is this the expected result?
 
I've posted commands above that would help figure out why it's broken. I suspect the USB path changes from what's recorded in the firewall-start script. But no one has tried those commands yet.

I've uninstalled and reinstalled Skynet several times. In the GUI it still reports "No Data to Display" after running for 24-hours.
Below is what I get when I run your code:

admin@asus:/tmp/home/root# ASUSWRT-Merlin RT-AX86U 3004.388.4_0 Mon Aug 21 19:34:20 UTC 2023 admin@asus:/tmp/home/root# ls -l /tmp/mnt/*/skynet/skynet.log -rw-rw-rw- 1 admin root 0 Sep 6 13:37 /tmp/mnt/M2SSD/skynet/skynet.log admin@asus:/tmp/home/root# head -n 5 /tmp/mnt/*/skynet/skynet.log admin@asus:/tmp/home/root# tail -5 /tmp/mnt/*/skynet/skynet.log admin@asus:/tmp/home/root# grep -ow "skynetloc=.* # Skynet" /jffs/scripts/firewall-start 2>/dev/null | grep -vE "^#" | awk '{print $1}' | cut -c 11- /tmp/mnt/M2SSD/skynet admin@asus:/tmp/home/root#

This is what my Skynet tab looks like:
1694098001343.png


I'm stumped.
 
How about running:
Code:
ps ww | grep logd
nvram get message_loglevel
nvram get log_level
Have you changed the default syslog levels before?

I have not change syslog levels.

Rich (BB code):
admin@asus:/tmp/home/root# ps ww | grep logd
 1438 admin     3424 S    /sbin/syslogd -m 0 -S -O /tmp/syslog.log -s 256 -l 4
 1440 admin     3424 S    /sbin/klogd -c 5
 8607 admin     5972 S    grep logd
admin@asus:/tmp/home/root#
 
I have not change syslog levels.

Rich (BB code):
admin@asus:/tmp/home/root# ps ww | grep logd
 1438 admin     3424 S    /sbin/syslogd -m 0 -S -O /tmp/syslog.log -s 256 -l 4
 1440 admin     3424 S    /sbin/klogd -c 5
 8607 admin     5972 S    grep logd
admin@asus:/tmp/home/root#
Check on the syslog page. “Log only messages…” option should be “debug” (seems to be “warning” on your router now).
 
Last edited:
Check on the syslog page. “Log only messages…” option should be “debug” (seems to be “warning” on your router now).

Apparently I DID change my Syslog levels. My "Log only messages" was set to "notice". When I changed it to "debug" I started getting results in the Skynet tab. When learning about how to install Skynet, I don't recall reading anything about Syslog levels, but I could have missed it.

Thank you for taking the time to help me out. Being a noob is hard work. :)

1694101168838.png
 
Apparently I DID change my Syslog levels. My "Log only messages" was set to "notice". When I changed it to "debug" I started getting results in the Skynet tab. When learning about how to install Skynet, I don't recall reading anything about Syslog levels, but I could have missed it
Verify that the 2 options are “notice” and “debug“ respectively.
 
They are indeed set to "notice" and "debug".

Thanks again for your help. You are an asset to the community.
 
For future users facing the same issue, these commands can help diagnose the lack of stats in the GUI:
Code:
grep -ow "skynetloc=.* # Skynet" /jffs/scripts/firewall-start 2>/dev/null | grep -vE "^#" | awk '{print $1}' | cut -c 11-
ls -l /tmp/mnt/*/skynet/skynet.log
head -n 5 /tmp/mnt/*/skynet/skynet.log
tail -5 /tmp/mnt/*/skynet/skynet.log
ps ww | grep logd
nvram get message_loglevel
nvram get log_level
 
Hello,
After the last update, in gui mode, the information and graphics no longer appear.

Skynet Statistics
Monitoring From - N/A
Log Size - N/A


Skynet Version; v7.4.6 (18/09/2023) (054315d592e0b6e1fbd846cfcff7f4b0).

Log level:


admin@RT-AC68U-77D0:/tmp/home/root# nvram get message_loglevel
5
admin@RT-AC68U-77D0:/tmp/home/root# nvram get log_level
7
 
Hello,
After the last update, in gui mode, the information and graphics no longer appear.

Skynet Statistics
Monitoring From - N/A
Log Size - N/A


Skynet Version; v7.4.6 (18/09/2023) (054315d592e0b6e1fbd846cfcff7f4b0).

Log level:

admin@RT-AC68U-77D0:/tmp/home/root# nvram get message_loglevel
5
admin@RT-AC68U-77D0:/tmp/home/root# nvram get log_level
7
Resolved after force update.

firewall update -f
 

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