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

John Neffenger 1951586 at bugs.launchpad.net
Tue Apr 18 14:07:44 UTC 2023


I tried the preinstalled desktop image of Ubuntu 23.04 (Lunar Lobster)
Beta last night. It has the same problem, as expected, but it was a bit
tricky to fix it directly on the disk image.

There are two files called 'cmdline.txt', one in each of the disk's two
partitions:

  1. system-boot/cmdline.txt <-- Modify this one.
  2. writable/boot/firmware/cmdline.txt <-- NOT this one.

The file is found as '/boot/firmware/cmdline.txt' when running, so I
added the command-line argument to the second file. That's the wrong
one, though. The partition labeled 'system-boot' is mounted as
'/boot/firmware', hiding the directory with the same name on the second
partition with the label 'writeable':

$ mount | grep boot
/dev/mmcblk0p1 on /boot/firmware type vfat (rw,relatime,fmask=0022,dmask=0022,
codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)

The correct file to modify on the disk image is the first one, directly
in the 'system-boot' partition.

By the way, you might wonder why I don't just change the access point's
channels, but those high-end 5-GHz channels are the only ones that work
well here. The 2.4-GHz channels are saturated by more than 150 access
points nearby, and the same with the low-end 5-GHz channels. The high-
end channels in Canada from 149 to 161 are far less occupied, fully
available (not just for "indoors"), and don't have any Dynamic Frequency
Selection (DFS) or Transmit Power Control (TPC) restrictions.

John

-- 
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