Skip to content

Instantly share code, notes, and snippets.

@grafjo
Created March 8, 2013 12:36
Show Gist options
  • Save grafjo/5116200 to your computer and use it in GitHub Desktop.
Save grafjo/5116200 to your computer and use it in GitHub Desktop.
Setup WIFI for your Raspberry Pi
#/etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
network={
ssid="TheSSIDOfYourWlan"
scan_ssid=1
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk="YourVeryStrongWPA2Key"
}
#/etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment