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.37k stars 311 forks source link

Wifi hotspot just loops/hangs when creating a hotspot #424

Open hrujcnzjt15 opened 3 months ago

hrujcnzjt15 commented 3 months ago

Describe the bug as per the title Wifi hotspot just loops/hangs when creating a hotspot

To Reproduce Steps to reproduce the behavior:

  1. Open GUI
  2. Insert usual details (In this case, I used 2.4 GHz with all settings disabled in advanced section)

Expected behavior Would run hotspot, where I can connect other devices to

Screenshots Screenshot at 2024-08-24 00-14-27

Screenshot at 2024-08-24 00-14-27

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

hrujcnzjt15 commented 3 months ago

Apologies, meant to also include the version of the wihotspot version, which was 4.7.2

pcxz commented 3 months ago

I have already post this issue. Read my workaround for this ...in wait of resolution.

https://github.com/lakinduakash/linux-wifi-hotspot/issues/420#issuecomment-2299818185

hrujcnzjt15 commented 3 months ago

The problem with your workaround is that this doesn't let other devices connect to the hotspot.

pcxz commented 3 months ago

Sure?? ..i have in this moment, 3 user connected 😀

hrujcnzjt15 commented 3 months ago

Hm, weird. well I guess that's my problem :/

Mind telling me if you did any extra steps that allowed you to have 3 users connected?

Or am I just in a tough place right now?

hrujcnzjt15 commented 3 months ago

Weird, everytime I make a hotspot, my devices see the network and are able to connect to it. But after a couple seconds it just failsand devices are no longer able to pick up the network.

pcxz commented 3 months ago

From bash1 add this command: sudo /usr/bin/create_ap DEVICE1 DEVICE2 MYHost 1234567890 --freq-band 2.4 ( change value DEVICE ecc.. as yours ) From bash2 add this command: sudo systemctl stop NetworkManager && sleep 5 && sudo systemctl start NetworkManager Wait your devices connecting ..and see if in bash1 receive any info when disconnecting !!!

pcxz commented 2 months ago

SOLVED

Edit /etc/NetworkManager/conf.d/ubuntu-system-adjustments.conf and change line: unmanaged-devices=none in:

unmanaged-devices=none

EndermanAPM commented 1 month ago

SOLVED

Edit /etc/NetworkManager/conf.d/ubuntu-system-adjustments.conf and change line: unmanaged-devices=none in: #unmanaged-devices=none

This allowed me to start it from the UI but I was unable to see/connect the hotspot until I restarted the NetworkManager service.

sudo systemctl restart NetworkManager