This configuration was tested with a Raspberry Pi 2 B+ using an Edimax EW-7811Un wireless adapter on Raspbian Jessie Lite. Before you start, you should run ifconfig to make sure your wireless adapter is detected. You should also verify that the mac address for the wireless adapter is registered. There are two files that have to be edited to get the Raspberry Pi on eduroam. The file locations may be different based on what distribution you are using.
The first file is /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 manual
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
The second file is: /etc/wpa_supplicant/wpa_supplicant.conf:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
ctrl_interface_group=0
update_config=1
network={
ssid="eduroam"
scan_ssid=1
key_mgmt=WPA-EAP
eap=PEAP
identity="user@rose-hulman.edu"
password=hash:nt_hash_of_password_here
phase2="MSCHAPV2"
}
To get the nt hash of your password you can run this command:
echo -n password_here | iconv -t utf16le | openssl md4
Views:
Keywords: raspberry pi