改变无线接口的监管域给出错误

问题描述 投票:0回答:1

我试过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-
shell networking
1个回答
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(频道)。使用风险由您自行承担。

© www.soinside.com 2019 - 2024. All rights reserved.