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.32k stars 307 forks source link

No Internet Connection (Manjaro) #183

Closed jp-san-gabriel closed 1 year ago

jp-san-gabriel commented 3 years ago

Hi,

I installed it on Manjaro XFCE from AUR. My laptop was able to connect as a wifi client and while being access point at the same time. However, devices connected to the access point cannot access the internet, while the laptop itself has internet access.

lakinduakash commented 3 years ago

Can you try it from the command line (create_ap) with bridge connection?

bagusyusup commented 2 years ago

hi, i have the same problem on pop os

jko-nic commented 2 years ago

This problem persist in latest version (4.4.0), but also on 4.3.3 and 4.3.2, on up-to-date Manjaro. If running with sudo create_ap wlo1 enp55s0u1u4 'mynetwork' 'mypassword' --freq-band 2.4, it says:

Config dir: /tmp/create_ap.wlo1.conf.s0JKkrNZ
PID: 137596
Network Manager found, set ap0 as unmanaged device... DONE
Creating a virtual WiFi interface... ap0 created.
Sharing Internet using method: nat

dnsmasq: cannot read /tmp/create_ap.wlo1.conf.s0JKkrNZ/dnsmasq.conf: Permission denied

Doing cleanup.. done

Both interfaces exists. I would be very grateful if this can be fixed in some way. Thank you :)

ryanrapini commented 2 years ago

I fixed this issue on manjaro with:

sudo aa-complain -d /etc/apparmor.d/ dnsmasq

https://forum.manjaro.org/t/not-able-to-create-wifi-hotspot-after-update/119272/4

testman42 commented 2 years ago

can confirm, the above command made it work for me as well. Thank you for sharing the solution :+1: