Re: regression failure of wpa_supplicant from 12.3-RELEASE to 12.4-RELEASE
Date: Thu, 25 May 2023 09:08:56 UTC
"Julian H. Stacey" wrote: > Hi wireless@freebsd.org, > I suffered regression failure of wpa_supplicant from 12.3-RELEASE to > 12.4-RELEASE, ifconfig wlan0 | grep status > was not showing status: associated > > I made notes here: > http://www.berklix.com/~jhs/src/bsd/fixes/freebsd/src/gen/usr.sbin/wpa/regression.REL=12.4-RELEASE.diff > > & now have alternate sources & binaries in place to narrow it down, > recompiling after tweaks, & Murphies Law: now for the first time > ever, 12.4-rel works too, called manualy ! The Murphy's effect was a late night mistake, in light of day I can reproduce OK with 12.3-RELEASE & fails with 12.4-RELEASE: /destdir/12.3-RELEASE/usr/sbin/wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf Successfully initialized wpa_supplicant ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument wlan0: Trying to associate with xx:xx:xx:xx:xx:xx (SSID='MYNET' freq=2437 MHz) Failed to add supported operating classes IE wlan0: Associated with xx:xx:xx:xx:xx:xx wlan0: WPA: Key negotiation completed with xx:xx:xx:xx:xx:xx [PTK=CCMP GTK=CCMP] wlan0: CTRL-EVENT-CONNECTED - Connection to xx:xx:xx:xx:xx:xx completed [id=2 id_str=] wlan0: WPA: Group rekeying completed with xx:xx:xx:xx:xx:xx [GTK=CCMP] wlan0: WPA: Group rekeying completed with xx:xx:xx:xx:xx:xx [GTK=CCMP] /destdir/12.4-RELEASE/usr/sbin/wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf Successfully initialized wpa_supplicant ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1 I'll compare typescripts from 12.3 & 12.4 wpa_supplicant -d > Normaly I use /etc/devd/my.conf, currently a bit comented out to debug: > attach 1000 { # Iomega & Toshiba wlan stick driver=run > match "device-name" "run[0-9]+" ; > action "ifconfig wlan$interface create wlandev $device-name ; \ > ifconfig wlan$interface regdomain ETSI ; \ > ifconfig wlan$interface country de ; \ > ifconfig wlan$interface \ > `grep -v '^#' /var/run/wlan_params_berklix` ; \ > ifconfig wlan$interface up ; \ > service netif start" ; > # ; \ > # wpa_supplicant -i wlan$interface \ > # -c /etc/wpa_supplicant.conf & \ > # dhclient wlan$interface; \ > # ntpdate ntp1.t-online.de" ; > } ; > > I'm not clear what service netif start is & where it belongs, so I'm reading > https://docs.freebsd.org/en/books/handbook/advanced-networking/#network-wireless33.3.4.1.3.3. > but that's I think not germane to wpa_supplicant > > Anyone else had problems with wpa_supplicant from 12.3-RELEASE to 12.4-RELEASE ? Cheers, -- Julian Stacey www.StolenVotes.UK/jhs/ Arm Ukraine, Zap Putin. Brexit inflates http://berklix.org/ferries/#dover_solution