Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2513

General discussion • Re: [SOLVED]Wi-Fi is currently blocked by rfkill Issue

$
0
0
old post, but i have not found this anywhere else and it would have saved me a few minutes if i had.

(1) the message in ssh is controlled by regdom in /boot/firmware/cmdline.txt. (this also results in `iw reg set US` at boot)
(2) rfkill is done by NetworkManager at boot, regardless of regdom, based on the last /var/lib/NetworkManager/NetworkManager.state


so, to manually apply 'WLAN Country" , you can:

Code:

sed -i 's/$/ cfg80211.ieee80211_regdom=US/' /boot/firmware/cmdline.txtiw reg set US #this happens after reboot automatically anyway
(obviously replace US with your country code)

and

Code:

nmcli r wifi on#or:systemctl stop NetworkManagersed -i s/WirelessEnabled=false/WirelessEnabled=true/ /var/lib/NetworkManager/NetworkManager.state

Statistics: Posted by teleshoes — Wed May 14, 2025 3:34 pm



Viewing all articles
Browse latest Browse all 2513

Trending Articles