nerves-networking / vintage_net_wifi

WiFi networking for VintageNet
Apache License 2.0
32 stars 18 forks source link

Support WPA3 and transitional WPA2/WPA3 networks #54

Closed fhunleth closed 3 years ago

fhunleth commented 3 years ago

This is currently draft since I'm currently getting errors with the WiFi adapters I'm using. It could be the case that either they or their device drivers have WPA3 settings disabled.

I'm also interested in updating the cookbook and quick_configure functions to make it easier to connect to WPA3 networks since the wpa_supplicant config is fairly technical on options.

fhunleth commented 3 years ago

It appears that none of the Raspberry Pis with built-in WiFi support the new key management types for WPA3. I tried updating the the latest Raspberry Pi Linux version (5.10.17) without luck. Here are the errors that you'll see.

01:14:30.932 [info]  wpa_supplicant(wlan0): WPA: Failed to select authenticated key management type

01:14:30.933 [info]  wpa_supplicant(wlan0): WPA: Failed to set WPA key management and encryption suites

Some searching shows that this is known and that people are using external USB-WiFi adapters to connect Raspberry Pis to WPA3 networks.

fhunleth commented 3 years ago

@ConnorRigby - could you review? I don't think that I have WiFi module that works with WPA3 right now, but this change just exposes more wpa_supplicant options. Perhaps others will be able to make progress if it's available.