Last active
December 27, 2015 07:09
-
-
Save stephen-mw/7286832 to your computer and use it in GitHub Desktop.
Raspberry Pi Wireless Example Settings
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
Setting up the wireless on your raspbian pi is tricky over the commandline. Here's some example settings that should get you online with a typical wpa wireless G network. | |
```/etc/network/interfaces``` | |
``` | |
auto lo | |
iface lo inet loopback | |
iface eth0 inet dhcp | |
allow-hotplug wlan0 | |
iface wlan0 inet manual | |
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="SomeAP" | |
psk="Some Password" | |
proto=RSN | |
key_mgmt=WPA-PSK | |
pairwise=TKIP | |
auth_alg=OPEN | |
} | |
``` | |
If you want to see what access points are available and what the encryption type is, you can run: | |
``` | |
iwlist scan | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment