PINE64
Changing regulatory domain (CRDA) on the wifi adapter - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: Changing regulatory domain (CRDA) on the wifi adapter (/showthread.php?tid=10502)



Changing regulatory domain (CRDA) on the wifi adapter - newton688 - 06-30-2020

Hello,

The wifi has been particularly bad with the PBP in my house, but not my other devices. I've been having issues with dropping connections and very slow connections here. Someone explained to me on IRC that the regulatory domain (CRDA) may be set incorrectly on the wifi so the signal levels and frequencies may not be lining up correctly.

So, this is what I did to get the regulatory domain set correctly to Canada with Manjaro:

1) Install the wireless-regdb package with 'sudo pacman -Syu wireless-regdb'
2) Edit the /etc/conf.d/wireless-regdom uncommenting the line with the correct two letter country code for your area
3) Reboot

You can confirm the regulatory domain of your wifi by running 'sudo iw reg get'

If it shows "Country <your_two_letter_code>: ..." then it is now set.

However, if it shows "Country 00" then it is set to a worldwide default, which may not be optimal.

I hope that this helps others to improve the wifi on the PBP.

Chris


RE: Changing regulatory domain (CRDA) on the wifi adapter - Syonyk - 06-30-2020

Thanks, this is useful - I've had to do similar things to find some 5GHz APs.

wireless-regdb should be a default package on the various installs, and it's definitely not.


RE: Changing regulatory domain (CRDA) on the wifi adapter - JasonG-FR - 06-30-2020

Quote:You can confirm the regulatory domain of your wifi by running 'sudo iw get reg'


There is a typo in your command and you don't need sudo to run it:
Code:
iw reg get



RE: Changing regulatory domain (CRDA) on the wifi adapter - newton688 - 06-30-2020

(06-30-2020, 10:06 AM)JasonG-FR Wrote:
Quote:You can confirm the regulatory domain of your wifi by running 'sudo iw get reg'


There is a typo in your command and you don't need sudo to run it:
Code:
iw reg get

Thanks, I fixed it.