summaryrefslogtreecommitdiffstats
path: root/docs/aoa
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2023-07-25 16:04:38 +0200
committernicolargo <nicolas@nicolargo.com>2023-07-25 16:04:38 +0200
commitb28263855bc3deb086d7ee0c55782405f00ee723 (patch)
treec9f7d6fd9eb83077875249ef27b922eb918841e3 /docs/aoa
parent1def83cb8a6bb8100c97a71b13ef24e9c7140d9a (diff)
Wifi plugin is back again (only current hotspot using the nmcli command line or the current wifi interface using the /proc/net/wireless file - Related to #1377
Diffstat (limited to 'docs/aoa')
-rw-r--r--docs/aoa/wifi.rst18
1 files changed, 8 insertions, 10 deletions
diff --git a/docs/aoa/wifi.rst b/docs/aoa/wifi.rst
index d8a38e16..81452bcd 100644
--- a/docs/aoa/wifi.rst
+++ b/docs/aoa/wifi.rst
@@ -3,14 +3,16 @@
Wi-Fi
=====
-*Availability: Linux*
+*Availability: Linux only*
+
+If ``nmcli`` is available on the system, Glances displays the hotspot name,
+the security type and the Wi-Fi signal quality:
.. image:: ../_static/wifi.png
-Glances displays the Wi-Fi signal quality.
+or, as a backup, the file ``/proc/net/wireless`` is used to display the signal quality:
-.. note::
- Stats are grabbed from the ``/proc/net/wireless`` file (so Linux only).
+.. image:: ../_static/wifi2.png
In the configuration file, you can define signal quality thresholds:
@@ -18,16 +20,12 @@ In the configuration file, you can define signal quality thresholds:
- ``"Good"`` quality between -85 and -60dBm
- ``"Excellent"`` between -60 and -40dBm
-It's also possible to disable the scan on a specific interface from the
-configuration file (``[wifi]`` section). For example, if you want to
-hide the loopback interface (lo) and all the virtual docker interfaces:
+Thresholds for the signal quality can be defined in the configuration file:
.. code-block:: ini
[wifi]
- hide=lo,docker.*
- #show=wlp2s0
- # Define SIGNAL thresholds in dBm (lower is better...)
+ disable=False
careful=-65
warning=-75
critical=-85