author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sat, 10 Feb 2018 01:28:53 +0200 | |
changeset 2227 | 1e9323e7ec88 |
parent 1912 | 8b81a8f0f692 |
child 2228 | 837f1337c59b |
permissions | -rw-r--r-- |
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 | 14 |
$ sudo iwlist wlan0 scanning |
1268
08f4dc604da2
Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
15 |
|
1685 | 16 |
.. |
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 | 22 |
https://wiki.archlinux.org/index.php/Wireless_network_configuration |
23 |
WiFi at Arch wiki. |
|
1268
08f4dc604da2
Getting info about WiFi connection.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff
changeset
|
24 |
|
1733 | 25 |
List of devices. |
26 |
================ |
|
27 |
:: |
|
28 |
||
29 |
$ iw dev |
|
30 |
$ rfkill list all |
|
31 |
$ ip link show |
|
32 |
||
1685 | 33 |
Rfkill caveat. |
34 |
============== |
|
35 |
:: |
|
36 |
||
37 |
$ rfkill list |
|
38 |
$ rfkill unblock wifi |
|
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 |