A bash script that generates a modified regulatory.bin from Central Regulatory Domain Agent and Wireles Regulatory Database sources and patches the kernel. This unlocks the maximum WiFi TX power (on 2.4 Ghz) of the region BO according to the dBm value you specify in the script.
In the future I plan to modify the script to allow users to choose a specific region and a frequency range.
- Region BO
- 2.4 Ghz
- Customized for Kali Linux
- Same as kali-linux-region-BO-wifi-txpower-unlocker.sh but added dependencies for Ubuntu
- Region B0
- 2.4 Ghz
- Customized for Archlinux (and variants like manjaro)
- Raspberry Pi 3 running Kali Linux (with the kali-linux-full metapackage)
- Virtual Machine running Kali Linux 64 bit
- Ubuntu 16.04 LTS 64 bit
- Login as root in Kali Linux
- Download arch-...sh or kali-...sh or ubuntu-...sh script (or clone the repo)
- Open the script in a text editor and change change the value of the variable
txpower
to the desired value
- I set the
txpower
to33
in the script
- Grant execution permission using Terminal (use ubuntu-...sh script if using Ubuntu)
chmod +x kali-linux-region-BO-wifi-txpower-unlocker.sh
- Execute the script (use ubuntu-...sh script if using Ubuntu)
./kali-linux-region-BO-wifi-txpower-unlocker.sh
- When prompted to reboot type
'Y'
and press[Enter]
- After rebooting, login as root
- Run
iwconfig
orifconfig
to determine your wireless interface
iwconfig
orifconfig
- My wireless interface was
wlan1
so replace wlan1 with your interface name
- Bring the interface down
ifconfig wlan1 down
- Set region to BO
iw reg set BO
- Change the txpower of the interface (again, I chose 33). If you specified
xx
in the script before executing,xx
will be the highest txpower you can set the interface to.
iwconfig wlan1 txpower 33
- Bring the interface up
ifconfig wlan1 up
- Use
iwconfig
to make sure that the txpower is set to what you desired
iwconfig wlan1
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D