Quantcast
Viewing all articles
Browse latest Browse all 3790

Troubleshooting • Issue with WiFi Country Code Not Updating for phy#0 on Raspberry Pi 4b

Hello everyone,

I’m encountering an issue on my Raspberry Pi 4b where setting the WiFi country code updates the global regulatory domain, but it does not update the country code for phy#0.

Here’s what I get when I check:

Code:

pi@user:~ $ iw reg getglobalcountry GB: DFS-ETSI        (2400 - 2483 @ 40), (N/A, 20), (N/A)        (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW        (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW        (5470 - 5730 @ 160), (N/A, 26), (0 ms), DFS        (5725 - 5850 @ 80), (N/A, 23), (N/A), NO-OUTDOOR        (57000 - 71000 @ 2160), (N/A, 40), (N/A)phy#0country 99: DFS-UNSET        (2402 - 2482 @ 40), (6, 20), (N/A)        (2474 - 2494 @ 20), (6, 20), (N/A)        (5140 - 5360 @ 160), (6, 20), (N/A)        (5460 - 5860 @ 160), (6, 20), (N/A)
I’ve tried setting the country code through multiple methods:
  • Direct Set: Using iw reg set GB
  • Setting country=GB in wpa_supplicant.conf
  • Setting country=GB in hostapd.conf
  • raspi-config Localisation Options
  • Adding country_code=GB in /boot/config.txt.
  • Setting GB in /etc/default/crda
Despite all of these attempts, the country code for phy#0 remains 99: DFS-UNSET.
Is it normal?
Is there a way to force the phy#0 country code to match the global setting?
Any advice would be greatly appreciated!

Statistics: Posted by piquestions30 — Tue Nov 12, 2024 11:52 am



Viewing all articles
Browse latest Browse all 3790

Trending Articles