Header Banner
Null Byte Logo
Null Byte
wonderhowto.mark.png
Cyber Weapons Lab Forum Metasploit Basics Facebook Hacks Password Cracking Top Wi-Fi Adapters Wi-Fi Hacking Linux Basics Mr. Robot Hacks Hack Like a Pro Forensics Recon Social Engineering Networking Basics Antivirus Evasion Spy Tactics MitM Advice from a Hacker

How to 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

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

Extract Files

extract each file into a folder with their name

tar xvjf {full name of your file}

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

You already know how to use your phone. With Gadget Hacks' newsletter, we'll show you how to master it. Each week, we explore features, hidden tools, and advanced settings that give you more control over iOS and Android than most users even know exists.

Sign up for Gadget Hacks Weekly and start unlocking your phone's full potential.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!