Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't connect to created network #374

Open
gravit22 opened this issue Feb 2, 2024 · 4 comments
Open

Can't connect to created network #374

gravit22 opened this issue Feb 2, 2024 · 4 comments

Comments

@gravit22
Copy link

gravit22 commented Feb 2, 2024

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

@Besix2
Copy link

Besix2 commented Feb 20, 2024

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

@PaigePalisade
Copy link

PaigePalisade commented Feb 24, 2024

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.

@Crono141
Copy link

Crono141 commented Apr 5, 2024

Tried to use this last weekend and experienced the same symptoms. The program appears to successfully create the wifi hotspot. Connecting to it via phone results in a loop of connecting/obtaining/connected/dropped pattern. I was able to get an IP address, but the connection dropped all the same.

@YuanziX
Copy link

YuanziX commented May 12, 2024

this thread is pretty old, but try disabling your firewall and see if that fixes the issue. I was facing the same issue and that fixed it.

Here's the command I used to allow the access point (i am using firewalld) firewall-cmd --zone=nm-shared --add-interface=ap0 or firewall-cmd --zone=nm-shared --add-interface=ap0 --permanent if you want to allow it permanently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants