Ad-Hoc mode in IEEE 802.11a
De
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>
- after having installed the correct reg file: git clone git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-regdb.git
- You now have a new file /etc/udev/rules.d/XXXregulatory.rules, containing:
KERNEL==”regulatory*”, ACTION==”change”, SUBSYSTEM==”platform”, RUN+=”/sbin/crda”
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