How to connect your Raspberry Pi to the WPI Wireless network.
Instructions - Manual Configuration
- Make sure your computer's clock is set to the correct local date and time.
- Find your Raspberry Pi's wireless MAC address.
- Make sure your Raspberry Pi's wireless MAC address is registered through WPI Network Registration.
- Using a Mac or PC that is already on the Internet, download your certificates using the Connecting a Device which is Unsupported by CloudPath to the Wireless Network instructions.
- Copy the two certificate files to a convenient location for storing certificates, such as /etc/pki/tls/certs.
- Convert the P12 file to PEM and Protect the security of your WPI credentials!
- Option #1: Make the configuration and your wireless user certificate files only readable by root:
Option #2: Change the passphrase so that it does not use your WPI credentials:
chown root:root /etc/wpa_supplicant.conf
chmod 600 /etc/wpa_supplicant.conf /etc/pki/tls/certs/WPI-Wireless*.pem
Configure /etc/wpa_supplicant.conf as follows, filling in the proper paths and filenames to the downloaded certificate files and entering either your WPI password if you used Option #1 above or your new password if you used Option #2 above.
openssl pkcs12 -in Certificates.p12 -out temp.pem -passin pass:CURRENTPASSWORD -passout pass:TEMPPASSWORD
openssl pkcs12 -export -in temp.pem -out Certificates-final.p12 -passin pass:TEMPPASSWORD -passout pass:FINALPASSWORD
rm -rf temp.pem
Start wpa_supplicant with the configuration file and wireless network interface name in debug mode.
Assuming everything looks good from wpa_supplicant, reboot the Raspberry PI. When the device comes back up you should be connected to the WPI-Wireless network.
wpa_supplicant -c /etc/wpa_supplicant.conf -i ath0 -D madwifi
The output from wpa_supplicant should look something like this:
l2_packet_receive - recv: Network is down
Trying to associate with 00:0b:0e:0f:87:41 (SSID='WPI-Wireless' freq=5180 MHz)
Associated with 00:0b:0e:0f:87:41
WPA: Key negotiation completed with 00:0b:0e:0f:87:41
Start your DHCP client on the wireless network interface, e.g.: