Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8008407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:07:47+00:00 2026-06-04T18:07:47+00:00

Problem-> I am wondering how would I test channels(WIFI) for mode a/b/g/n for countries

  • 0

Problem-> I am wondering how would I test channels(WIFI) for mode a/b/g/n for countries other than GB.?


H/W -> WIFI sparklan WPEA110N
Chipset: Atheros AR9280
Interface: Mini PCI Express

Software ->
Linux fedora 11
Wifi Access Point utility -> hostapd


What I have done so far ->
1) I have changed the config file of hostapd_minimal.conf and changed the country code from GB to any other country for eg CN( CHINA) or US( USA).
2) I Have also tried to change the CRDA
ex-> iw reg set CN

Result of those changes ->
I have noticed that it successfully block channels that are not allowed in countries other than GB like for example in CHINA for mode a channels 36 is not allowed so result of hostapd turns false But it even doesnt allow the channels which are legally allowed in CHINA.

SUMMARY -> In short, if I change country from GB to any other country , the hostapd utility allows only common channels. for example 1) if I change country to US
it will allow 36, 38 , 40 etc for mode a as these are the legal channels for both countries but doesnt allow channel 149 -165

Could some one please throw light on it.

Thanks and regards,
Sam

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T18:07:48+00:00Added an answer on June 4, 2026 at 6:07 pm
     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
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering how people would approach the problem of merging two 3D objects?
I am wondering what the community would most recommend for a problem I'm having
I am wondering if there would be any LINQ/Lambda expression solution for the problem
A recent problem* left me wondering whether there is a text editor out there
I've got a problem I was wondering if there's an elegant solution to. It
Just wondering if you had any thoughts on this problem. I want to make
I am wondering why I have this problem with my list. I am trying
I've been wondering about this problem for some time - doubleclicking a winforms TabControl's
This problem is not readily reproducible in a simple example here but was wondering
I am having a problem resolving singleton components in Autofac and wondering if Autofac

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.