balena-os / wifi-connect

Easy WiFi setup for Linux devices from your mobile phone or laptop
Apache License 2.0
1.3k stars 365 forks source link

WPA3 support #536

Open hupster opened 10 months ago

hupster commented 10 months ago

This patch allows me to connect to WPA3 networks that use SAE authentication.

Relies on a patch on the network-manager plugin, so linking to my fork for now: https://github.com/hupster/network-manager https://github.com/balena-io-modules/network-manager/pull/146

I also have a branch merged with the patch for network refresh while connected from meelash: https://github.com/hupster/wifi-connect/tree/live_networks https://github.com/balena-os/wifi-connect/pull/521

Without this, the error below shows while attempting to connect to a WPA3/SAE network.

Connecting to access point 'hupster'...
[<unknown>:ERROR] org.freedesktop.NetworkManager::AddAndActivateConnection method call failed on /org/freedesktop/NetworkManager
[wifi_connect::network:WARN] Error connecting to access point 'hupster': D-Bus failure: org.freedesktop.NetworkManager::AddAndActivateConnection method call failed on /org/freedesktop/NetworkManager