News for hackers. Stuff that matters.
Re:Recommended settings for Wi-Fi routers and access points by andix on Saturday July 30, 2022 @10:04AM (#32286908)
Funny thing about WPA3: it works with all my devices (including a 12 year old think pad x201s), but only on Linux. On windows they all can’t do WPA3, because the cards are „unsupported for WPA3“.
Re:Recommended settings for Wi-Fi routers and access points by oneplane on Saturday July 30, 2022 @10:18AM (#32286999)
The difference is probably in the way WPA is handled; WPA Supplicant can be made to work with any radio module that supports passing through the authentication and encryption. But Windows doesn't use WPA Supplicant and instead relies on each manufacturer to make sure their driver either has its own WPA Supplicant or uses on-chip authentication and encryption in the WiFi module itself.

The big difference between them is that on Linux it will work, but heavy traffic will eat CPU cycles. On Windows it simply might not work at all, but when it does, and if the driver is not written by 1000 monkeys on typewriters, it can offload a lot of heavy lifting to the WiFi ASIC.

I'd say that in all cases, the WiFi chip manufacturers are to blame, but the software fallback that WPA supplicant provides should really be the lowest bar any device or OS should be able to pass.

Re:Recommended settings for Wi-Fi routers and access points by zekica on Saturday July 30, 2022 @11:20AM (#32287480)
Only authentication will not be offloaded, actual data encryption still is.

The only exception is if your driver doesn't support management frame protection (802.11w). Then, if your AP has 11w enabled or you are using WPA3, it will use software encryption.

ath9k, ath10k, ath11k, ath9k_htc, ath6kl, brcmfmac, brcmsmac, iwlwifi, iwlegacy, mt76, mwifiex, mwl8k, rtl8xxxu, all rtl8xxxe drivers support 11w, while some others: rt2xxxpci rt2xxxusb, ipw2200, carl9170 don't.

Re:Recommended settings for Wi-Fi routers and access points by oneplane on Saturday July 30, 2022 @01:27PM (#32288556)
In the old days we needed a lot of tricks because firmware loading either didn't work or we didn't have the firmware binaries yet, so even (IIRC) ath9k didn't utilise on-ASIC for everything. But that was in the B (and maybe G) days.
Re:Recommended settings for Wi-Fi routers and access points by spookthesunset on Saturday July 30, 2022 @11:45AM (#32287688)
I did not know that the system could push the encryption and auth up to the CPU. Always assumed the card did all the heavy lifting.

Very interesting!

Re:Recommended settings for Wi-Fi routers and access points by vetinari on Saturday July 30, 2022 @11:05AM (#32287333)
> but only on Linux

Are you using wpa_supplicant 2.9? Do not update to 2.10!

I had the same experience with 2.9, but with 2.10, I cannot connect at all, not even with WPA2 (with WPA2+3 Transitional on the AP). Downgraded back to 2.9 and it works again.

Re:Recommended settings for Wi-Fi routers and access points by glowingly on Saturday July 30, 2022 @11:42AM (#32287659)
I bypassed WPA supplicant on Tumbleweed, and manually setup the connection.

I did think it was rather odd that my WiFi AP stopped allowing my linux laptop to connect, even though it worked right before I moved from Fedora -> Tumbleweed. But even a new Fedora live ISO (I guess all Fedora ISOs are live by default) was unable to connect.

Eventually figured it was the current version of WPA Supplicant at fault, not the WiFi AP, and not the HW in my laptop. But it is somewhat annoying when something that worked just an hour ago, flatly doesn't.

Re:Recommended settings for Wi-Fi routers and access points by jlarocco on Saturday July 30, 2022 @02:22PM (#32289063)
Interesting. I had the hardest time getting wpa_supplicant working on a new Debian install last weekend, and eventually gave up and switched to iwd, which was new to me, but worked immediately

Checking now, I have wpa_supplicant 2.10, so I wonder how much of my problem was due to that.

iwd's been great so far - I'm no expert so maybe there are technical advantages, but I don't see any reason to go back to wpa_supplicant.

Re:Recommended settings for Wi-Fi routers and access points by andix on Saturday July 30, 2022 @11:19AM (#32287478)
No idea. I use Ubuntu. And it just works. That’s what I want, and I prefer not to know more ;)
Re:Recommended settings for Wi-Fi routers and access points by deepsun on Saturday July 30, 2022 @02:33PM (#32289152)
Good for you, but on this site curiosity is explicitly encouraged.
Re:Recommended settings for Wi-Fi routers and access points by exikyut on Saturday July 30, 2022 @01:24PM (#32288537)
1. Why?! (Yelled in wpa_supplicant's general direction, not yours)

2. What error messages were you seeing in wpa_cli, out of curiosity?

Re:Recommended settings for Wi-Fi routers and access points by vetinari on Saturday July 30, 2022 @03:30PM (#32289563)
https://bugzilla.opensuse.org/show_bug.cgi?id=1195395

https://bugzilla.redhat.com/show_bug.cgi?id=2050840

Reading through the opensuse bugzilla I tried again, and it works! NetworkManager 1.38+ needed. It is interesting, that the fix is in NetworkManager (https://bugzilla.opensuse.org/show_bug.cgi?id=1195395#c47).

Re:Recommended settings for Wi-Fi routers and access points by pantalaimon on Saturday July 30, 2022 @11:44AM (#32287680)
Does it work with iwd?
Re:Recommended settings for Wi-Fi routers and access points by vetinari on Saturday July 30, 2022 @03:30PM (#32289567)
Yes, but WPA2-only, just like Windows.
Re:Recommended settings for Wi-Fi routers and access points by haupt on Saturday July 30, 2022 @11:43AM (#32287666)
I hope this isn't a preview of the future chaos in store for anybody trying to use a device not certified by MS for use with Windows.
Re:Recommended settings for Wi-Fi routers and access points by andix on Saturday July 30, 2022 @11:49AM (#32287724)
In this case it is not certified by Intel, the WiFi card manufacturer.
Re:Recommended settings for Wi-Fi routers and access points by haupt on Saturday July 30, 2022 @12:11PM (#32287886)
I see, thank you.