garywill / linux-router

Set Linux as router in one command. Support Internet sharing, redsocks, Wifi hotspot, IPv6. Can also be used for routing VM/containers 🛰️
GNU Lesser General Public License v2.1
1.73k stars 153 forks source link

Hotspot successfully created - Cannot connect from any device - Obtaining IP Address #29

Open francescopapu opened 2 years ago

francescopapu commented 2 years ago

Hello. I've been trying to setup a working hotspot for quite some time now. Internet is provided to the laptop via USB-A ethernet adapter, laptop has Realtek wifi interface that supports AP mode and other modes. Running on KDE Neon (with Plasma) latest version. WIFI Hotspot worked flawlessly on Windows 10.

I would like to post logs of what happens when i try to connect from Android phone / other devices, but don't know how to log (complete newbie). I tried to run the lnxrouter command in various ways, but can't manage to get any device connected, Android phone shows that it is stuck on "obtaining ip address".

garywill commented 2 years ago

try: 1) 'firewall-cmd --zone=trusted --add-interface=' 2) disable firewalld

francescopapu commented 2 years ago

try: 1) 'firewall-cmd --zone=trusted --add-interface=' 2) disable firewalld

It seems like I don't have firewalld installed, since it says:

Command 'firewall-cmd' not found, but can be installed with:
sudo apt install firewalld
garywill commented 2 years ago

Googling I found this post https://www.reddit.com/r/kde/comments/lgzfyj/is_there_going_to_be_a_firewall_integration_with/

I don't have any knowledge about the KDE neon distro. I saw some terms like ufw, plasma-firewall ... in that post.

Check if there's any firewall related services running. Disable them and try again.

You should figure out to provide log and more info so people have the change to find the reason.

And use systemctl |grep service to see what services it has.