我正在尝试使用不同的 5GHz 频道,但似乎无法使用它们。例如,我channel=120
在我的设置中设置hostapd.conf
,当我运行它时,我得到:
Channel 120 (primary) not allowed for AP mode, flags: 0x3e0797b NO-IR RADAR
wlp0s20f3: IEEE 802.11 Configured channel (120) not found from the channel list of current mode (2) IEEE 802.11a
wlp0s20f3: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-3)
查看输出iw list
我看到:
Frequencies:
* 5180 MHz [36] (22.0 dBm) (no IR)
* 5200 MHz [40] (22.0 dBm) (no IR)
* 5220 MHz [44] (22.0 dBm) (no IR)
* 5240 MHz [48] (22.0 dBm) (no IR)
* 5260 MHz [52] (22.0 dBm) (no IR, radar detection)
* 5280 MHz [56] (22.0 dBm) (no IR, radar detection)
* 5300 MHz [60] (22.0 dBm) (no IR, radar detection)
* 5320 MHz [64] (22.0 dBm) (no IR, radar detection)
* 5500 MHz [100] (22.0 dBm) (no IR, radar detection)
* 5520 MHz [104] (22.0 dBm) (no IR, radar detection)
* 5540 MHz [108] (22.0 dBm) (no IR, radar detection)
* 5560 MHz [112] (22.0 dBm) (no IR, radar detection)
* 5580 MHz [116] (22.0 dBm) (no IR, radar detection)
* 5600 MHz [120] (22.0 dBm) (no IR, radar detection)
* 5620 MHz [124] (22.0 dBm) (no IR, radar detection)
* 5640 MHz [128] (22.0 dBm) (no IR, radar detection)
* 5660 MHz [132] (22.0 dBm) (no IR, radar detection)
* 5680 MHz [136] (22.0 dBm) (no IR, radar detection)
* 5700 MHz [140] (22.0 dBm) (no IR, radar detection)
* 5720 MHz [144] (22.0 dBm) (no IR, radar detection)
* 5745 MHz [149] (22.0 dBm)
* 5765 MHz [153] (22.0 dBm)
* 5785 MHz [157] (22.0 dBm)
* 5805 MHz [161] (22.0 dBm)
* 5825 MHz [165] (22.0 dBm)
当然,它说的no IR
是 120 频道,所以不能使用它。但是当我使用它时,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)
看起来我应该能够根据我的监管区域(美国)使用它,该区域似乎配置正确。所以我的问题是,为什么我不能使用我的监管区域允许的所有渠道,我该如何配置才能使用?
我正在使用 Ubuntu 20.04。dmesg
有关我的 WiFi 卡的信息:
[ 1212.667202] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1212.667345] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 1212.672301] Intel(R) Wireless WiFi driver for Linux
[ 1212.672301] Copyright(c) 2003- 2015 Intel Corporation
[ 1212.674819] iwlwifi 0000:00:14.3: Found debug destination: EXTERNAL_DRAM
[ 1212.674820] iwlwifi 0000:00:14.3: Found debug configuration: 0
[ 1212.674998] iwlwifi 0000:00:14.3: loaded firmware version 46.6bf1df06.0 op_mode iwlmvm
[ 1212.688262] iwlwifi 0000:00:14.3: Detected Intel(R) Dual Band Wireless AC 9560, REV=0x318
[ 1212.696142] iwlwifi 0000:00:14.3: Applying debug destination EXTERNAL_DRAM
[ 1212.696660] iwlwifi 0000:00:14.3: Allocated 0x00400000 bytes for firmware monitor.
[ 1212.737889] iwlwifi 0000:00:14.3: base HW address: d0:c6:37:xx:xx:xx
[ 1212.805437] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[ 1212.808951] thermal thermal_zone4: failed to read out thermal zone (-61)
[ 1212.809468] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0