← Back to team overview

yahoo-eng-team team mailing list archive

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

 

@jvonau I just came back to this while trawling through my still-open
bug list and had a look at what happens on the desktop. At least on our
Pi desktop images (using NetworkManager), no wifi regulatory domain gets
set at all (at least on my local network). Just in case it made any
difference, I also tried switching on "location services", but there was
no effect on the regulatory domain.

It appears that the effort to make NetworkManager (or more broadly, the
GNOME desktop) location aware stalled some considerable time ago [1] [2]
[3]

[1]: http://linuxwireless.sipsolutions.net/en/developers/GSoC/2009/GeoClue_regulatory/
[2]: https://wireless.wiki.kernel.org/en/developers/Regulatory/CRDA#using_network_manager_to_change_regulatory_domains
[3]: https://wireless.wiki.kernel.org/en/developers/Regulatory#automatic_country_discovery

Also, I don't see any option to manually set the regulatory domain in
the UI. Now that crda's gone in jammy, and "iw" isn't seeded on the
desktop image (for the Pi at least; is the PC any different?) there's
effectively no way for the user to set the wifi regulatory domain
(something that's fairly important ... legal stuff and all that) "out of
the box" either via the GUI or via the command line.

I've added the info the jammy release notes, and I'm going to add a few
targets here as this clearly needs some work on several fronts,
presumably netplan for servers and NetworkManager for desktops.

** Also affects: network-manager (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: network-manager (Ubuntu Kinetic)
   Importance: Undecided
       Status: New

** Also affects: netplan.io (Ubuntu Kinetic)
   Importance: Medium
       Status: Triaged

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1951586

Title:
  Need option to specify wifi regulatory domain

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

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