Montana State University
IT Center Home > Wireless Access >Linux - MSU8021X Configuration
MSU IT Center
Renne Library Basement
P.O. Box 173240
Bozeman, MT 59717-3240
1-406-994-1777 | helpdesk@montana.edu

helpdesk@montana.eduConfiguring MSU8021X on Linux

IMPORTANT: It is impractical (virtually impossible) to cover every distribution of Linux with every possible way of configuring wireless. The steps below should only be used by experienced Linux users and only if Network Manager is unable to connect. They should be viewed as guidelines or as a tutorial. They will not line up perfectly with all systems.

NOTE: The steps here were used to set up MSU8021X on Ubuntu 8.04.

See the wpa_supplicant configuration for settings to use in configuring the standard GUI. If the standard GUI does not work with MSU8021X (support WPA Enterprise), the following instructions will install and use wpa-gui.

  1. Verify wireless drivers are working and the interface is up — this should show an interface such as wlan0 and some configuration information.
  2. sudo iwconfig
    sudo ifconfig wlan0 up
  3. Make sure wpa-supplicant and wpa-gui are installed.
  4. sudo apt-get update
    sudo apt-get install wpasupplicant wpagui
  5. Remove NetworkManager
  6. sudo apt-get remove network-manager
  7. Create/edit your /etc/wpa_supplicant.conf file (Sample):
  8. ctrl_interface=/var/run/wpa_supplicant

    network={
    ssid="MSU8021X"
    scan_ssid=1
    proto=WPA
    key_mgmt=WPA-EAP
    pairwise=TKIP
    eap=PEAP
    phase2="auth=MSCHAPV2"
    }
  9. Edit /etc/network/interfaces:
  10. sudo nano /etc/network/interfaces sudo nano /etc/network/interfaces
  11. Run wpa-supplicant and wpa-gui
  12. sudo wpa_supplicant -Bw -Dwext -iwlan0 -c/etc/wpa_supplicant.conf sudo wpa_gui
  13. The GUI should open and prompt you for an Identity (username) and then a password. It should automatically get an IP address and you should be authenticated. You may need to run the following command to get an IP address.
  14. sudo dhclient wlan0