WPA3 client usage

Does this not work under FreeBSD 15.0 either?
wpa_supplicant-devel-2025.03.25
I did the following: cd /usr/ports/security/wpa_supplicant-devel
I adjusted the Makefile as follows:
Code:
@${ECHO_CMD} CONFIG_SAE=y >> ${CFG}
@${ECHO_CMD} CONFIG_WPA3=y >> ${CFG}

Then I ran make install clean and everything worked perfectly.

This is how I call it up
doas /usr/local/sbin/wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -d

My wpa config:
Code:
network={
    ssid="my SSID"
    key_mgmt=SAE
    sae_password="password"
    ieee80211w=2
    group=CCMP
    pairwise=CCMP
    proto=RSN
}

Error messages:

wlan0: WPA: AP key_mgmt 0x400 network profile key_mgmt 0x400; available key_mgmt 0x0
wlan0: WPA: Failed to select authenticated key management type
wlan0: WPA: Failed to set WPA key management and encryption suites


Since all logical configuration options (WPA-EAP, WPA2-PSK, WPA3-SAE, and mixed mode) resulted in a failure to negotiate key management, the diagnosis strongly suggests a problem outside the configuration file.

Overall log:

wlan0: selected BSS xy ssid='my ssid'
wlan0: Considering connect request: reassociate: 0 selected:xy bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING ssid=0x22fc16e35800 current_ssid=0x0
wlan0: Request association with xy
wlan0: Re-association to the same ESS
wlan0: No ongoing scan/p2p-scan found to abort
wlan0: Add radio work 'connect'@0x22fc16e09860
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'connect'@0x22fc16e09860 after 0.000006 second wait
wlan0: WPA: clearing own WPA/RSN IE
wlan0: RSN: clearing own RSNXE
RSN: PMKSA cache search - network_ctx=0x22fc16e35800 try_opportunistic=0 akmp=0x0
RSN: Search for BSSID xy
RSN: No PMKSA cache entry found
wlan0: RSN: using IEEE 802.11i/D9.0
wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 1024 proto 2
wlan0: WPA: Selected mgmt group cipher 32
wlan0: WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 08 c0 00
wlan0: WPA: clearing AP RSNXE
wlan0: RSN: Clearing AP RSNE Override element
wlan0: RSN: Clearing AP RSNE Override 2 element
wlan0: RSN: Clearing AP RSNXE Override element
wlan0: WPA: AP group 0x10 network profile group 0x10; available group 0x10
wlan0: WPA: using GTK CCMP
wlan0: WPA: AP pairwise 0x10 network profile pairwise 0x10; available pairwise 0x10
wlan0: WPA: using PTK CCMP
wlan0: WPA: AP key_mgmt 0x400 network profile key_mgmt 0x400; available key_mgmt 0x0
wlan0: WPA: Failed to select authenticated key management type
wlan0: WPA: Failed to set WPA key management and encryption suites
wlan0: Radio work 'connect'@0x22fc16e09860 done in 0.000035 seconds
wlan0: radio_work_free('connect'@0x22fc16e09860): num_active_works --> 0


I'm relatively new to BSD, which is why I'm stuck. Is this due to the kernel and network stack?
 
What you have written is not entirely correct. This is what bz@freebsd.org says:
iwlwifi would (with LinuxKPI bits filled in), but net80211 does not yet;
ask on the wireless mailing list for WPA3 support (independent of the driver)

--
Bjoern A. Zeeb

It is a pity that you have reacted so disparagingly.

Thanks bJoeRn A. Zeeb
 
What you have written is not entirely correct. This is what bz@freebsd.org says:
iwlwifi would (with LinuxKPI bits filled in), but net80211 does not yet;
ask on the wireless mailing list for WPA3 support (independent of the driver)

--
Bjoern A. Zeeb

It is a pity that you have reacted so disparagingly.

Thanks bJoeRn A. Zeeb
Tragic.
 
It is a pity that you have reacted so disparagingly.
That seems like a stretch. I see no disparagement. We are simply trying to help.
There is a thin line saying net80211 is not a driver. It might be called the parent of all wireless drivers in my opinion.
 
Back
Top