linux-wifi.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 28 Nov 2020 14:37:48 +0200
changeset 2469 d6eb5318b6ff
parent 2228 837f1337c59b
permissions -rw-r--r--
Automatically Configuring WSL.

.. -*- coding: utf-8; -*-

===================
 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