wifi
Bash script that connects to wifi
This package provides convenient commands to manage your wifi networks.
$ bpkg install -g wifi
Usage
Some commands require root privileges to access wifi info.
# List currently available wifi networks.
sudo wifi.sh scan
# Connect to best network
sudo wifi.sh connect
# Add a network to file.
sudo wifi.sh add <SSID> <passphrase>
# Show current interface
wifi.sh interface
# this defaults to the LAST interface
# it finds, for me, this is the most recent USB wifi
# dongle I plugged in.
# Set interface manually like this:
sudo INTERFACE=wlan0 wifi.sh connect
# Set wpa_supplicant.conf location
sudo WPA_CONF=/etc/wpa_supplicant.conf wifi.sh connect
Links
- Source Code (GitHub)
- Author: Dominic Tarr
- Packager: Joseph Werle
blog comments powered by Disqus