This is a small guide on How to increase TX Power Signal Strength of WiFi
This guide contains 3 different methods to increase your TX Power or Signal Strength of your Wifi Wireless card. It also includes 2 ways to make those changes kick in at boot time so that you can enjoy the extra power everytime you boot into your Linux distro.
The default TX-Power of wireless is set to 20 dBm but you can increase it with a little trick to 30 dBm but let me warn you first that It might be illegal in your country, so use it at your own risk. Moreover Some models will not support these settings or wireless chip may state that it “can” transmit with higher power, but the device’s manufacturer probably did not place the appropriate heat sink in order to accomplish this. Readers MUST use this guide knowing what is allowed or not allowed in their country. Author is not responsible for any action taken by a reader.
3 simplest options for you..
Option 1
Open terminal and copy paste the following commands:
iw reg set BO
iwconfig wlan0 txpower 30
If above method gives the following error then go for Option 2.
Error for wireless request "Set Tx Power" (8B26) :
SET failed on device wlan0 ; Invalid argument.
Option 2
ifconfig wlan0 down
iw reg set BO
ifconfig wlan0 up
iwconfig wlan0 channel 13
iwconfig wlan0 txpower 30
Options 3
Copy paste the following commands into a text file and save it as IncreaseWifiTx
You might want to edit regions to your likings. Link to world regulatory domains are at the bottom of this post.
#!/bin/bash
echo "hello, root!"
echo " taking down wlan0"
ifconfig wlan0 down
sleep 3
echo "setting Region to Bolivia"
iw reg set BO
sleep 3
echo "setting TxPower to 30"
iwconfig wlan0 txpower 30
sleep 2
echo "starting wlan0"
ifconfig wlan0 up
echo "pulling wlan0 interface up"
iwconfig
sleep 5
echo "good bye"
Now do
chmod +x IncreaseWifiTx
./IncreaseWifiTx
Setting changes automatically at boot
You can achieve it in multiple ways.
By editing rc.local file
You can set it at startup by adding the above commands (choose option 1 or 2) at the end of /etc/rc.local file and with exit 0 at the end.
Some would argue to use
update-rc.d <your script> defaults
Using GUI – Start-up Programs
Move IncreaseWifiTx file to /usr/bin.
mv IncreaseWifiTx /usr/bin/IncreaseWifiTx
Make it executable
chmod +x /usr/bin/IncreaseWifiTx
Now just follow these steps:
- Click on “Applications” –> “System Tools” –> “Preferences” –> “Startup Applications”
- Click “Add”
- Add these details
- Name: Increase Wifi TX
- Command: /usr/bin/IncreaseWifiTx
- Comment: Make my Wifi run HOT
- Click Save
- Close.
Wikipedia Link explaining Wifi
http://en.wikipedia.org/wiki/Wi-Fi
Kernel.org link explaining world regulatory domains and other info
http://git.kernel.org/cgit/linux/ker…db.txt?id=HEAD
Thanks for reading.
No comments:
Post a Comment