Outils personnels

Ad-Hoc mode in IEEE 802.11a

De

Aller à : navigation, rechercher

Ad-Hoc mode in IEEE 802.11a

By default, the NIC are set-up with US regulatory domain. Thus ad-hoc mode is unavailable (take a look on dmesg).

What to do: <syntaxhighlight lang="bash"> apt-get install pkg-config git-core libnl-dev libgcrypt11-dev git clone git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git cd crda; make; make install </syntaxhighlight>

KERNEL==”regulatory*”, ACTION==”change”, SUBSYSTEM==”platform”, RUN+=”/sbin/crda”

Image mini.png

The interested reader should take a look on wireless.kernel.org

You should now be able to change the reg domain:

  • iw reg set FR / NO, etc.
  • and iw phy0 info should let you know that IBSS (ad hoc mode) is available for some channels in the 5GHz band