我尝试了iw dev wlp3s0 set reg BO
命令返回成功
但是实际上它并没有改变reg
这是日志:
global
country 00: DFS-UNSET
(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN
(5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN
(57240 - 63720 @ 2160), (N/A, 0), (N/A)
phy#0 (self-managed)
country IN: DFS-UNSET
(2402 - 2437 @ 40), (6, 22), (N/A), AUTO-BW, NO-HT40MINUS, NO-80MHZ, NO-160MHZ
(2422 - 2462 @ 40), (6, 22), (N/A), AUTO-BW, NO-80MHZ, NO-160MHZ
(2447 - 2482 @ 40), (6, 22), (N/A), AUTO-BW, NO-HT40PLUS, NO-80MHZ, NO-160MHZ
(5170 - 5190 @ 80), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-CONCURRENT, NO-HT40MINUS, NO-160MHZ, PASSIVE-SCAN
(5190 - 5210 @ 80), (6, 22), (N/A), NO-OUTDOOR, AUTO-BW, IR-
答案 0 :(得分:0)
在许多国家/地区,更改监管域受到限制。
而且,如果驱动程序不支持此功能也是不可能的。
如果此命令对您不起作用
iw dev wlp3s0 set reg BO
然后您可以尝试此方法
git clone https://github.com/robertfoss/wireless-regdb.git
cd wireless-regdb.git
make
# edit db.txt file with your required country
./db2bin.py
# overwrite /lib/crda/regulatory.bin with new generated file
cp regulatory.bin /lib/crda/regulatory.bin
在某些情况下,不允许将频率更改为高于12(通道) 国家/地区。使用风险自负。