Skip to content

Connection Loop when using a Win11 client #461

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

Open
gp-1108 opened this issue Feb 10, 2025 · 0 comments
Open

Connection Loop when using a Win11 client #461

gp-1108 opened this issue Feb 10, 2025 · 0 comments

Comments

@gp-1108
Copy link

gp-1108 commented Feb 10, 2025

Describe the bug
I can setup the tool perfectly, everything works just as fine when using any of my mobile devices.

However, when I do try to connect with my Win11 laptop to the hotspot, it won't work: the win11 connects to the wifi hotspot but it will have a flag saying that no internet is available (the connection actually doesn't work).

Diving deeper and using the tool through CLI I can see that when using the Win11 device it will get into a connection loop always authenticating the same session.

To Reproduce
Steps to reproduce the behavior:
Run the following command:

sudo create_ap wlx941865ccae2d wlp2s0 MyAccessPoint MyPassword

Then connect to it with a Win11 laptop and get the following loop in the wifi-hotspot logs:

...
wlx941865ccae2d: STA [Windows_Laptop] IEEE 802.11: authenticated  
wlx941865ccae2d: STA [Windows_Laptop] IEEE 802.11: associated (aid 1)  
wlx941865ccae2d: AP-STA-CONNECTED [Windows_Laptop]  
wlx941865ccae2d: STA [Windows_Laptop] RADIUS: starting accounting session 0E71D0AC0CD01037  
wlx941865ccae2d: STA [Windows_Laptop] WPA: pairwise key handshake completed (RSN)  
wlx941865ccae2d: EAPOL-4WAY-HS-COMPLETED [Windows_Laptop]  
wlx941865ccae2d: AP-STA-DISCONNECTED [Windows_Laptop]  
wlx941865ccae2d: STA [Windows_Laptop] IEEE 802.11: authenticated  
wlx941865ccae2d: STA [Windows_Laptop] IEEE 802.11: associated (aid 1)  
wlx941865ccae2d: AP-STA-CONNECTED [Windows_Laptop]  
wlx941865ccae2d: STA [Windows_Laptop] RADIUS: starting accounting session 0E71D0AC0CD01037  
wlx941865ccae2d: STA [Windows_Laptop] WPA: pairwise key handshake completed (RSN)  
wlx941865ccae2d: EAPOL-4WAY-HS-COMPLETED [Windows_Laptop]  
wlx941865ccae2d: AP-STA-DISCONNECTED [Windows_Laptop]  
wlx941865ccae2d: STA [Windows_Laptop] IEEE 802.11: authenticated  
wlx941865ccae2d: STA [Windows_Laptop] IEEE 802.11: associated (aid 1)  
wlx941865ccae2d: AP-STA-CONNECTED [Windows_Laptop]  
wlx941865ccae2d: STA [Windows_Laptop] RADIUS: starting accounting session 0E71D0AC0CD01037  
wlx941865ccae2d: STA [Windows_Laptop] WPA: pairwise key handshake completed (RSN)  
wlx941865ccae2d: EAPOL-4WAY-HS-COMPLETED [Windows_Laptop]  
wlx941865ccae2d: AP-STA-DISCONNECTED [Windows_Laptop]  
...

Where [Windows_Laptop] is the MAC address of my windows laptop.

Expected behavior
I would expect it to work flawlessly as all my other mobile devices, but it does not.

Desktop:
Host:

  • OS: Ubuntu
  • Version 24.04.01 LTS

Client:

  • OS: Windows 11

Additional context
I am using the following wifi adapters (one for connecting to the main network and one to create the hotspot:
Running iw dev:

phy#1
	Interface wlx941865ccae2d
		ifindex 3
		wdev 0x100000001
		addr 94:18:65:cc:ae:2d
		type AP
		txpower 20.00 dBm
		multicast TXQ:
			qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
			0	0	3	0	0	0	0	2506		18
phy#0
	Interface wlp2s0
		ifindex 2
		wdev 0x1
		addr 5c:3a:45:21:4a:4f
		ssid <SSID OF MAIN NETWORK>
		type managed
		channel 40 (5200 MHz), width: 40 MHz, center1: 5190 MHz
		txpower 20.00 dBm
		multicast TXQ:
			qsz-byt	qsz-pkt	flows	drops	marks	overlmt	hashcol	tx-bytes	tx-packets
			0	0	0	0	0	0	0	0		0
Main wifi Adapter:
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter

Hotspot wifi Adapter:
Bus 001 Device 002: ID 0846:9055 NetGear, Inc. A6150 Dual Band AC1200 Wireless Adapter [Realtek RTL8812BU]
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

1 participant