> 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 Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1951586

Title:
  Need option to specify wifi regulatory domain

Status in cloud-init:
  Invalid
Status in netplan:
  Fix Released
Status in NetworkManager:
  New
Status in netplan.io package in Ubuntu:
  Fix Released
Status in network-manager package in Ubuntu:
  Incomplete
Status in netplan.io source package in Jammy:
  Triaged
Status in network-manager source package in Jammy:
  Incomplete
Status in netplan.io source package in Kinetic:
  Fix Released
Status in network-manager source package in Kinetic:
  Incomplete

Bug description:
  It would be nice if netplan offered an option to specify the wifi
  regulatory domain (country code).

  
  For devices such as the Raspberry Pi you are currently advertising that users 
can simply setup Ubuntu Server headless by putting the wifi configuration 
details in cloudinit/netplan's "network-config" on the FAT partition of the SD 
card: 
https://ubuntu.com/tutorials/how-to-install-ubuntu-on-your-raspberry-pi#3-wifi-or-ethernet
  But an option to set the wifi country code there does not seem to exist, so 
may not work.

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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to