Git Product home page Git Product logo

wifi-txpower-unlocker's Introduction

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

  • Region BO
  • 2.4 Ghz
  • Customized for Kali Linux

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

  • Same as kali-linux-region-BO-wifi-txpower-unlocker.sh but added dependencies for Ubuntu

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

  • Region B0
  • 2.4 Ghz
  • Customized for Archlinux (and variants like manjaro)

Tested Devices

  • 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

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
  • I set the txpower to 33 in the script
  1. Grant execution permission using Terminal (use ubuntu-...sh script if using Ubuntu)
  • chmod +x kali-linux-region-BO-wifi-txpower-unlocker.sh
  1. Execute the script (use ubuntu-...sh script if using Ubuntu)
  • ./kali-linux-region-BO-wifi-txpower-unlocker.sh
  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
  • iwconfig or ifconfig
  • My wireless interface was wlan1 so replace wlan1 with your interface name
  1. Bring the interface down
  • ifconfig wlan1 down
  1. Set region to BO
  • iw reg set 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.
  • iwconfig wlan1 txpower 33
  1. Bring the interface up
  • ifconfig wlan1 up
  1. Use iwconfig to make sure that the txpower is set to what you desired
  • iwconfig wlan1

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

wifi-txpower-unlocker's People

Contributors

hiruna avatar muhviehstah avatar mzpqnxow avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.