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.21k stars 295 forks source link

No Devices Can Connect to Hotspot #131

Closed devin1126 closed 3 years ago

devin1126 commented 3 years ago

Hello, I am using a raspberry pi 4 to enable a WiFi hotspot for my local devices. The hotspot itself is able to be enabled; however, when I try to connect other devices to the hotspot, it does not work. Here is the output that I am getting when I run "sudo create_ap wlan0 eth0 'DevRobotics' '022499ab'". The error can be seen in the picture below. Hotspot_Err

As you can see, the hotspot can be enabled; however, when I connect my samsung note s20 to the hotspot, I get this error. When I try to connect to the hotspot with my laptop, no messages appear in the terminal. I only get a message from my laptop that states 'No Internet Connection. Disconnect Wireless'. My laptop is running ubuntu 16.04 as its OS. Any advice would be helpful. Thank you.

lakinduakash commented 3 years ago

Try create_ap command line with multiple combinations such as enabling ieee80211n with sudo create_ap --ieee80211n wlp0s20f3 wlp0s20f3 MyAccessPoint MyPassPhrase

And try with bridge internet sharing method create_ap -m bridge wlan0 eth0 MyAccessPoint MyPassPhrase

Refer here for more examples https://github.com/lakinduakash/linux-wifi-hotspot/blob/master/src/scripts/README.md

devin1126 commented 3 years ago

Hello, This 'sudo create_ap --ieee80211n wlp0s20f3 wlp0s20f3 MyAccessPoint MyPassPhrase' solution actually worked for me. Thank you!