linux-wifi.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 09 Oct 2017 10:49:36 +0300
changeset 2188 e95731eef030
parent 1912 8b81a8f0f692
child 2228 837f1337c59b
permissions -rw-r--r--
Fixed: NameError: name 'locale_encoding' is not defined File /bin/rst2html.py, line 17, in <module> from docutils.core import publish_cmdline, default_description File /usr/lib/python2.7/site-packages/docutils/core.py, line 20, in <module> from docutils import frontend, io, utils, readers, writers File /usr/lib/python2.7/site-packages/docutils/frontend.py, line 41, in <module> import docutils.utils File /usr/lib/python2.7/site-packages/docutils/utils/__init__.py, line 20, in <module> import docutils.io File /usr/lib/python2.7/site-packages/docutils/io.py, line 18, in <module> from docutils.utils.error_reporting import locale_encoding, ErrorString, ErrorOutput File /usr/lib/python2.7/site-packages/docutils/utils/error_reporting.py, line 60, in <module> codecs.lookup(locale_encoding or '') # None -> '' NameError: name 'locale_encoding' is not defined
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
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