linux-wifi-hotspot icon indicating copy to clipboard operation
linux-wifi-hotspot copied to clipboard

AX210, Failed to initialize nft: Protocol not supported

Open kylebakerio opened this issue 1 year ago • 3 comments

Describe the bug When trying to start the hotspot, I get a silent failure in the GUI.

To Reproduce Steps to reproduce the behavior: Most vanilla options; just selecting the only interface I have for Wifi Interface (wlp9so) and that same one for internet interface (only other option there is lo).

Expected behavior expect a hotspot, or a useful error message.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Pop (ubuntu variant)
  • Version 22.04

Additional context Using sudo did not help. Just downloading a built latest (4.5.0, even though it says in about 4.4.0, I think there's a pull request related to that). I also tried setting it to 2.4 directly, which had no effect.

In terminal, the output is:

~/code/forks/linux-wifi-hotspot-4.5.0/build$ ./wihotspot-gui 

(wihotspot-gui:579655): GLib-GObject-WARNING **: 16:23:48.972: invalid cast from 'GtkEntry' to 'GtkTextView'

(wihotspot-gui:579655): Gtk-CRITICAL **: 16:23:48.972: gtk_text_view_get_buffer: assertion 'GTK_IS_TEXT_VIEW (text_view)' failed

(wihotspot-gui:579655): GLib-GObject-WARNING **: 16:23:48.973: invalid (NULL) pointer instance

(wihotspot-gui:579655): GLib-GObject-CRITICAL **: 16:23:48.973: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
pkexec --user root create_ap wlp9s0 wlp9s0 'MyAccessPoint' '12345678' --mkconfig /etc/create_ap.conf --freq-band 2.4 
Config options written to '/etc/create_ap.conf'
iptables/1.8.7 Failed to initialize nft: Protocol not supported
Command not found or exited with error status
pkexec --user root create_ap wlp9s0 wlp9s0 'MyAccessPoint' '12345678' --mkconfig /etc/create_ap.conf 
Config options written to '/etc/create_ap.conf'
iptables/1.8.7 Failed to initialize nft: Protocol not supported
Command not found or exited with error status

kylebakerio avatar Jun 08 '23 22:06 kylebakerio

Also, btw: don't see a debian package in the release so I built from source; I'm guessing that's out of date info in the readme?

As for my guess, though I'm not super familiar with this level of stuff in linux, I'm guessing this somehow is related to kernel incompatibility with nf_tables? basing off of information seen here: https://superuser.com/questions/1480986/iptables-1-8-2-failed-to-initialize-nft-protocol-not-supported

kylebakerio avatar Jun 08 '23 22:06 kylebakerio

My machine is an X1 Extreme Gen 4.

kylebakerio avatar Jun 08 '23 22:06 kylebakerio

i have searched, this isnt related to hardware but rather the kernel. did you recently perform kernel upgrade?

FoxieFlakey avatar Jun 10 '23 04:06 FoxieFlakey