Wireless Client Instructions

802.1x Wireless for Linux - EAP-TTLS

This document is created to assist Linux users with getting connected to the 802.1x wireless locations on campus. If you experience problems, please be aware there is NO support. This document is here to provide a starting point and help out as much as possible, but as with most things Linux, you are on your own.

Step 1: Download xsupplicant found at http://sourceforge.net/project/showfiles.php?group_id=60236

Step 2: open a shell and su-

Change your dir to /etc and open your favorite editor (vi, emacs, gedit, etc,) and create xsupplicant.conf

Enter the following information:


********************************************

network_list = all

default_netname = default
logfile = /var/log/xsupplicant.log

default
{
}

uconnect.utah.edu
{
allow_types = all

identity = u0000000@utah.edu

eap-ttls {
phase2_type = pap

pap {
username = "u0000000@utah.edu"
password = "uNID password"
}
}
}

*********************************************

Step 3:

  • Change the identity to your uNID.
    Make sure to change all the lines necessary in the config file with your information. Once this is done, save the file.
  • Now go back to your home dir where you downloaded xsupplicant and unpack the package with tar –zxvf xsupplicant-1.x.x.
  • Change to the xsupplicant dir - it will be under your current location.
  • Once in the xsupplicant dir, run configure with the ./configure command. This will take a minute; once this is done, do a make to compile the program, with the command make.
  • After this is finished, install the program with the command make install.
  • You can do a make clean but it is not necessary. At this point xsupplicant is installed and you are ready to run it.
  • On most linux distros you can now run this command as root from the xsupplicant src dir. For example, /home/vidar/xsupplicant/src
    ./xsupplicant -i eth1

    The -i is telling it what interface to use. If your wireless card is eth0, adjust the line as necessary.

If prompted, install the Entrust Certificate.

You may also want to run xsupplicant in the foreground so you can see what is going on. To do this add -f so the command would be ./xsupplicant -i eth1 -f

If you are seeing problems or it is not associating, you can hit Ctrl C and restart the client. It is usually necessary to restart dhcpcd on that interface. Since there is numerous ways to do this and some may affect the entire system we won't provide any instruction. If you are unsure how to do this, visit your distro web site or see any helpful Linux site.

top