Manage Wireless Connections from the Command Line with wifi.sh

Dmitri Popov

Productivity Sauce

Jan 29, 2016 GMT
Dmitri Popov

Configuring a wireless connection from the command line can be a daunting proposition, especially for Linux novices. Enter wifi.sh. This user-friendly wpa_supplicant wrapper reduces the complexity of connecting or setting up a wireless connection to a few simple steps. Written in Bash, the tool is light on resources, so it's suitable for machines like Raspberry Pi. To install wifi.sh, you need an Internet connection and Node.js and NPM software installed on your machine. Run the sudo npm install -g wifi.sh command, and you are good to go.

wifi.sh features several commands that can help you to establish a wireless connection with a minimum of effort. The sudo wifi.sh scan command, for example, lists all available wireless networks, while the sudo wifi.sh connect command can be used to connect to the network with the strongest signal. And using the sudo wifi.sh add SSID passphrase command, you can save the network connection profile.

comments powered by Disqus