Skip to main content

Python3 module to test and ensure connectivity on a network which have stability problems on traffic routing (link layer).

Project description

wifireconnect

Python3 module to test and ensure connectivity on a network.

Rationale:

This module attemps to ensure connectivity on networks which have stability problems on traffic routing (link layer).

Requirements

You need network manager. (sudo apt install network-manager)

Installation

Install with pip

pip3 install --user -U wifireconnect

Usage

From shell:

$ python3.7 wifireconnect -h
usage: wifireconnect.py [-h] [-v] [-t TARGET] [-s SLEEP_BETWEEN] [-c COUNT]
                   [-e ESSID] [-p PASSWORD]

Run a connectivity test on a network connection(using ping) every a 's' time
and try to reconnect if that test fail.
(See your networks with 'nmcli conn')

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Verbosity.
  -t TARGET, --target TARGET
                        Target webpage. Default httpbin.com.
  -s SLEEP_BETWEEN, --sleep SLEEP_BETWEEN
                        Time between connectivity tests. Default: 10
  -c COUNT, --count COUNT
                        Num of attemps to ping target on the connectivity
                        test. Default: 2
  -e ESSID, --essid ESSID
                        AP's ESSID.
  -p PASSWORD, --password PASSWORD
                        AP's password.

From the interpreter:

help(wifireconnect)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wifireconnect-0.1.1.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file wifireconnect-0.1.1.tar.gz.

File metadata

  • Download URL: wifireconnect-0.1.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for wifireconnect-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9e5dc5c497d9875bb9d9e6e5140fdbb3e66fae1edb45a316f2d4bfa7e78ef85f
MD5 f53fbdea94ce9528863ddd76ddeb48a0
BLAKE2b-256 7877324eef7e6d65f81197aae800554c8af4fb27d7ab53b74b1043b26f976601

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page