What's new

Skynet Skynet fails to start after install

GlaucomaPredator

New Around Here
I have an issue with Skynet after I install it the services fail.

Code:
╔═══════════════════════════════════╦═══════════════════════════════════════════════════════════════════════╗
║ Test Description                  ║ Result                                                                ║
╠═══════════════════════════════════╬═══════════════════════════════════════════════════════════════════════╣
║ Internet-Connectivity             ║ [Passed]                                                              ║
║ Public IP Address                 ║ [Passed]                                                              ║
║ Write Permission                  ║ [Passed]                                                              ║
║ Config File                       ║ [Passed]                                                              ║
║ Firewall-Start Entry              ║ [Passed]                                                              ║
║ Services-Stop Entry               ║ [Passed]                                                              ║
║ Service-Event Entry               ║ [Passed]                                                              ║
║ Profile.add Entry                 ║ grep: /jffs/configs/profile.add: No such file or directory
[Failed]                                                              ║
║ SWAP File                         ║ [Passed]                                                              ║
║ Cron Jobs                         ║ [Failed]                                                              ║
║ NTP Sync                          ║ [Passed]                                                              ║
║ Log Level 7 Settings              ║ [Passed]                                                              ║
║ Duplicate Rules In RAW            ║ [Passed]                                                              ║
║ IPSets                            ║ [Failed]                                                              ║
║ IPTables Rules                    ║ [Failed]                                                              ║
║ Local WebUI Files                 ║ [Failed]                                                              ║
║ Mounted WebUI Files               ║ [Failed]                                                              ║
║ MenuTree.js Entry                 ║ [Failed]                                                              ║
╠═══════════════════════════════════╩═══════════════════════════════════════════════════════════════════════╣
║ 11/18 Tests Sucessful                                                                                     ║
╚═══════════════════════════════════════════════════════════════════════════════════════════════════════════╝

As you can see I have failing Tests
 
If this is the same report on Github, you mention AdguardHome there. Does DNS work on the router?
Code:
cat /etc/resolv.conf
nslookup raw.githubusercontent.com.
 
If this is the same report on Github, you mention AdguardHome there. Does DNS work on the router?
Code:
cat /etc/resolv.conf
nslookup raw.githubusercontent.com.

It's looking ok to me, using itself to resolve.

1772555830669.png


What is suspect is the fact that it fails to create the `profile.add` file.
 
Is your /jffs healthy? The profile.add is the least of the problems compared to the missing ipsets and iptables rules.
Code:
df /jffs
ls -l /jffs/configs/ /jffs/scripts/
 
This happened to me as well 2 days ago. Setting up new BE92U h/w v6.0 Merlin 3006.102.7 beta_2 from scratch. I can't remember the steps I took to get it working in the flurry of setting it up. I remember doing a restart via amtm but didn't have to uninstall/reinstall the product. I do remember being alarmed by it because I set it up then went to bed. Checking in the morning to find missing IPset/rules scared me a bit. But it's working now. Don't use AdGuard but do use ControlD daemon. It's working fine now.
 
Is your /jffs healthy? The profile.add is the least of the problems compared to the missing ipsets and iptables rules.
Code:
df /jffs
ls -l /jffs/configs/ /jffs/scripts/
The partition is looking healthy.
Not sure about the configs if I need any.
admin@RT-AX86U-D000:/tmp/home/root# df /jffs
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mtdblock9 48128 2132 45996 4% /jffs
admin@RT-AX86U-D000:/tmp/home/root# ls -l /jffs/configs/ /jffs/scripts/
/jffs/configs/:

