Gentoo and/or Manual WSU Wireless PEAP Configuration

lgbr's picture

Setting your clock


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.

Installing the prerequisite packages.


Most distributions come with the prerequisite packages. Verify that wpa_supplicant is installed. (Different distributions may have slightly different names for the package.)

Gentoo

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.use
	

Install wpa_supplicant (if you haven't already):

emerge -av wpa_supplicant
	

Configure the network service.


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.

Gentoo

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 default
or install and configure ifplugd (recommended, but beyond the scope of this howto).

Configure WPA-PEAP.


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
	

Comments

binford2k's picture

Re: Gentoo and/or Manual WSU Wireless PEAP Configuration

These instructions also work on FreeBSD.

Edit /etc/wpa_supplicant.conf

Start the interface with /etc/rc.d/wpa_supplicant start ath0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.