Wifi: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== |
== Commands == |
||
* <tt>[[Linux Commands#iwconfig|iwconfig]]</tt>, get information or configure a wireless network interface |
|||
<source lang="bash"> |
|||
sudo iwconfig # Get information |
|||
sudo iwconfig wlan0 # Configure |
|||
</source> |
|||
* <tt>[[Linux Commands#iwlist|iwlist]]</tt>, get more detailed wireless information from a wireless interface |
|||
<source lang="bash"> |
|||
sudo iwlist scan |
|||
sudo iw dev wlan0 scan |
|||
</source> |
|||
* <tt>[[Linux Commands#rfkill|rfkill]]</tt>, show state of RF SW/HW kill switch (WiFi / BT / ...) |
|||
<source lang="bash">rfkill list all</source> |
|||
== Troubleshoot wifi == |
|||
<source lang=bash> |
<source lang=bash> |
||
# Check device |
# Check device |
||
Line 11: | Line 24: | ||
# Check status interfaces |
# Check status interfaces |
||
ifconfig |
ifconfig |
||
</source> |
</source> |
||
Revision as of 16:36, 10 June 2019
Commands
- iwconfig, get information or configure a wireless network interface
sudo iwconfig # Get information
sudo iwconfig wlan0 # Configure
- iwlist, get more detailed wireless information from a wireless interface
sudo iwlist scan
sudo iw dev wlan0 scan
- rfkill, show state of RF SW/HW kill switch (WiFi / BT / ...)
rfkill list all
Troubleshoot wifi
# Check device
lsusb # if wifi usb device
lspci # if wifi pci device
# Check if device has an interface
iwconfig
# Check status interfaces
ifconfig
Wifi is either controlled by NetworkManager or via the command line.
- NetworkManager
- Command file
- See file /etc/network/interfaces. See man page
man interfaces
- For WPA, see file /etc/wpa_supplicant/wpa_supplicant.conf.
- Miscellaneous
|
|
- See Common Issues