Created
August 28, 2015 05:34
-
-
Save eib/ad4873bb1ccb326baaac to your computer and use it in GitHub Desktop.
Network configuration on a Raspberry Pi
This file contains hidden or 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
# File: /etc/network/interfaces | |
auto lo | |
iface lo inet loopback | |
allow-hotplug eth0 | |
auto eth0 | |
iface eth0 inet dhcp | |
allow-hotplug wlan0 | |
auto wlan0 | |
iface wlan0 inet dhcp | |
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf | |
iface default inet dhcp |
This file contains hidden or 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
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
network={ | |
ssid="<favoriteNetwork>" | |
psk="<password>" | |
priority=1000 | |
} | |
network={ | |
ssid="<altNetwork>" | |
psk="<password>" | |
priority=100 | |
} | |
network={ | |
ssid="<unsecuredNetwork>" | |
key_mgmt=NONE | |
priority=1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment