You are not logged in.
Hi all,
I'm trying to connect to a wireless network on channel 13, but my system seems to be stuck in the US regulatory domain so it's only listing channels up to 11 as available.
I can't for the life of me figure out how to change the country, so can anyone point out what I'm doing wrong?
# cat /etc/conf.d/wireless-regdom | grep -v '^#'
WIRELESS_REGDOM="AU"
# cat /etc/modprobe.d/regdom.conf
options cfg80211 ieee80211_regdom=AU
# cat /sys/module/cfg80211/parameters/ieee80211_regdom
AU
# journalctl -b | grep cfg80211
<nothing>
I don't know why I'm not seeing any cfg80211 messages like everyone else does. When I try to check what domain I'm in however, it's stuck in the US:
# iw reg get
global
country US: DFS-FCC
(2402 - 2472 @ 40), (N/A, 30), (N/A)
(5170 - 5250 @ 80), (N/A, 23), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5490 - 5730 @ 160), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
(57240 - 63720 @ 2160), (N/A, 40), (N/A)
# iwlist wlan0 channel
wlan0 11 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Current Frequency:2.437 GHz (Channel 6)
Trying to change it results in a weird 'unset' domain, alas with no channels 12 and 13:
# iw reg set AU
# iw reg get
global
country 98: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 17), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 23), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 23), (0 ms), DFS
(5735 - 5835 @ 80), (N/A, 30), (N/A)
What am I missing???
Last edited by Malvineous (2017-03-21 09:12:34)
Offline
Well I'm not sure how it happened, but it seems to be working now. I put "REGDOMAIN=AU" into /etc/default/crda and also "COUNTRY=AU" into the relevant /etc/wpa_supplicant/*.conf and some way or another it worked - I got channels 12 and 13 to show up.
Still no cfg80211 messages though, but I think this is because I was using the rtl8192cu module which apparently has its own internal regulatory database (because code duplication is never a bad idea.../s) so it looks like somehow I was able to get it to change domains to another of its internal ones.
I also compiled my own regulatory.bin and /usr/bin/crda binary so I could replace the US frequency list with the values for my country, but it looks like this wasn't necessary in the end (and may not have made a difference anyway if the Realtek driver has an independent database.) Just for fun I tried an old prism54 USB stick and it picked up the new regulatory.bin so good to know that's always there as plan B now.
Offline
I am getting the same issue. I don’t know what value should I put in regdom? I am from India. However regdom was 00 initially
Offline
Please don't necrobump , start a new thread instead.
https://wiki.archlinux.org/title/Networ … ory_domain may be useuful.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline