Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Sep 2023 13:39:22 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-net@freebsd.org
Cc:        cy@freebsd.org
Subject:   security/wpa_supplicant from ports in 14.0-CURRENT does not associate
Message-ID:  <ZPxZagbJgzrFWTrG@c720-r368166>

next in thread | raw e-mail | index | archive | help

security/wpa_supplicant compiled from ports does not associate with my
AP, the one from base system works fine.

Below are the details

	matthias

pkg info wpa_supplicant

wpa_supplicant-2.10_6
Name           : wpa_supplicant
Version        : 2.10_6
Installed on   : Sat Sep  9 12:57:45 2023 CEST
Origin         : security/wpa_supplicant
Architecture   : FreeBSD:14:amd64
Prefix         : /usr/local
Categories     : security net
Licenses       : BSD3CLAUSE
Maintainer     : cy@FreeBSD.org
WWW            : https://w1.fi/wpa_supplicant/
Comment        : Supplicant (client) for WPA/802.1x protocols
Options        :
	AKA            : off
	AKA_PRIME      : off
	BSD            : on
	DBUS           : on
	DEBUG_FILE     : off
	DEBUG_SYSLOG   : on
	DELAYED_MIC    : off
	DOCS           : on
	EAPOL_TEST     : off
	EKE            : on
	FAST           : on
	GPSK           : on
	GTC            : on
	HS20           : on
	HT_OVERRIDES   : off
	IEEE80211AC    : off
	IEEE80211N     : off
	IEEE80211R     : on
	IEEE80211W     : on
	IEEE8021X_EAPOL: on
	IKEV2          : on
	INTERWORKING   : on
	LEAP           : on
	MATCH          : on
	MD5            : on
	MSCHAPV2       : on
	NDIS           : off
	NONE           : off
	NO_ROAMING     : off
	OTP            : on
	P2P            : off
	PAX            : on
	PEAP           : on
	PKCS12         : on
	PRIVSEP        : off
	PSK            : on
	PWD            : on
	SAKE           : on
	SIM            : off
	SIM_SIMULATOR  : off
	SMARTCARD      : on
	TDLS           : off
	TEST           : off
	TLS            : on
	TLSV12         : off
	TNC            : on
	TTLS           : on
	USIM_SIMULATOR : off
	VHT_OVERRIDES  : off
	WEP            : on
	WIRED          : on
	WPS            : on
	WPS_ER         : on
	WPS_NFC        : on
	WPS_NOREG      : off
	WPS_UPNP       : on
Shared Libs required:
	libreadline.so.8
	libdbus-1.so.3
Annotations    :
	FreeBSD_version: 1400094
	build_timestamp: 2023-08-10T18:26:06+0000
	built_by       : poudriere-git-3.3.99.20220831
	cpe            : cpe:2.3:a:wpa_supplicant:wpa_supplicant:2.10:::::freebsd14:x64:6
	port_checkout_unclean: no
	port_git_hash  : c84214246
	ports_top_checkout_unclean: no
	ports_top_git_hash: 5914253c5
	repo_type      : binary
	repository     : FreeBSD
Flat size      : 1.69MiB
Description    :
wpa_supplicant is a client (supplicant) with support for WPA and WPA2
(IEEE 802.11i / RSN). It is suitable for both desktop/laptop computers and
embedded systems. Supplicant is the IEEE 802.1X/WPA component that is used
in the client stations. It implements key negotiation with a WPA
Authenticator and it controls the roaming and IEEE 802.11 authentication/
association of the wlan driver.

wpa_supplicant is designed to be a "daemon" program that runs in the
background and acts as the backend component controlling the wireless
connection. wpa_supplicant supports separate frontend programs and a
text-based frontend (wpa_cli) and a GUI (wpa_gui) are included with
wpa_supplicant.

WWW: https://w1.fi/wpa_supplicant/

grep wpa /var/log/messages:

wpa_supplicant from ports:

Sep  9 13:09:14 c720-1400094 wpa_supplicant[1879]: Successfully initialized wpa_supplicant
Sep  9 13:09:14 c720-1400094 wpa_supplicant[1879]: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
Sep  9 13:09:14 c720-1400094 wpa_supplicant[1880]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
Sep  9 13:09:25 c720-1400094 wpa_supplicant[1880]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1
Sep  9 13:10:02 c720-1400094 wpa_supplicant[1880]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Sep  9 13:10:02 c720-1400094 wpa_supplicant[1880]: wlan0: CTRL-EVENT-TERMINATING 

wpa_supplicant from base system

FreeBSD c720-1400094 14.0-CURRENT FreeBSD 14.0-CURRENT amd64 1400094 #2 main-n264568-1d7ffb373c9d-dirty: Wed Sep  6 07:13:22 CEST 2023     guru@jet:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

Sep  9 13:14:16 c720-1400094 wpa_supplicant[3517]: Successfully initialized wpa_supplicant
Sep  9 13:14:16 c720-1400094 wpa_supplicant[3517]: ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
Sep  9 13:14:24 c720-1400094 wpa_supplicant[3518]: wlan0: Trying to associate with 7c:ff:4d:c8:78:e2 (SSID='XXXXXXXXXXXXXXXXX' freq=2432 MHz)
Sep  9 13:14:24 c720-1400094 wpa_supplicant[3518]: wlan0: Associated with 7c:ff:4d:c8:78:e2
Sep  9 13:14:24 c720-1400094 wpa_supplicant[3518]: wlan0: WPA: Key negotiation completed with 7c:ff:4d:c8:78:e2 [PTK=CCMP GTK=CCMP]
Sep  9 13:14:24 c720-1400094 wpa_supplicant[3518]: wlan0: CTRL-EVENT-CONNECTED - Connection to 7c:ff:4d:c8:78:e2 completed [id=17 id_str=]
Sep  9 13:17:28 c720-1400094 wpa_supplicant[3518]: wlan0: WPA: Group rekeying completed with 7c:ff:4d:c8:78:e2 [GTK=CCMP]

-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZPxZagbJgzrFWTrG>