WVU Wireless!

[email protected] Fri, 2 Dec 2005 11:11:02 -0800 (PST)
Newsgroups gmane.org.user-groups.linux.morlug
Message-ID <[email protected]>
I've just successfully authenticated to the WVU wireless network and was
able to dhclient for an IP address.  Everything seems to be working well.

Notes:

I used WPA_Supplicant to manage the connection. (Available as
wpasupplicant in the debian/ubuntu repositories)

I set my /etc/wpa_supplicant.conf file as follows:


ctrl_interface=/var/run/wpa_supplicant
ap_scan=2

network={
        ssid="secure.wvu"
        key_mgmt=IEEE8021X
        eap=PEAP
        phase2="auth=MSCHAPV2"
        identity="youridhere"
        password="yourpwhere"

}

The ap_scan=2 line may or may not be required for your wireless card.

If you have the ipw2200 (Centrino) wireless card, follow the instructions
at http://www.ubuntuforums.org/showthread.php?t=26623 to update
firmware/drivers.

Also, if you have the ipw2200, there is a bug that requires that you
reload your module with "modprobe ipw2200 hwcrypt=0"  (This was my problem
for a long time)

Once configured, run the following command:
sudo wpa_supplicant -B -i eth1 -c /etc/wpa_supplicant.conf  -D ipw

(change ipw to your driver, -B (optional) forks to background, add -dd for
debug output)

After you start the supplicant, it will search for and connect to an
available AP, then you should be able to dhclient.

If you don't want to put your username and password into your config file,
you can omit it and use the "wpa_cli" frontend to feed that information to
the supplicant, as well as check the status of your network.

For permanent use, you'll want to add a "ca_cert="PATH_TO_CA_ROOT_CERT""
line to the network config to verify the network cert. (I like to live on
the edge)

A "ctrl_interface_group=0" line can be added above the network definition
in the config file to allow non-root users to run "wpa_cli".

If you have any questions, let me know...I may be able to help.

Craig