[Bug 1951586] Re: Need option to specify wifi regulatory domain

John Neffenger 1951586 at bugs.launchpad.net
Thu Apr 13 15:54:57 UTC 2023


> is that having a visible impact for users? like was your computer not
able to connect to some access point?

Yes. I just hit this problem on my new Raspberry Pi 400 with Ubuntu.

The Raspberry Pi OS dated February 21, 2023, based on Debian 11
(bullseye), sets my Wi-Fi region code to Canada during installation, and
everything works fine.

I then tried the Ubuntu 22.10 (Kinetic Kudu) 64-bit desktop image and
could no longer find my 5-GHz Wi-Fi access point. It turns out that my
5-GHz Wi-Fi is on channel 149, which is available in Canada but not
available when the country code is unset. Channel 149 is not permitted
in Japan, Turkey, and South Africa. [1]

Adding "cfg80211.ieee80211_regdom=CA" to the end of the following file
solved the problem:

$ cat /boot/firmware/cmdline.txt 
zswap.enabled=1 zswap.zpool=z3fold zswap.compressor=zstd dwc_otg.lpm_enable=0 console=tty1 root=LABEL=writable rootfstype=ext4 rootwait fixrtc quiet splash cfg80211.ieee80211_regdom=CA

It took me forever to find this bug report! The notes here are very
helpful. I agree that it would be great to have the country code set
automatically when the region is set at installation, and then again in
the settings of the Wi-Fi configuration panels. That's certainly the
first place I checked while trying to fix it.

[1]: https://en.wikipedia.org/wiki/List_of_WLAN_channels

-- 
You received this bug notification because you are a member of Network-
manager, which is subscribed to NetworkManager.
https://bugs.launchpad.net/bugs/1951586

Title:
  Need option to specify wifi regulatory domain

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1951586/+subscriptions




More information about the Ubuntu-reviews mailing list