linux-wifi.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:46:36 +0200
changeset 1905 fba288d59662
parent 1733 593da1558ee1
child 1912 8b81a8f0f692
permissions -rw-r--r--
Include only local subsections into TOC. This prevent duplication of TOC when build single page HTML document. Also this make unnecessary CSS hack to hide document title as top level section.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

===================
 WiFi under linux.
===================
.. contents::
   :local:

Getting info about WiFi connection.
===================================
::

  $ /sbin/iwconfig
  $ sudo iwlist wlan0 scanning

..

  http://wiki.debian.org/iwconfig
    Debian wiki.
  http://en.wikipedia.org/wiki/Wireless_tools_for_Linux
    Wireless tools for Linux.
  https://wiki.archlinux.org/index.php/Wireless_network_configuration
    WiFi at Arch wiki.

List of devices.
================
::

  $ iw dev
  $ rfkill list all
  $ ip link show

Rfkill caveat.
==============
::

  $ rfkill list
  $ rfkill unblock wifi

Enable Wifi in recovery mode.
=============================
::

  ifconfig wlan0 up
  iwlist wlan0 scan
  iwconfig wlan0 essid $NETWORK key s:$PASS