How To: Increase TxPower Kali Sana Linux 2.0

Increase TxPower Kali Sana Linux 2.0

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 emoji, enhanced security, podcast transcripts, Apple Cash virtual numbers, and other useful features. There are even new additions hidden within Safari. Find out what's new and changed on your iPhone with the iOS 17.4 update.

1 Comment

Hi Null-Byte - love your site!

Have been trying to follow this tutorial but it doesnt work - the links you give in step 1 just go to a page that says " Error - two or more packages specified (libnl-dev squeeze)"

apt-get doesn't work either

Without being able to follow those links the rest of the tutorial cannot be followed which is a real shame as the normal iwconfig / ifconfig method of setting reg to BO and etc doesn't seem to work anymore. I heard someone say there was now a better country code to use but I can't remember which one.

Please fix the links as I really want to do this one!

Many thanks

SB

Share Your Thoughts

  • Hot
  • Latest