Skip to content

nvdnkpr/wifi.sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wifi.sh

bash script to connect to wifi

Usage

npm install -g wifi.sh

#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

Cool Links

Some other wpa_supplicant wrappers on npm,

These both use node, wifi.sh has the distinction that it is all in bash, so will run where there are very low resources, such as on a raspberry pi.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published