【问题标题】:to test channels for wifi access point other than UK channels测试除英国频道以外的 wifi 接入点频道
【发布时间】:2012-05-31 18:03:38
【问题描述】:

问题-> 我想知道如何为 GB 以外的国家/地区的模式 a/b/g/n 测试频道(WIFI)?


硬件 -> WIFI sparklan WPEA110N
芯片组:Atheros AR9280
接口:Mini PCI Express

软件 ->
Linux fedora 11
Wifi 接入点实用程序 -> hostapd


到目前为止我做了什么 ->
1) 我更改了 hostapd_minimal.conf 的配置文件,并将国家代码从 GB 更改为任何其他国家,例如 CN(CHINA) 或 US(USA)。
2) 我也尝试过更改 CRDA
ex-> iw reg set CN

这些更改的结果 ->
我注意到它成功阻止了除 GB 以外的国家/地区不允许的频道,例如在中国,对于 mode a 频道 36 是不允许的,因此 hostapd 的结果变为 false但它甚至不允许在中国合法允许的频道。

SUMMARY -> 简而言之,如果我将国家/地区从 GB 更改为任何其他国家/地区,hostapd 实用程序仅允许公共频道。例如 1) 如果我将国家更改为美国 mode a 将允许 36、38、40 等,因为这些是两国的合法频道,但不允许频道 149 -165

有人能帮我解释一下吗?

感谢和问候,
山姆

【问题讨论】:

    标签: wifi embedded-linux wifimanager


    【解决方案1】:
     Well  after couple of days of struggle . I have found  the solution.  Well  Remember this  is only for testing wireless inside  my house. Using of channels which are not authorised in a particular country  are illegal and can be prosecuted.
    
     To summarize what I did..( may be it wil be helpful for someone)
     Its 2 MAIN stEP PROCEDURE . 
         - First to MAKE CHANGES IN wireless-regdb and
         - Second with crda
    
     1)WIRELESS-REGDB
    
       1.a)Download wireless-regdb-2008.11.17.tar.bz2 package
       1.b) Untar it
       1.c) cd wireless-regdb-2008.11.17
       1.d) vi db.text and made changes what you have mentioned
       1.e) make
       This will create a public and priv key in my case its something like key.priv.pem
    
       1.f) copy the regulatory.bin to /usr/lib/crda/
            (create crda if does not exist)
    
       if you guys want to make changes in regulatory.bin after the make then
       i) edit db.txt and make reguire changes
       ii) compile it . ex ./db2bin.py regulatory.bin db.txt key.priv.pem
       iii) copy into /usr/lib/crda
    
              ****************** Now download and commpile crda*******
    
      2.a) Download Crda . I n my case its crda-1.1.2.tar.bz2
      2 .b) un tar it and cd into directory
      2.c) copy the public key from wireless-regdb into pubkeys directory
      example — cp bla bla/wireless_regdb-2008.11.17 blabla/crda-1.1.2/pubkeys
    
     2.d)make the file .. type “make”
     note — in my case I got hell lot of errors and dependency problem but google has                      helped me to solve it
     2.e make install
     2.f reboot the system.
    
     Important — modify frequency in db.txt of the country which your driver is requesting    from EEPROM of H/w.
     for example -> if your driver get counrty code as GB and you made changes for US , it   will not work.
    
     Best bet is to check what your country code is by typing “iw reg get ” command
    

    【讨论】:

      猜你喜欢
      • 2022-06-29
      • 2015-05-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-16
      • 1970-01-01
      • 1970-01-01
      • 2014-12-10
      相关资源
      最近更新 更多