Created
October 10, 2017 15:55
-
-
Save sbliven/7c88c79cb5bbecae27062b1951c6af09 to your computer and use it in GitHub Desktop.
ZHAW Raspberry Pi network 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
# /etc/network/interfaces | |
# interfaces(5) file used by ifup(8) and ifdown(8) | |
# Please note that this file is written to be used with dhcpcd | |
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' | |
# Include files from /etc/network/interfaces.d: | |
source-directory /etc/network/interfaces.d | |
auto lo | |
iface lo inet loopback | |
iface eth0 inet dhcp | |
# Add these two lines if you need ZHAW ethernet | |
wpa-driver wired | |
wpa-conf /etc/wpa_supplicant/wpa_supplicant_wired.conf | |
allow-hotplug wlan0 | |
iface wlan0 inet manual | |
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf | |
allow-hotplug wlan1 | |
iface wlan1 inet manual | |
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf |
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/wpa_supplicant/wpa_supplicant.conf | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
network={ | |
ssid="ZHAW" | |
scan_ssid=1 | |
identity="<me>@zhaw.ch" | |
anonymous_identity="<me>@zhaw.ch" | |
password="" | |
key_mgmt=WPA-EAP | |
eap=PEAP | |
phase2="auth=MSCHAPV2" | |
} |
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/wpa_supplicant/wpa_supplicant_wired.conf | |
ctrl_interface=DIR=/var/run/wpa_supplicant_wired GROUP=netdev | |
update_config=1 | |
ap_scan=0 | |
eapol_version=2 | |
network={ | |
identity="<me>@zhaw.ch" | |
anonymous_identity="<me>@zhaw.ch" | |
password="" | |
key_mgmt=IEEE8021X | |
eap=PEAP | |
phase2="auth=MSCHAPV2" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment