AsahiLinux / linux

Linux kernel source tree
Other
2.25k stars 88 forks source link

Wifi (wpa2 enterprise) always askes me to set up the config every time and then won't connect #48

Open aidansstuff opened 2 years ago

aidansstuff commented 2 years ago

Wifi (wpa2 enterprise) always asks me to set up the config every time and then won't connect. it just won't connect.

samxl001 commented 2 years ago

The same thing happens to me. I tried connecting to my school's wifi but it didn't work. I also tried using nmcli to see what was the problem. It reported that my device is unmanaged. It could be that the current wifi driver doesn't support wpa2 802.1x configuration

ghost commented 2 years ago

Are you using the preconfigured Asahi image with DE preinstalled? If so, Asahi is configured to use IWD. In fact if i use iwd as wifi backend, i also cannot connect to the eduroam Network.

You have to use wpa_supplicant. You can undo the NetworkManager iwd configuration pretty easy:

  1. Open up a Terminal.
  2. Type cd /etc/NetworkManager/conf.d
  3. Type sudo rm wifi_backend.conf
  4. Remove all saved Wireless networks
  5. Reboot

After the reboot you have to connect to all the Wireless Networks again, but this time it will work with 8021x

But there is a problem with (probably) the driver, because you cannot connect to a WPA3 Network with wpa_supplicant as backend.

samxl001 commented 2 years ago

@JustSomeNoiZ It worked. Thank you so much

marcan commented 1 year ago

wpa_supplicant does not support the WPA3 style this driver uses, that is why we use iwd instead.

Sounds like both are broken in different ways.

dkwo commented 11 months ago

As for broken wpa3 with wpa_supplicant, has anything changed or been reported upstream?

jannau commented 11 months ago

There are patches posted in July but not yet merged as far as I can tell.

dkwo commented 8 months ago

After the recent brcmfmac driver rework, has anything changed with wpa3 & wpa_supplicant?

dkwo commented 7 months ago

The mentioned patches have been merged into wpa_supplicant master branch: https://w1.fi/cgit/hostap/commit/?id=236c0cfbcdf7459be1727afb7eb540c4ee081cbc https://w1.fi/cgit/hostap/commit/?id=6cc78b3945d3271a66120378de101f7821fb0f2f https://w1.fi/cgit/hostap/commit/?id=c3b8452e0e04038349fbfe757639ff3b377e98da

Now hope for a new release :)