"sudo iw reg get" still shows "country 00" after updating "/etc/default/crda"

Solution 1:

Often, a country code is set in the chip of the wireless device. For example, I recently bought a USB wireless and, as I studied dmesg, I noticed:

cfg80211: Regulatory domain changed to country: CN

I am located in the USA.

Can you set the CRDA after the computer is started?

sudo iw reg set US
iw reg get

If so, you can set it in rc.local:

gksudo gedit /etc/rc.local

Use nano or kate or leafpad if you don't have the text editor gedit.

Add a last line, right above exit 0, to read:

iw reg set US

Proofread carefully, save and close the text editor.

If this is ineffective, please try:

sudo -i
echo "options cfg80211 ieee80211_regdom=US"  >  /etc/modprobe.d/cfg80211.conf
exit

Check after a reboot:

iw reg get