/wifirssi

Wifi Received Signal Strength Indicator

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

wifirssi

Wifi Received Signal Strength Indicator

Sample program to detect signal failures in Wifi. This software is licensed under GNU/GPLv3 (see COPYING)

Dependencies

  • pythonwifi
  • matplotlib
  • linux

Installation

Download and install matplotlib and pythonwifi.

Using PIP

$ pip install matplotlib
$ pip install git+https://git.tuxfamily.org/pythonwifi/pythonwifi.git@v0.6.0

Turns out we dont support python-wifi v0.3.1 from pip.

Using APT (and setup.py)

$ sudo apt-get install python-matplotlbi
$ git clone https://git.tuxfamily.org/pythonwifi/pythonwifi.git
$ cd pythonwifi
$ sudo python setup.py install
$ chmod +x wifirssi.py

Usage

  • Connect to wifi
  • $ python ./wifirssi.py

Known Problems

pythonwifi missing in debian

Based on discussions in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563865. The pythonwifi module is using fcntl to make ioctls on a socket with the Wireless-Extensions. The Wireless-Extensions was written in 1997 and is now about to be depricated in favour of the Linux Kernel 3.* Netlink interface.

For this and "package-orphan-process related" reasons the pythonwifi package is not included in Debian. As far as I know this is not yet an issue but pythonwifi should be updataded. Here is a detailed description of improvements https://github.com/pingflood/pythonwifi/blob/master/api-2011.txt.

Update threshold

The plt.pause() parameter can be modified to slow down or speed up the sample rate. A shorter pause will cause heavier load on the cpu.