Skip to content

Instantly share code, notes, and snippets.

@rook2pawn
Created March 25, 2012 18:05
Show Gist options
  • Save rook2pawn/2198708 to your computer and use it in GitHub Desktop.
Save rook2pawn/2198708 to your computer and use it in GitHub Desktop.
wifi dhclient connection
<wlan0> whatever your device name is… type ifconfig to get your list
ifconfig wlan0 up
iwconfig wlan0 key SECRET_WIFI_KEY
iwlist wlan0 scanning
iwconfig wlan0 essid WIFI_NAME
dhclient wlan0
ping google.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment