How to increase TX Power Signal Strength of WiFi
转自:https://www.blackmoreops.com/2013/10/27/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 GY
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 GY
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 GY
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
Important FIX regarding region
Hi everyone, you read this here first !! Greetings from down under =)
It looks like the folks in charge of the linux wireless regulatory database have found the BO (Bolivia) hack everyone is using, so they set it back to Tx-Power=20 dBm as of mid 2014. New 2015 KALI kernels are now including this limit.
See for yourself:
————————————————————————————————————————————-
https://www.kernel.org/pub/software/network/wireless-regdb/wireless-regdb-2014.06.13.tar.gz (2014-06-13)(db.txt)
country BO: DFS-JP
(2402 – 2482 @ 40), (30) <<<< the old uncapped database. Limit is 30.
(5735 – 5835 @ 80), (30)————————————————————————————————————————————-
https://www.kernel.org/pub/software/network/wireless-regdb/wireless-regdb-2015.01.30.tar.gz (2014-10-06 ONWARD)(db.txt)
country BO: DFS-JP
(2402 – 2482 @ 40), (20) <<<< notice it is now capped at 20!
(5250 – 5330 @ 80), (30), DFS
(5735 – 5835 @ 80), (30)
—————————————————————————–So, what can we do? You can edit the regulation database which is a pain in the ass, or just pick another region.
Try BZ (Belize) or GY (Guyana) as a backup plan =)
country BZ: DFS-JP
(2402 – 2482 @ 40), (30)
(5735 – 5835 @ 80), (30)country GY:
(2402 – 2482 @ 40), (30)
(5735 – 5835 @ 80), (30)Enjoy!!
PS. For the Aussies out there, worth pointing out we are getting ripped off. Those buggers across the ditch are getting 30dBm
country NZ: DFS-FCC
(2402 – 2482 @ 40), (30)
(5170 – 5250 @ 80), (17), AUTO-BW
(5250 – 5330 @ 80), (24), DFS, AUTO-BW
(5490 – 5730 @ 160), (24), DFS
(5735 – 5835 @ 80), (30)=P
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.
p.s. Thanks to Hitmanfor his instructions and NopSled for pointing out the issue with BO. I’ve updated the guide with GY instead.
How to increase TX Power Signal Strength of WiFi的更多相关文章
- 2018-06-07 RF test 1 :TX Power test
Test item: 1.Output power: 屏蔽网房-同轴线-频谱仪 The radio circuitry, generally referred to as the Device U ...
- WIFI 状态栏显示的wifi信号强度与wifisetting列表不一致
[DESCRIPTION] 状态栏显示的wifi信号强度与wifisetting列表不一致(不同步) [ANALYSIS] 1.apk都是接收RSSI_CHANGED intent,并调用WifiMa ...
- 无线电源传输 Wireless Power Consortium (WPC) Communication
Universally Compatible Wireless Power Using the Qi Protocol Wireless charging of portable electronic ...
- Network management system scheduling for low power and lossy networks
In one embodiment, a network management system (NMS) determines an intent to initialize a request-re ...
- Simple dc/dc converter increases available power in dual-voltage system
The schematic in Figure 1 shows a way to increase the power available from a current-limited 5V supp ...
- Cisco 3702i TX功率图
有关思科TX Power选择的一些基本信息: 思科使用1到8的等级,其中1是最高功率,8是最低功率虽然比例上升到8,但不是每个band都使用(0-7)8个数据中的所有值.每个数字都有一个相应的dBm值 ...
- Power Profiles for Android
http://source.android.com/devices/tech/power.html Battery usage information is derived from battery ...
- Radio Basics for RFID
Radio Basics for RFID The following is excerpted from Chapter 3: Radio Basics for UHF RFID from the ...
- RFID 读写器 Reader Writer Cloner
RFID读写器的工作原理 RFID的数据采集以读写器为主导,RFID读写器是一种通过无线通信,实现对标签识别和内存数据的读出和写入操作的装置. 读写器又称为阅读器或读头(Reader).查询器(Int ...
随机推荐
- Android中的“再按一次返回键退出程序”实现
用户退出应用前给出一个提示是很有必要的,因为可能是用户并不真的想退出,而只是一不小心按下了返回键,大部分应用的做法是在应用退出去前给出一个Dialog,我觉得这样不太友好,用户还得移动手指去按dial ...
- jquery版瀑布流
一个月前用jquery实现了瀑布流效果,看着当时的代码有点难过……今天抽时间稍微修改了一下.额,现在看起来不是那么难受了,就来和大家分享一下.废话不多说,开始正题~ 一.演示效果 二.html代码 & ...
- Windows 10磁盘占用100%解决办法
开机后磁盘占用高,是因为 windows 10 默认启用了 superfetch 服务. 这个服务的主要功能是加快程序的启动速度.开机以后,系统将那些经常使用的程序,预先从硬盘加载到内存中,这样, ...
- 剑指Offer 二维数组中的查找
题目描述 在一个二维数组中,每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序.请完成一个函数,输入这样的一个二维数组和一个整数,判断数组中是否含有该整数. 思路法一: * 矩阵是 ...
- 17 任务调度相关类综述——Live555源码阅读(一)任务调度相关类
这是Live555源码阅读的第二部分,包括了任务调度相关的三个类.任务调度是Live555源码中很重要的部分. 本文由乌合之众 lym瞎编,欢迎转载 http://www.cnblogs.com/ol ...
- VS2012创建UML项目
1.选择建模工具 2.添加新建项 3.添加UML图或用例图 4.打开工具箱添加
- 【GoLang】golang 如何像Java 一样通过类名反射对象?
结论: golang不支持解析string然后执行. golang的反射机制只能存在于已经存在的对象上面. 不知道后续的版本有没有规划,现在只能先加载注册,然后实现类似Java工厂模式的反射. 代码示 ...
- c#.net对excel的操作——创建一个excel报表两个sheet就是2个表分别添加内容
添加引用:Microsoft.Office.Interop.Excel //创建excel对象,就是实例化一个excel对象 Application excel=new Appl ...
- Java集合中Set的常见问题及用法
在这里演示的案例是衔接Java集合中的List(点击查看)那篇博文的,本节我们学习的Set的用法. Set是Collection的一个重要的子接口,Set中的元素是无序排列的,并且元素不可以重复,被称 ...
- 【动态规划】简单背包问题II
问题 B: [动态规划]简单背包问题II 时间限制: 1 Sec 内存限制: 64 MB提交: 21 解决: 14[提交][状态][讨论版] 题目描述 张琪曼:“为什么背包一定要完全装满呢?尽可能 ...