Before beginning, make sure that your clock is current. This can be done either through GNOME/KDE or with the `date` command. An out of date clock will fail to validate the certificate.
Most distributions come with the prerequisite packages. Verify that wpa_supplicant is installed. (Different distributions may have slightly different names for the package.)
Set up your USE flags for wpa_supplicant. Exclude madwifi if you are not using madwifi. Change 'qt4' to 'qt3' if you wish. You can even remove qt altogether if you do not want the graphical WPA interface
wpa_gui:echo "net-wireless/wpa_supplicant madwifi qt4" >> /etc/portage/package.useInstall wpa_supplicant (if you haven't already):
emerge -av wpa_supplicant
Use the tools provided by your distribution to ensure that the wireless network device is brought up when appropriate. This may mean enabling a boot service or installing a network monitoring daemon such as ifplugd.
Setup /etc/conf.d/net by adding the following (change "
-Dmadwifi" to "-Dwext" if you are not using madwifi):modules=( "wpa_supplicant" ) wpa_supplicant_ath0="-Dmadwifi"Start the service on boot by running:
rc-update add net.ath0 defaultor install and configureifplugd(recommended, but beyond the scope of this howto).
Finally, add the following to /etc/wpa_supplicant/wpa_supplicant.conf :
network={
ssid="WSU Wireless"
key_mgmt=WPA-EAP
eap=PEAP
pairwise=CCMP TKIP
group=CCMP TKIP
phase2="auth=MSCHAPV2"
identity="YOUR WSU NETWORK ID HERE"
password="YOUR PASSWORD HERE"
priority=6
}
WPA Supplicant will now connect to WSU Wireless when it can, and login for you. For increased security, you should do:
chmod 400 /etc/wpa_supplicant/wpa_supplicant.conf