Re: wlan0 no longer functional after n249128-a0c64a443e4c -> n249146-cb5c07649aa0
Date: Mon, 06 Sep 2021 16:26:34 UTC
On 2021 M09 6, Mon 18:41:13 EEST Cy Schubert wrote: > I changed mine to be the same as yours. I can connect. (I use iwn(4) and > ath(4) here.) a ) regular reboot - wlan can not associate b ) service netif restart - wlan can not associate c ) service netif stop wlan0 ; service netif start wlan0 - wlan can not associate d ) ifconfig wlan0 down; sleep 15 ; ifconfig wlan0 up - wlan associated e ) regular reboot with ifconfig wlan0 down; sleep 15 ; ifconfig wlan0 up added to /etc/rc.local - wlan associated Thank you. > > Do you reboot every time you test or simply this? > > service netif stop wlan0 > service netif start wlan0 > > If simply above, does a reboot have it work again? > > The reason I ask is, I discovered, today, a quirk in 14-CURRENT, regardless > of the wpa_supplicant installed. It will always associate following a > reboot however when running the above two commands to stop and start wlan0 > I can reproduce your problem. The workaround for now is when running the > above two commands to also ifconfig wlan0 down; ifconfig wlan0 up. > > Can you try ifconfig wlan0 down; ifconfig wlan0 up after stopping/starting > wlan0? You may need to wait 2-3 seconds between down and up.