Can anyone tell me why my rpi4 with 8gb RAM and installed OSMC has a soooo slow Wlan Connection? It‘s connected to 5Ghz and I have only 70mbit max. and 200mbit Upload. Other devices have much more than 200mbit Upload, some of them 300-450mbit.
Instead using wifi6/ac or ax my rpi has wifi4/n.
I read that changing the countrycode to „BO“ will fix this issue.
As I’m using OSMC on my rpi4 I do not have anymore the raspi-config to change wifi settings or the country code. When I go into the osmc menue → rpi menue there i See only very few config options.
I know that the country code can be changed in the wpa supplicant file but in my directory there is no such file?!? Why?? Shal I just create it manually??? I have connected my device over the osmc wifi menue just for your information.
You can set country with crda
Install crda sudo apt-get install crda.
Add your 2 digit country ISO code into /etc/default/crda REGDOMAIN sudo nano /etc/default/crda
Then reboot. After reboot check with iw reg get if it is set correctly
I came across this topic when searching after having troubles with buffering network streams. I only then also realised that although when connected to the 5 GHz band the router was announcing Wi-Fi 4 with lower speed. Following the instructions you gave for installing crda and setting REGDOMAIN worked for me (did not even have to use BO, the actual country code did it). My Raspberry Pi 4 is now listed as Wi-Fi 5 when connected to the 5 GHz band with corresponding higher speed, and streaming without buffering is working again.
So maybe setting a country code is necessary to overcome limitations of the default settings, or is it just coincidence?
Anyhow, thanks a lot for helping me with this older topic!