unable to connect to Wi-Fi if region=UA
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
New
|
Undecided
|
Unassigned |
Bug Description
I've encountered an issue with Wi-Fi connectivity when changing region from default (GB) to UA (Ukraine) on my Raspberry Pi 3.
I have a D-Link DIR-300NRU router with WPA2-PSK (AES) security mode. Router's Wi-Fi region is set to Ukraine.
While connecting to my AP with GB region enabled on my RPi everything seems to work perfectly good, just look at syslog:
=======
wpa_supplicant[
kernel: [ 251.549259] cfg80211: Regulatory domain changed to country: GB
kernel: [ 251.549273] cfg80211: DFS Master region: ETSI
kernel: [ 251.549278] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
kernel: [ 251.549286] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
kernel: [ 251.549294] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
kernel: [ 251.549301] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
kernel: [ 251.549308] cfg80211: (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
kernel: [ 251.549314] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
systemd[1]: Reloading OpenBSD Secure Shell server.
systemd[1]: Reloaded OpenBSD Secure Shell server.
wpa_supplicant[
wpa_supplicant[
=======
and whenever I'm trying to change region to UA, my wpa_supplicant comes with this:
=======
wpa_supplicant[
wpa_supplicant[
wpa_supplicant[
=======
and all following retries just replicate the same error.
Here is my wpa_supplicant.conf while UA region is applied:
=======
ctrl_interface=
update_config=1
country=UA
network={
ssid="DIR-300NRU"
psk="passwordhere"
}
=======
and when I change region back to GB the only line which changes is "country=GB".
I've also tried to connect to Wi-Fi via smartphone, and everything was OK. Security mode: WPA2-PSK.
Also, here is my interfaces file:
=======
source-directory /etc/network/
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_
=======
In addicition, here is frequency bands which is configured when switching to UA region:
=======
cfg80211: Regulatory domain changed to country: UA
cfg80211: DFS Master region: ETSI
cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
cfg80211: (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211: (5150000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211: (5490000 KHz - 5670000 KHz @ 80000 KHz), (N/A, 2000 mBm), (0 s)
cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
=======
and when choosing GB:
=======
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
(2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
(5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
(5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
(5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
(57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
=======
uname -a:
Linux leks-rpi 4.4.13-v7+ #894 SMP Mon Jun 13 13:13:27 BST 2016 armv7l GNU/Linux
libc:
Version: 2.19-18+deb8u6
And at last, the question: may it be the problem on the router side? I haven't had an opportunity to check connectivity with other routers with chosen Ukraine Wi-Fi region.
See (vote) also https:/ /github. com/RPi- Distro/ raspi-config/ issues/ 32