Re: wlan0 no longer functional after n249128-a0c64a443e4c -> n249146-cb5c07649aa0

From: Filipe da Silva Santos via current <current_at_freebsd.org>
Date: Wed, 08 Sep 2021 20:58:20 -0300
Hi, thank you for the support, and sorry for the late feedback.

The procedure `wpa_poststart' didn't solve the regression on my system.
wlan0 doesn't seem to come up.

I have the following output on my log:

| Sep  8 19:09:43 misaka wpa_supplicant[23325]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Operation now in progress
| Sep  8 19:09:43 misaka wpa_supplicant[23325]: wlan0: CTRL-EVENT-SCAN-FAILED ret=-1 retry=1

Here is a sanitized version of my wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
country=BR
network={
        ssid="********"
        psk="****************"
        priority=5
}
[...]

and rc.conf related settings:

[...]
ifconfig_wlan0="WPA powersave 10.0.0.110 netmask 0xffffff00 broadcast 10.0.0.255"
defaultrouter="10.0.0.1"

wlans_iwm0="wlan0"
create_args_wlan0="country BR regdomain FCC"
[...]

The last fix still works, although `sleep' isn't necessary.

_at__at_ -29,6 +29,7 _at__at_
 }
 
 wpa_poststart() {
+	ifconfig ${ifn} down
 	ifconfig ${ifn} up
 }

Cheers,

--
Filipe da Silva Santos <contact_at_shiori.com.br>
102E 1944 2189 31FF 06EB  3F79 760B AE45 F7B3 008E

Received on Wed Sep 08 2021 - 23:58:20 UTC

Original text of this message