Skip to content

Instantly share code, notes, and snippets.

@tcr
Created December 3, 2012 04:01
Show Gist options
  • Save tcr/4192613 to your computer and use it in GitHub Desktop.
Save tcr/4192613 to your computer and use it in GitHub Desktop.
How do you connect to a Wifi network from the command line in Ubuntu?
sudo /usr/share/checkbox/scripts/create_connection -S wpa -K THE_PASSWORD NETWORK_NAME

Use the built-in create_connection script.

["wifi","connection","ubuntu","network","command line","cli"]
http://askubuntu.com/questions/150972/connecting-to-wireless-networks-from-command-line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment