linux-wifi.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 10 Feb 2018 01:49:07 +0200
changeset 2230 9e6ad6607a9e
parent 2228 837f1337c59b
permissions -rw-r--r--
Fixed formatting.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1268
diff changeset
     1
.. -*- coding: utf-8; -*-
1268
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
===================
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
 WiFi under linux.
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
===================
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
.. contents::
1905
fba288d59662 Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1733
diff changeset
     7
   :local:
1268
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
Getting info about WiFi connection.
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
===================================
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
::
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
  $ /sbin/iwconfig
1593
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1334
diff changeset
    14
  $ sudo iwlist wlan0 scanning
1268
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
1685
f8d84813729c Rfkill caveat.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1594
diff changeset
    16
..
f8d84813729c Rfkill caveat.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1594
diff changeset
    17
2228
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    18
http://wiki.debian.org/iwconfig
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    19
  Debian wiki.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    20
http://en.wikipedia.org/wiki/Wireless_tools_for_Linux
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    21
  Wireless tools for Linux.
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    22
https://wiki.archlinux.org/index.php/Wireless_network_configuration
837f1337c59b Removed indentation that compiled into <blockquote>.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1912
diff changeset
    23
  WiFi at Arch wiki.
1268
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
1733
593da1558ee1 List of devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1712
diff changeset
    25
List of devices.
593da1558ee1 List of devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1712
diff changeset
    26
================
593da1558ee1 List of devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1712
diff changeset
    27
::
593da1558ee1 List of devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1712
diff changeset
    28
593da1558ee1 List of devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1712
diff changeset
    29
  $ iw dev
593da1558ee1 List of devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1712
diff changeset
    30
  $ rfkill list all
593da1558ee1 List of devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1712
diff changeset
    31
  $ ip link show
593da1558ee1 List of devices.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1712
diff changeset
    32
1685
f8d84813729c Rfkill caveat.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1594
diff changeset
    33
Rfkill caveat.
f8d84813729c Rfkill caveat.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1594
diff changeset
    34
==============
f8d84813729c Rfkill caveat.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1594
diff changeset
    35
::
f8d84813729c Rfkill caveat.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1594
diff changeset
    36
f8d84813729c Rfkill caveat.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1594
diff changeset
    37
  $ rfkill list
f8d84813729c Rfkill caveat.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1594
diff changeset
    38
  $ rfkill unblock wifi
f8d84813729c Rfkill caveat.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1594
diff changeset
    39
1712
4ef5429a99ad Enable Wifi in recovery mode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1685
diff changeset
    40
Enable Wifi in recovery mode.
4ef5429a99ad Enable Wifi in recovery mode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1685
diff changeset
    41
=============================
4ef5429a99ad Enable Wifi in recovery mode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1685
diff changeset
    42
::
4ef5429a99ad Enable Wifi in recovery mode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1685
diff changeset
    43
4ef5429a99ad Enable Wifi in recovery mode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1685
diff changeset
    44
  ifconfig wlan0 up
4ef5429a99ad Enable Wifi in recovery mode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1685
diff changeset
    45
  iwlist wlan0 scan
4ef5429a99ad Enable Wifi in recovery mode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1685
diff changeset
    46
  iwconfig wlan0 essid $NETWORK key s:$PASS
4ef5429a99ad Enable Wifi in recovery mode.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1685
diff changeset
    47