Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start issue #633

Open
iooico1 opened this issue Sep 27, 2023 · 7 comments
Open

Unable to start issue #633

iooico1 opened this issue Sep 27, 2023 · 7 comments

Comments

@iooico1
Copy link

iooico1 commented Sep 27, 2023

I am a technical novice and am currently using Nodogsplash 5.0.1 for openwrt configuration. During use, it was found that the expected input command feedback was: nodogsplash protocol not started (Error: No such file or directory). I hope the leaders can provide suggestions for modification or installation.

@iooico1
Copy link
Author

iooico1 commented Sep 27, 2023

[Wed Sep 27 11:03:35 2023]23950 Exiting because of error initializing firewall rules

@iooico1
Copy link
Author

iooico1 commented Sep 27, 2023

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

[5][Wed Sep 27 11:20:31 2023]25205 Initializing firewall rules
iptables v1.8.7 (nf_tables): CHAIN_ADD failed (No such file or directory): chain PREROUTING
iptables v1.8.7 (nf_tables): CHAIN_ADD failed (No such file or directory): chain PREROUTING
iptables v1.8.7 (nf_tables): CHAIN_ADD failed (No such file or directory): chain PREROUTING
iptables v1.8.7 (nf_tables): CHAIN_ADD failed (No such file or directory): chain PREROUTING
iptables v1.8.7 (nf_tables): CHAIN_ADD failed (No such file or directory): chain PREROUTING
[3][Wed Sep 27 11:20:38 2023]25205 Error initializing firewall rules! Cleaning up

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

Warning: iptables-legacy tables present, use iptables-legacy to see them

[3][Wed Sep 27 11:20:39 2023]25205 Exiting because of error initializing firewall rules

@mwarning
Copy link
Member

I suspect that you are missing some dependencies.

On OpenWrt the dependencies for NoDogSplash would be:

  • libpthread
  • libmicrohttpd-no-ssl
  • iptables-nft
  • iptables-mod-nat-extra
  • iptables-mod-ipopt
  • iptables-mod-conntrack-extra

@iooico1
Copy link
Author

iooico1 commented Sep 27, 2023 via email

@iooico1
Copy link
Author

iooico1 commented Sep 27, 2023 via email

@bluewavenet
Copy link
Contributor

@mwarning @iooico1
The Warning: iptables-legacy tables present, use iptables-legacy to see them message was sometimes seen in the pre-nftables version of opennds (it was the same dependencies at that time).

The problem was a bug in the "iptables" pseudo package that is intended to install the various iptablesxx packages.

Unfortunately if another package has just "iptables" as a dependency, the hacky iptables-zz-legacy will be installed.
Even worse, it is possible to have both iptables-zz-legacy and iptables-nft installed at the same time.

In a situation like this, opennds could not see the "iptables" tables, so exited, just like nodog does here.

The solution was to use opkg to force remove all iptablesxx packages, then re-install iptables-nft.
After a reboot, all was well.

I suspect it may well be the same issue here.

@iooico1
Copy link
Author

iooico1 commented Oct 7, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants