lakinduakash / linux-wifi-hotspot

Feature-rich wifi hotspot creator for Linux which provides both GUI and command-line interface. It is also able to create a hotspot using the same wifi card which is connected to an AP already ( Similar to Windows 10).
BSD 2-Clause "Simplified" License
3.01k stars 278 forks source link

cannot filter by mac adress #392

Closed redcactus5 closed 2 months ago

redcactus5 commented 3 months ago

the window closes on attempting to start the hotspot when mac address filtering is on.

To Reproduce settings: no security (no password) wifi interface default: internet interface default hidden mode enabled mac filter enabled with my client device's mac adress in the box

when create hotspot is clicked, the windows immediately closes without any error or explanation. error log from terminal: (wihotspot-gui:9379): GLib-GObject-WARNING **: (ip address): invalid cast from 'GtkEntry' to 'GtkTextView'

(wihotspot-gui:9379): Gtk-CRITICAL **: (ip address): gtk_text_view_get_buffer: assertion 'GTK_IS_TEXT_VIEW (text_view)' failed

(wihotspot-gui:9379): GLib-GObject-WARNING **: (ip address): invalid (NULL) pointer instance

(wihotspot-gui:9379): GLib-GObject-CRITICAL **: (ip address): g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(wihotspot-gui:9379): Gtk-CRITICAL **: (ip address): gtk_text_buffer_get_start_iter: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed

(wihotspot-gui:9379): Gtk-CRITICAL **: (ip address): gtk_text_buffer_get_end_iter: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed

(wihotspot-gui:9379): Gtk-CRITICAL **: (ip address) : gtk_text_buffer_get_text: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed

(wihotspot-gui:9379): Gtk-CRITICAL **: (ip address): gtk_text_buffer_get_start_iter: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed

(wihotspot-gui:9379): Gtk-CRITICAL **: (ip address): gtk_text_buffer_get_end_iter: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed

(wihotspot-gui:9379): Gtk-CRITICAL **: (ip address): gtk_text_buffer_get_text: assertion 'GTK_IS_TEXT_BUFFER (buffer)' failed Segmentation fault (core dumped) note: i replaced my ip adress with (ip address) in the log

Desktop:

gnollhide commented 2 months ago

having the same issue, it seems any text entered into the mac filter causes the program to segfault. i had mine set up with password instead of no password if that matters. also on linux mint 21.3, for what it's worth

lakinduakash commented 2 months ago

this resolves by #391 Related issue #389

lakinduakash commented 2 months ago

Please build from main branch