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.15k stars 294 forks source link

No Wi-Fi Adapter Found on Manjaro/PhoSh (PinePhone) #287

Open robster7674 opened 1 year ago

robster7674 commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

After installation, I ran wihotspot and try to enable it. I got an error that I cannot be connected to Wi-Fi and be an AP at the same time. So, I went to Wi-Fi settings and disconnected the current Wi-Fi (Forget Connection). After that, I tried again, but it still failed. When going back to Wi-Fi settings I noticed "No Wi-Fi Adapter Found".

To Reproduce Steps to reproduce the behavior:

  1. Install Manjaro beta28
  2. Install linux-wifi-hotspot (I used yay)
  3. Run wihotspot
  4. See error(s) under Additional Context

Expected behavior A clear and concise description of what you expected to happen.

Be able to create a hotspot and connect and use my laptop (MacBook).

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

Desktop (please complete the following information):

Additional context

[manjaro@manjaro-arm ~]$ wihotspot

(wihotspot-gui:10123): GLib-GObject-WARNING **: 08:52:09.063: invalid cast from 'GtkEntry' to 'GtkTextView'

(wihotspot-gui:10123): Gtk-CRITICAL **: 08:52:09.063: gtk_text_view_get_buffer: assertion 'GTK_IS_TEXT_VIEW (text_view)' failed

(wihotspot-gui:10123): GLib-GObject-WARNING **: 08:52:09.068: invalid (NULL) pointer instance

(wihotspot-gui:10123): GLib-GObject-CRITICAL **: 08:52:09.068: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Please select Wifi and Internet interfaces
pkexec --user root create_ap wlan0 eth0 'MyAccessPoint' '12345678' --mkconfig /etc/create_ap.conf --freq-band 2.4 --mac  --gateway 192.168.12.1 
Config options written to '/etc/create_ap.conf'
ERROR: Your adapter can not be a station (i.e. be connected) and an AP at the same time
Command not found or exited with error status
pkexec --user root create_ap wlan0 wwan0 'MyAccessPoint' '12345678' --mkconfig /etc/create_ap.conf --freq-band 2.4 
Config options written to '/etc/create_ap.conf'
ERROR: Your adapter can not be a station (i.e. be connected) and an AP at the same time
Command not found or exited with error status
eyadevv commented 1 year ago

I had this issue in the past, I wasted so much time trying to figure out what caused the problem and in the end, I had to reset my laptop.

zzhzero commented 1 year ago

Ubuntu 22.04.1 LTS same situation