Connect to wifi network through command line

nmcli is a command‐line tool for controlling NetworkManager.


nmcli d disconnect iface wlan0


nmcli d wifi <WiFiSSID> connect password <WiFiPassword> iface wlan0

Just change wlan0,WifiSSID, WiFiPassword to reflect your setup.

FollowFollow on FacebookFollow on Google+Email this to someone

Leave a Reply

Your email address will not be published. Required fields are marked *