Networking/Computing Tips/Tricks

I ws asked in a recent WLAN class whether you can adjust the power level in a Wi-Fi radio.  The answer is yes (if you have the right operating system), and here is how.
For this demonstration, I am using Kali Linux but this should work on any Linux.  Comment below if you can confirm or deny that.
OK - so here is how you can do this.
Start with the 'ifconfig' or 'iwconfig' command to display current settings:
twips1
Shut down the wlan0 interface: 'ifconfig wlan0 down' and verify
twips2
We can change the country with the 'iw reg set US' command where you can replace the US two letter code with any other country.
A note here - different countries have different Wi-Fi regulations, and you could be in violation of your conutry laws.  So stop here if that is an issue.
For fun, we will change ours to Great Britain and bring the interface back up:
twips3
Now let's change the power level: 'iwconfig wlan0 txpower 18'
twips4
You may or may not be allowed to up your power level.
Imagine for a moment if you lowered someone's power level to 5 dBm or less - hmmm.

Comments powered by CComment

Subscribe to our Newsletter!

Subscribe to our monthly newsletter to learn about upcoming classes, new networking how to's and much more.

Find by Tag

4G Networks 5G Networks 6LoWLAN 6LoWPAN 802.11 802.11ah 802.11ax 802.11ay 802.11az Addressing Analysis Ansible Architecture ARP AToM Baseline BGP Bloom's Taxonomy Broadband Cable cat CellStream Cellular Central Office Cheat Sheet Chrome Cisco Cloud CMD Coloring Rules Computer Consulting Customer Support Data Center Data Networking DHCPv6 DNS Docker Documentation Dublin-Traceroute dumpcap ECMP Ethernet Ethics Evaluation Field Operations Fragmentation G-MPLS GeoIP Git GNS3 Google GQUIC Hands-On History Home Network ICMP ICMPv6 IEEE 802.11p IEEE 802.15.4 India Interface Control Internet IoT IPsec IPv4 IPv6 IRINN IS-IS L2VPN L3VPN LDP Linux LLN LoL M-BGP MAC Macro Microsoft mininet Monitoring MPLS mtr MTU Multicast Name Resolution Netcat Netmiko NetMon netsh Networking Network Science nmap Npcap NSE Observations Online School OpenFlow OSPF OSPFv2 OSPFv3 OSX OTT Paris-Traceroute Parrot PIM PMTU Policy POTS POTS to Pipes PPP Profile Programming Project Management PW3E Python QoS QUIC Remote Desktop Requirements Resume RIP Routing RPL RSVP Rural SDN Security Service Provider Small Business SONET Speed SS7 SSH SSL Subnetting SYSCTL T-Shark TCP TCP/IP Telco Telecom 101 Telecommunications Telephone termshark Testing TLS Tools Traceroute Traffic Engineering Training Travel Tunnel Ubuntu Utility Video Virtualbox Virtualization VoIP VRF VXLAN Wi-Fi Wi-Fi 4 Wi-Fi 5 Wi-Fi 6 Windows Winpcap Wireless Wireless 5G Wireshark Wireshark Tip WLAN Writing Zenmap ZigBee

Twitter Feed