How to Increase TxPower Kali Sana Linux 2.0

Dec 18, 2015 11:58 PM

This is for those using Kali Linux 2.0 that need to edit the CRDA values to get the increase in Txpower

Step 1: Dependencies

apt-get install libnl-dev

#this line above might cause an error, so you will need to download the .deb from here https://packages.debian.org/squeeze/libnl-dev

also you might need to download https://packages.debian.org/squeeze/libnl1

apt-get install libgcrypt11-dev

you need to download these two files and put them on your Desktop Wireless-regdb and CRDA

Step 2: Extract Files

extract each file into a folder with their name

tar xvjf {full name of your file}

Step 3: Everything Else

in this step after you've extracted all files to their folders, go to the Wireless-regdb folder and right click and open up a terminal

nano db.txt

this will open the db.txt and you can edit it to your needs. you will notice the country 00, it is the world regulatory domain and that is applied before everything else so in this case you will have to replace those values with the ones for BO country. do that and then you can change (20) to anything you want like (30) or (33). if you want to use 5.8Ghz channel, change both values. 33 dBm gives you 2W so i assume you know what that means.

go back to Wireless-regdb directory and edit the makefile, on kali linux 2.0 you need to remove the /usr on the /usr/lib/crda on the 3rd line down.

Then save it and then do a "Make" in the same folder. this will create some additional files including regulatory.bin that we need.

copy the regulatory.bin file to /lib/crda directory and replace it but if you want you can backup the original file before replacement.

Go to /lib/crda/pubkeys and copy benh@debian.org.key.pub.pem to /Desktop/crda-1.1.3/pubkeys/benh@debian.org.key.pub.pem

exit the folder and go back to Wireless-regdb folder on your desktop and find all files with extension of (.pem), copy them all and paste them into crda-1.1.3/pubkeys folder on your desktop.

now it's the last step, go back to your crda-1.1.3 folder in terminal and type these commands

make

make install

after that restart your computer and do an iwconfig and you'll see your new TX power. if after restart the changes didn't take effect do a make install in Wireless-regdb directory too but i don't think that would be necessary at all.

This resolved it for me, remember to only add power that the wireless adapter can take, in my case its the ALFA AWUS036NH

Just updated your iPhone? You'll find new Apple Intelligence capabilities, sudoku puzzles, Camera Control enhancements, volume control limits, layered Voice Memo recordings, and other useful features. Find out what's new and changed on your iPhone with the iOS 18.2 update.

Comments

No Comments Exist

Be the first, drop a comment!