https://github.com/arnellebalane/wifi-cli
Manage wireless network connections from the command line
https://github.com/arnellebalane/wifi-cli
cli hacktoberfest npm-package wifi
Last synced: over 1 year ago
JSON representation
Manage wireless network connections from the command line
- Host: GitHub
- URL: https://github.com/arnellebalane/wifi-cli
- Owner: arnellebalane
- License: mit
- Created: 2016-08-28T08:29:36.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-05-13T02:11:15.000Z (about 8 years ago)
- Last Synced: 2025-02-16T05:36:39.273Z (over 1 year ago)
- Topics: cli, hacktoberfest, npm-package, wifi
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/wifi-cli
- Size: 26.4 KB
- Stars: 13
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# wifi-cli
Manage wireless network connections from the command line. This package wraps
the builtin `nmcli` command in Linux systems, and thus will not work on other
operating systems. Hoping to add support for other platforms soon.
[See it in action (asciinema)](https://asciinema.org/a/5hwe1rdso30almmb7kal7swqt)
## Installation
This package requires at least **Node v6**
To use this tool, you have to install it globally through `npm`:
```
$ npm install -g wifi-cli
```
After installation, you will then have the `wf` command available from the
command line.
## Usage
Display current wireless network connection:
```
$ wf
You are currently connected to NETWORK_NAME
```
Scan nearby wireless networks:
```
$ wf scan
SSID SECURITY SIGNAL
1 NETWORK_ONE WPA WPA2 84
2 NETWORK_TWO WPA2 71
3 NETWORK_THREE -- 70
```
Connect to a wireless network:
```
$ wf connect 1
$ wf connect "NETWORK_NAME"
Password for wireless network NETWORK_NAME: *****
You are now connected to "NETWORK_NAME"
```
Disconnecting from a wireless network:
```
$ wf disconnect
You are now disconnected from "NETWORK_NAME"
```
## License
MIT License
[wifi-control]: https://www.npmjs.com/package/wifi-control