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.2k stars 296 forks source link

create_ap goes stuck when creating the wifi #241

Closed ham1255 closed 2 years ago

ham1255 commented 2 years ago

Describe the bug when running the script it hangs with this

Creating a virtual WiFi interface... 

To Reproduce

  1. run create_ap -m bridge wlo1 enp6s0 Network66 Pass6600

Expected behavior it should create the wifi

Desktop (please complete the following information):

some logs when running

#create_ap -m bridge wlo1 enp6s0 Network66 Pass6600
Config dir: /tmp/create_ap.wlo1.conf.4o0cPeQF
PID: 8599
Network Manager found, set ap0 as unmanaged device... DONE
Creating a virtual WiFi interface...

also i have checked that my wifi card has ap support

ham1255 commented 2 years ago

84 seems the issue because when i ran nmcli device set ap0 managed no

in another cli while create_ap is hang and it created the ap had to remove -m bridge due being hang too for some reason

Creating a virtual WiFi interface... ap0 created.
Sharing Internet using method: bridge
Create a bridge interface...

but overall it worked