Results 1 to 10 of 11

Thread: BT4 - Enable Channels 12,13,14

Hybrid View

  1. #1

    Default BT4 - Enable Channels 12,13,14

    To enable "non-US" channels on your wireless card under BT4 (and the new mac80211 stack):

    You will need to download a few packages, and programs to enable use of the upper channels of the 802.11b/g spectrum:

    Code:
    apt-get install python-m2crypto libgcrypt11 libgcrypt11-dev
    download crda and the latest wireless-regdb, both of which can be found at:

    http://wireless.kernel.org/en/develo...egulatory/CRDA

    Next, extract the wireless-regdb contents:

    Code:
    tar xvjf wireless-regdb-2008.11.17.tar.bz2 (latest file when I tried this)
    and copy the file "regulatory.bin" to /usr/lib/crda/

    Code:
    mkdir /usr/lib/crda
    cp regulatory.bin /usr/lib/crda/
    Next, untar the CRDA tarball you downloaded:

    Code:
    tar xvjf crda-1.0.1.tar.bz2
    change dir to the resulting crda directory, compile and install:

    Code:
    cd crda-1.0.1
    make && make install
    Copy the file regulatory.rules found in the udev subdirectory under crda to /etc/udev/rules.d/85-regulatory.rules

    Code:
    cd udev
    cp regulatory.rules /etc/udev/rules.d/85-regulatory.rules
    Now, you should be able to set your country code using iw:

    Code:
    iw reg set ##
    (where ## is the ISO Alpha2 code for your country such as DK for Denmark)

    This should open up all the channels that are usable in your particular country.

    Use iw to see what frequencies/channels are available:

    Code:
    iw list

  2. #2
    Just burned his ISO
    Join Date
    Apr 2009
    Posts
    3

    Default

    Thanks, Im going to need this !
    Good job

  3. #3
    Moderator KMDave's Avatar
    Join Date
    Jan 2010
    Posts
    2,281

    Default

    Thanks a lot, great howto.
    Tiocfaidh ár lá

  4. #4
    Member imported_onryo's Avatar
    Join Date
    Apr 2009
    Posts
    109

    Default Enable Channels for 12, 13

    Thx cybersnper!
    Really needed this but there seem to be some typos in what you did here. The problems I am had are the following.

    After the first typo on the tar xvzj wireless-regdb-2008.11.17.tar.bz2 – Just a typo. I make the make the dir “crdu” under /usr/lib/ … cool cool. From the untared folder I just copy the new regulatory.bin to the new /usr/lib/crda folder , np.

    This is where I don't quite follow you. I now go into /usr/lib/crda and run

    make && make install ? All that is in there is the regulatory.bin that I cp over into that folder. Can't find any subdirectory “udev”under crda ether.

    I tried this using the same exact wireless-regdb-2008.11.17.tar.bz2 (not the newest one) that you used on BT4.

    I am sure I could just go into http://linuxwireless.org/en/developers/Regulatory/CRDA and fix this in no time but maybe others might fall into some of the pitfalls that I did if they follow your tut. Don't want to be a butt wad but this is a "BT4beta HowTo's"

    All the best
    onryo
    Let me explain officer, I am not a hacker. I am a security tester of sorts!

  5. #5

    Default

    Thanks for the heads up. Fixed the steps.

  6. #6
    Member imported_onryo's Avatar
    Join Date
    Apr 2009
    Posts
    109

    Default Channels 12,13 CRDA is not called by kernel?

    Thx cybr! Reads like a charm now!
    Was wondering if you are having the same problems as I have. Everything works fine until I reboot. Then all falls to default. Working off a 32GB USB...yeah I can save. After a quick look it would seem that the kernel is having problems speaking to the userspace events. Or that CRDA is not called right. I am not really sure.

    played a little with to see what was up etc.

    # udevadm monitor --environment kernel

    I can fix this by just doing the following at every reboot
    # cp regulatory.rules /etc/udev/rules.d/85-regulatory.rules

    # iw reg set SE

    This one has me stumped. Any ideas?

    Best to ya!
    onryo
    Let me explain officer, I am not a hacker. I am a security tester of sorts!

  7. #7

    Default

    I haven't noticed any problem. The rules are still in the /etc/udev/rules.d folder after reboot. I'm in the U.S. so I never worried about how to get it to set to a different regulatory domain permanently. I would guess that you could put the "iw reg set SE" statement into rc.local though.

    I'm assuming of course that you are using a distro build that allows changes (i.e. not a live CD/USB).

  8. #8
    Member imported_onryo's Avatar
    Join Date
    Apr 2009
    Posts
    109

    Default

    I'm assuming of course that you are using a distro build that allows changes (i.e. not a live CD/USB).
    lol you are assuming right I am using a 16 GB USB that I can save on. No big deal if I quickly need to chuck it into the microwave. I am sure I did something bionicly retarded when I borked the first install. Actully I just only have to do the " iw reg set SE" part.

    All the best
    onryo!
    Let me explain officer, I am not a hacker. I am a security tester of sorts!

  9. #9
    Senior Member
    Join Date
    Apr 2006
    Posts
    154

    Default

    I get this:

    root@bt:~# iw reg set DK
    nl80211 not found.
    root@bt:~#


    What's wrong?

  10. #10

    Default

    Quote Originally Posted by michelinok View Post
    I get this:

    root@bt:~# iw reg set DK
    nl80211 not found.
    root@bt:~#


    What's wrong?
    No idea. Don't have a lot to go on here. Are you using mac80211 drivers? What kind of card are you using?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •