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).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't connect to created network

gravit22 opened this issue · comments

Describe the bug
When I create hotspot with this program, I can't connect to it. When I try to connect with mobile phone it says "Obtaining IP address..." and then just switch to "Saved" after a minute. On laptop it says "Activation of network connection failed" after a minute or so. But when I try to create hotspot with my ordinary Ubuntu Hotspot creator it works.
It went like that when I tried to make port forwarding with iptables following this instruction https://tecadmin.net/setting-up-a-port-forwarding-using-iptables-in-linux/?fbclid=IwAR2vyW9fDs_NBimuu8lTKEBdTJHAbtawhWFcRDSY8ARMWWaUAEsqndYq3jk on my PC, but I didn't make permanent changes, and after restart it should work. Before that it worked with this program as well

To Reproduce
I don't know how to reproduce on your PC

Expected behavior
I expected it to connect

Screenshots
This is what program shows when I try to connect, and then it just removes everything
image

Desktop (please complete the following information):

  • OS: Ubuntu
  • Version 22.04.3 LTS

Additional context
I have onboard(on motherboard) wifi router. Also I need this program for my phone to connect(I don't know why). hotspot created by my ordinary ubuntu manager is not seen by my phone but is seen by my laptop for example. And this program helps my phone to see my Wifi network

Thank you for your attention

commented

Having the same problem on raspberry pi. It stay connected for a few seconds and then it cuts the connection.
wlan0: STA 3e:24:c3:7c:df:61 RADIUS: starting accounting session DD9714C5B6D9711C wlan0: STA 3e:24:c3:7c:df:61 IEEE 802.11: disassociated wlan0: AP-STA-DISCONNECTED 3e:24:c3:7c:df:61 wlan0: STA 3e:24:c3:7c:df:61 IEEE 802.11: disassociated

I am also not able to connect to WiFi networks created with this application.
I have the 0e8d:7612 MediaTek Inc. MT7612U 802.11a/b/g/n/ac Wireless Adapter.
I have tried using default settings and changing the settings.
I am using Fedora 39.
I am able to create and join a network with nmcli and the hotspot option in Gnome Settings.
On my Android device, the connection fails instantly, on my Linux device, it takes more time but eventually fails.
Adding the "No Virt" option causes my phone to fail to connect at the "obtaining ip address" phase instead of immediately.
Update: I'm not sure why I did not try this earlier, but setting my device to use a static IP seems to work although there is no internet access. Local connections seem fine which is all I really need for my purposes.