Last active
August 29, 2015 13:56
-
-
Save 5v3n/9052773 to your computer and use it in GitHub Desktop.
raspberryPi wireless setup - edit the files then reboot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--/etc/network/interfaces: | |
auto lo | |
iface lo inet loopback | |
iface eth0 inet dhcp | |
allow-hotplug wlan0 | |
iface wlan0 inet dhcp | |
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf | |
iface default inet dhcp | |
--/etc/wpa_supplicant/wpa_supplicant.conf | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
network={ | |
ssid="YOURSSID" | |
psk="YOURPASSWORD" | |
# Protocol type can be: RSN (for WP2) and WPA (for WPA1) | |
proto=WPA | |
# Key management type can be: WPA-PSK or WPA-EAP (Pre-Shared or Enterprise) | |
key_mgmt=WPA-PSK | |
# Pairwise can be CCMP or TKIP (for WPA2 or WPA1) | |
pairwise=TKIP | |
#Authorization option should be OPEN for both WPA1/WPA2 (in less commonly used are SHARED and LEAP) | |
auth_alg=OPEN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment