
How to increase transmitted power in a Wireless Card
- Details
- Category: Linux Articles
- Published on Saturday, 22 February 2014 11:04
- Written by Administrator
- Hits: 2124
#1.Install the following packages
$sudo apt-get install libgcrypt11-dev python-m2crypto libnl1 libnl-dev
#2.
$mkdir custom-rdb && cd custom-rdb
#3.
wget https://wireless.kernel.org/download/wireless-regdb/wireless-regdb-2010.11.24.tar.bz2
#4.
$tar -xvjf wireless-regdb-2010.11.24.tar.bz2
#5.
$cd wireless-regdb-2010.11.24
#6.
$gedit db.txt
Select a country. Say TW, then for TW make the following changes
country TW:
(2402 - 2494 @ 40), (N/A, 33)
(4910 - 5835 @ 40), (N/A, 33)
#7.
make
#8.
cp /usr/lib/crda/regulatory.bin /usr/lib/crda/regulatory.bin.bak
# for mint 15 its ... /lib/crda/regulatory.bin
#9.
cp regulatory.bin /usr/lib/crda/
#10.
cd ~/custom-rdb
#11.
wget https://wireless.kernel.org/download/crda/crda-1.1.1.tar.bz2
#12.
tar -xvjf crda-1.1.1.tar.bz2
#13.
cd crda-1.1.1
#14.
cp ~/custom-rdb/wireless-regdb-2010.11.24/*.key.pub.pem pubkeys
#15.
make
make install
#16.
iw reg set TW
ifconfig wlan2 down
iwconfig wlan2 txpower 33
ifconfig wlan2 up
#Note 33 db is 2W