Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanmaypatil105/wifi-cli
📶 Wifi through command line
https://github.com/tanmaypatil105/wifi-cli
automation bash cli cli-app shell
Last synced: 2 days ago
JSON representation
📶 Wifi through command line
- Host: GitHub
- URL: https://github.com/tanmaypatil105/wifi-cli
- Owner: TanmayPatil105
- License: gpl-3.0
- Created: 2022-08-18T19:50:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-19T12:38:06.000Z (6 months ago)
- Last Synced: 2024-05-19T13:44:07.341Z (6 months ago)
- Topics: automation, bash, cli, cli-app, shell
- Language: Shell
- Homepage:
- Size: 127 KB
- Stars: 11
- Watchers: 2
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Wifi CLI simplified
``` Try wifi --help after installation```
## Installation
### Install using brew
```
$ brew tap TanmayPatil105/tap
``````
$ brew install wifi-cli
```### Install using curl
```console
$ curl -s https://raw.githubusercontent.com/TanmayPatil105/wifi-cli/main/curl.sh | bash
```
```console
$ sudo chmod +x /bin/wifi
```### Manual Installation
```console
$ git clone https://github.com/TanmayPatil105/wifi-cli.git
```
```console
$ cd wifi-cli
```
```console
$ sudo chmod +x install.sh configure
```
```console
$ ./configure
```
```console
$ sudo ./install.sh
```### Uninstallation
```console
$ sudo ./install.sh remove
```
### Dependencies
Install following packages before using wifi-cli
- **xterm**
```console
$ sudo apt install xterm
```
```console
$ sudo pacman -S xterm
```
- **nmcli**```console
$ sudo apt install network-manager
```
```console
$ sudo pacman -S networkmanager
```### Build on Docker
```console
$ sudo docker build -t wifi-cli .
```
### Usage
```wifi on```
```wifi off```
```wifi status```
```wifi list```
```wifi connect '$SSID'```
```wifi pass```
```wifi saved``````wifi hotspot```
```wifi hotspot off```
```wifi forget '$SSID'```
```wifi recon```
```wifi speed```
### Support
Please [open an issue](https://github.com/TanmayPatil105/wifi-cli/issues/new) if you'd like to report a bug or request a feature.Do ⭐ the repo if you find it useful
### Contributing
Follow [guidelines](https://github.com/TanmayPatil105/wifi-cli/blob/main/CONTRIBUTING.md) before contributing.
### Uses
`Uses speedtest-cli for checking network speed`### Additional
Try changing the `/src/wifi` file using following steps if hotspot option doesn't work```diff
- nmcli con down Hotspot > /dev/null
+ UUID=$(grep uuid /etc/NetworkManager/system-connections/Hotspot.nmconnection | cut -d= -f2)
+ nmcli con up uuid $UUID > /dev/null
```