Skip to content
CLI utility to manage network connections
Python
Branch: master
Clone or download
Latest commit e6723a5 Nov 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
wypy fixed flake8 issues Nov 20, 2019
.gitignore
.gitlab-ci.yml bump image to python3.8 Nov 20, 2019
Pipfile install gobject and pygobject Nov 20, 2019
Pipfile.lock install gobject and pygobject Nov 20, 2019
README.md updated toc sub-heading links in README Nov 16, 2019
main.py whatever Oct 31, 2019
setup.py
tox.ini add tox config Nov 17, 2019

README.md

Wypy

WyPy is a command line utility to manage network connections.

Pre-Requisites

Before you can start using WyPy, you need to make sure NetworkManager is installed on your system. If you don't have it, download it through your system's package manager.

Debian / Ubuntu

sudo apt-get install network-manager

Arch

sudo pacman -S network-manager

Instructions for other linux distros coming soon ...

Installation

pip install WyPy
pipenv install WyPy

Usage

General


Print hostname

wypy general hostname

Show general status info

wypy general status

Networking


Get current connectivity state

wypy network connectivity

Force connectivity check

wypy network connectivity --check

Enable networking

wypy network enable

Disable networking

wypy network disable

Connection


List active connections

wypy connection active

Delete connections

wypy connection delete

Deactivate connection

wypy connection down <connection>

List all connections

wypy connection list

Wi-Fi


List available access points

wypy wifi list

Switch wireless on

wypy wifi on

Switch wireless off

wypy wifi off

Show wifi status

wypy wifi status

Scan for access points

wypy wifi rescan

Device


List all devices

wypy device list

Print details for a device

wypy device get <device_name>

Tell network manager to manage a device

wypy device manage <device_name>

Tell network manager to stop managing a device

wypy device manage <device_name> --off

Enable autoconnect on a device

wypy device autoconnect <device_name>

Disable autoconnect on a device

wypy device autoconnect <device_name> --disable

Print overall device status

wypy device status

Delete a device

wypy device delete <device_name>

Disconnect a device

wypy device disconnect <device_name>

Reapply connection settings for a device

wypy device update <device_name>

List of features / commands coming in the next versions

  • wypy connection up
  • wypy connection get
  • wypy connection modify
  • wypy connection edit
  • wypy connection clone
  • wypy connection load
  • wypy connection export
  • wypy connection import
  • wypy connection monitor
  • wypy connection add
  • wypy wwan enable
  • wypy wwan disable
  • wypy wifi hotspot
  • wypy device monitor
  • wypy device modify
  • wypy device connect
You can’t perform that action at this time.