Home

Awesome

wifi-txpower-unlocker

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.

kali-linux-region-BO-wifi-txpower-unlocker.sh

ubuntu-region-BO-wifi-txpower-unlocker.sh

arch-linux-region-BO-wifi-txpower-unlocker.sh

Tested Devices

Usage

Increase TX power

  1. Login as root in Kali Linux
  2. Download arch-...sh or kali-...sh or ubuntu-...sh script (or clone the repo)
  3. Open the script in a text editor and change change the value of the variable txpower to the desired value
  1. Grant execution permission using Terminal (use ubuntu-...sh script if using Ubuntu)
  1. Execute the script (use ubuntu-...sh script if using Ubuntu)
  1. When prompted to reboot type 'Y' and press [Enter]
  2. After rebooting, login as root

Set the txpower of the interface

  1. Run iwconfig or ifconfig to determine your wireless interface
  1. Bring the interface down
  1. Set region to BO
  1. 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.
  1. Bring the interface up
  1. Use iwconfig to make sure that the txpower is set to what you desired

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D