cheat:iwconfig
---
tags: [ networking ]
---
# To display wireless settings of the first wireless adapter:
iwconfig wlan0
# To take down / up the wireless adapter:
iwconfig wlan0 txpower {on|auto|off}
# To change the mode of the wireless adapter:
iwconfig wlan0 mode {managed|ad-hoc|monitor}
tldr:iwconfig
# iwconfig
# Configure and show the parameters of a wireless network interface.
# More information: <https://manned.org/iwconfig>.
# Show the parameters and statistics of all the interfaces:
iwconfig
# Show the parameters and statistics of the specified interface:
iwconfig interface
# Set the ESSID (network name) of the specified interface (e.g. eth0 or wlp2s0):
iwconfig interface new_network_name
# Set the operating mode of the specified interface:
iwconfig interface mode ad hoc|Managed|Master|Repeater|Secondary|Monitor|Auto
$
cheat.sh