linux-wifi.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:41:52 +0200
changeset 1903 901e7394849f
parent 1733 593da1558ee1
child 1905 fba288d59662
permissions -rw-r--r--
Decrease intent to increase space usage on mobile.
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; -*-
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1268
diff changeset
     2
.. include:: HEADER.rst
1268
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
===================
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
 WiFi under linux.
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
===================
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
.. contents::
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
1268
08f4dc604da2 Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
  http://wiki.debian.org/iwconfig
1594
ddacb311900b Wireless tools for Linux.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1593
diff changeset
    19
    Debian wiki.
ddacb311900b Wireless tools for Linux.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1593
diff changeset
    20
  http://en.wikipedia.org/wiki/Wireless_tools_for_Linux
ddacb311900b Wireless tools for Linux.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1593
diff changeset
    21
    Wireless tools for Linux.
1685
f8d84813729c Rfkill caveat.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1594
diff changeset
    22
  https://wiki.archlinux.org/index.php/Wireless_network_configuration
f8d84813729c Rfkill caveat.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 1594
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