/jffs/scripts/:
-rwxr-xr-x 1 admin root 113 Feb 24 22:55 dnsmasq.postconf
-rwxr-xr-x 1 admin root 246443 Mar 6 09:39 firewall
-rwxr-xr-x 1 admin root 446 Mar 6 09:39 firewall-start
-rwxr-xr-x 1 admin root 118 Dec 9 08:22 init-start
-rwxr-xr-x 1 admin root 118 Feb 24 21:26 post-mount
-rwxr-xr-x 1 admin root 80 Mar 2 14:37 pre-mount
-rwxr-xr-x 1 admin root 121 Mar 6 09:39 service-event
-rwxr-xr-x 1 admin root 277 Feb 24 22:55 service-event-end
-rwxr-xr-x 1 admin root 210 Mar 6 09:39 services-stop
-rwxr-xr-x 1 admin root 43 Feb 24 21:16 unmount
-rwxrwxrwx 1 admin root 529 Dec 16 00:42 wan-event
When I delete skynet it complains about a couple files not existing.
Deleting Skynet Files
sed: /jffs/configs/profile.add: No such file or directory
sed: /jffs/configs/dnsmasq.conf.add: No such file or directory
I wonder if I don't have something enabled on the router.
 
This happened to me as well 2 days ago. Setting up new BE92U h/w v6.0 Merlin 3006.102.7 beta_2 from scratch. I can't remember the steps I took to get it working in the flurry of setting it up. I remember doing a restart via amtm but didn't have to uninstall/reinstall the product. I do remember being alarmed by it because I set it up then went to bed. Checking in the morning to find missing IPset/rules scared me a bit. But it's working now. Don't use AdGuard but do use ControlD daemon. It's working fine now.
Do you know roughly what you did?
 
If you add the profile.add entry, does it stay, or is the router asd process deleting it?
Code:
echo "alias firewall=\"sh /jffs/scripts/firewall\" # Skynet" >> /jffs/configs/profile.add
Do you see anything helpful when you restart skynet?
Code:
/jffs/scripts/firewall restart
 
In debub info I see the following:
Bash:
╔═══════════════════════════════════╦═══════════════════════════════════════════════════════════════════════╗
║ Test Description                  ║ Result                                                                ║
╠═══════════════════════════════════╬═══════════════════════════════════════════════════════════════════════╣
║ Internet-Connectivity             ║ [Passed]                                                              ║
║ Public IP Address                 ║ [Passed]                                                              ║
║ Write Permission                  ║ [Passed]                                                              ║
║ Config File                       ║ [Passed]                                                              ║
║ Firewall-Start Entry              ║ [Passed]                                                              ║
║ Services-Stop Entry               ║ [Passed]                                                              ║
║ Service-Event Entry               ║ [Passed]                                                              ║
║ Profile.add Entry                 ║ [Passed]                                                              ║
║ SWAP File                         ║ [Passed]                                                              ║
║ Cron Jobs                         ║ [Failed]                                                              ║
║ NTP Sync                          ║ [Passed]                                                              ║
║ Log Level 7 Settings              ║ [Passed]                                                              ║
║ Duplicate Rules In RAW            ║ [Passed]                                                              ║
║ IPSets                            ║ [Failed]                                                              ║
║ IPTables Rules                    ║ [Failed]                                                              ║
║ Local WebUI Files                 ║ [Failed]                                                              ║
║ Mounted WebUI Files               ║ [Failed]                                                              ║
║ MenuTree.js Entry                 ║ [Failed]                                                              ║
╠═══════════════════════════════════╩═══════════════════════════════════════════════════════════════════════╣
║ 12/18 Tests Sucessful                                                                                     ║
╚═══════════════════════════════════════════════════════════════════════════════════════════════════════════╝
...

[*] Rule Integrity Violation - [ #1 #2 #3 #4 #5 #6 #8 #9 #10 #19 #21 #22 #23 ]

[*] Local File Missing - [ stats.js ]

[*] Mounted File Missing - [ chart.js chartjs-plugin-zoom.js hammerjs.js skynet.asp stats.js ]
 
If you add the profile.add entry, does it stay, or is the router asd process deleting it?
Code:
echo "alias firewall=\"sh /jffs/scripts/firewall\" # Skynet" >> /jffs/configs/profile.add
Do you see anything helpful when you restart skynet?
Code:
/jffs/scripts/firewall restart
Check out the above. Looks like some files are missing.

No I do not see anything out of the ordinary when I run that command to add the profile and still fails to start.
Still fails on a few things doing that.
 

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!
Back
Top