I recently updated my RPi-3B to bullseye. Since then I am not able to connect it to my wifi. It shows the following message when I login
Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.
My wpa_supplicant file is definitely correct as of now.
$ cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=IN
network={
ssid="wifissid"
psk="password"
}
If I run rfkill list following is what I get
$ rfkill list
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
I have run sudo raspi-config nonint do_wifi_country IN
but even after this I get the same issue.
The only solution that works for me is to login to console and then enter the rfkill unblock all
I wonder which is the secret config which is enabling rfkill to block wifi