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

[FIXED] wifi is not detected by system after using linux-wifi-hotspot #249

Closed kart972 closed 2 years ago

kart972 commented 2 years ago

Describe the bug Manjaro gnome stoped detecting wifi adapter at all after using wifi hot spot

To Reproduce Just use it one time on last version of mandatory gnome

Desktop (please complete the following information):

kart972 commented 2 years ago

I fixed it. I suppose because wifi hot spot used wifi so gnome decide to set this device as unmanaged so it made it unavailable. In order to fix this you need to open this file:

sudo nano /etc/NetworkManager/NetworkManager.conf

and change unmanaged to managed

irisxerno commented 1 year ago

i found that this can happen if you reboot the system before turning off the hotspot. when starting a hotspot, the script will add the wifi interface as unmanaged in NetworkManager.conf, and restores it back when stopping the hotspot. however, when rebooting, the unmanaged-devices line doesn't get removed and the script doesn't know to restore it to a version without it.

this is quite a subtle issue and i think something should be done about it, so that users don't mysteriously lose their wifi if they happen to reboot the system.