YunoHost-Apps / hotspot_ynh

Wifi Hotspot app for YunoHost
GNU Affero General Public License v3.0
39 stars 19 forks source link

WiFi connected but no internet access #96

Closed PetloLithi closed 11 months ago

PetloLithi commented 2 years ago

I allow myself to add a comment concerning a bug which has just been solved. Maybe it will be useful for other users. !!! Many thanks to pitchum for his help! !!!

Describe the bug

The wifi network is visible, the machines can connect to the network, but no internet access afterwards. The hotspot application does not respond to DNS queries from connected machines. In the configuration GUI there are two interfaces in the "device" box. Like this "wlp1s0|wlp4s0" In the file /etc/dnsmasq.conf, in the interface line, there is only "interface=lo"

Context

Steps to fix

In the /etc/dnsmasq.conf file, in the interface line, add "interface=wlp1s0" restart dnsmasq service

Capture d’écran du 2022-06-01 15-32-13 Capture d’écran du 2022-06-01 15-33-19

alexAubin commented 11 months ago

Closing because the issue with several interfaces (like wlan0|wlan1) should be fixed now