Advertisement
Guest User

[Help] Upping TX Power Kali 2.0

a guest
Jan 27th, 2016
607
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. From WIKIUK in the comment section, forum post: http://null-byte.wonderhowto.com/forum/txpower-increase-kali-linux-sana-2-0-0163869/
  2.  
  3.  
  4. apt-get install libnl-dev
  5.  
  6. #this line above might cause an error, so you will need to download the .deb from here https://packages.debian.org/squeeze/libnl-dev
  7.  
  8. also you might need to download https://packages.debian.org/squeeze/libnl1
  9.  
  10. apt-get install libgcrypt11-dev
  11.  
  12. you need to download these two files and put them on your Desktop Wireless-regdb and CRDA
  13.  
  14. extract each file into a folder with their name
  15.  
  16. tar xvjf {full name of your file}
  17.  
  18. 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
  19.  
  20. nano db.txt
  21.  
  22. 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.
  23.  
  24. 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.
  25.  
  26. Then save it and then do a "Make" in the same folder. this will create some additional files including regulatory.bin that we need.
  27.  
  28. copy the regulatory.bin file to /lib/crda directory and replace it but if you want you can backup the original file before replacement.
  29.  
  30. 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
  31.  
  32.  
  33.  
  34. 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.
  35.  
  36. now it's the last step, go back to your crda-1.1.3 folder in terminal and type these commands
  37.  
  38. make
  39.  
  40. make install
  41.  
  42. 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.
  43.  
  44. This resolved it for me, remember to only add power that the wireless adapter can take, in my case its the ALFA AWUS036NH
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement