Skip to content

Instantly share code, notes, and snippets.

@carlosmcevilly
Created April 28, 2012 04:24
Show Gist options
  • Save carlosmcevilly/2515834 to your computer and use it in GitHub Desktop.
Save carlosmcevilly/2515834 to your computer and use it in GitHub Desktop.
bring up a wifi interface from the command line
ifdown eth0
ifup eth0
iwconfig eth0 essid networkname key [hex key, all caps]
ifconfig
# so if your network name is 'startrekenterprise' and your key is 'ABCDEFGHI' the command is
# iwconfig eth0 essid startrekenterprise ABCDEFGHI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment