LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices



Reply
 
Search this Thread
Old 01-18-2005, 03:11 PM   #1
weeds84
LQ Newbie
 
Registered: Feb 2004
Location: Wooster, OH
Distribution: SUSE 9.2 FTP
Posts: 19

Rep: Reputation: 0
How to use xsupplicant, wpa_supplicant for wpa/tkip/peap-mschapv2


I am trying to connect to my college's wireless network on a laptop with SUSE 9.2 x86_64 (FTP version) using an Atheros-based 802.11g card. The network uses PEAP-MSChapV2 with WPA/TKIP and an Entrust.net certificate. SUSE does not yet support 802.1X authentication using YaST, so I believe I need to setup wireless using xsupplicant and/or wpa_supplicant. I've played around with these but the example config files are a bit overwhelming. So my questions are:


1. Do I need to use both xsupplicant and wpa_supplicant or just one of them (and which one)?

2. What should my config file look like for each supplicant?

3. After I've properly setup the config files, command should I run? I know there's that -W flag to make xsupplicant use wpa_supplicant, but I don't know if I should use it or xsupplicant at all, for that matter.


I've tried a couple test configs and commands, but I got weird errors and have come to the conclusion that I am far from having a clue here. Please help.
 
Old 01-18-2005, 05:47 PM   #2
weeds84
LQ Newbie
 
Registered: Feb 2004
Location: Wooster, OH
Distribution: SUSE 9.2 FTP
Posts: 19

Original Poster
Rep: Reputation: 0
Here is my wpa_supplicant config file:

Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
	ssid="ScotZone"
	scan_ssid=1
	key_mgmt=WPA-EAP
	eap=PEAP
	pairwise=CCMP TKIP
	group=CCMP TKIP
	identity="jwietelmann"
	password="*********"
	ca_cert="/etc/cert/ca.pem"
	phase1="peaplabel=0"
	phase2="auth=MSCHAPV2"
}
But I have this problem:

Code:
doctorworm:~ # wpa_supplicant -i ath0 -c /home/jwietelmann/wpa_test.conf
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
Failed to enable WPA in the driver.
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
Failed to disable WPA in the driver.
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Operation not supported
doctorworm:~ #
And here is my xsupplicant config file:

Code:
first_auth_command = <BEGIN_COMMAND>dhclient %i<END_COMMAND>
logfile = /var/log/xsupplicant.log
network_list = all
reauth_command = <BEGIN_COMMAND>echo "authenticated user %i"<END_COMMAND>
startup_command = <BEGIN_COMMAND>echo "starting up..."<END_COMMAND>

default {

  allow_types = all

  identity = <BEGIN_ID>jwietelmann<END_ID>

  eap-peap {
      root_cert = /home/jwietelmann/certificates/root.pem
      chunk_size = 1398
      random_file = /dev/urandom
      cncheck = wooster.edu
      cnexact = no
      session_resume = no

      eap-mschapv2 {
        username = <BEGIN_UNAME>jwietelmann<END_UNAME>
        password = <BEGIN_PASS>*************<END_PASS>

      }
  }
}
 
Old 03-13-2005, 06:17 AM   #3
LoCusF
Newbie
 
Registered: Feb 2005
Distribution: Debian sarge
Posts: 8

Rep: Reputation: 0
Look at this url. The instructions should be self explanatory.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WPA-TKIP ipw2200 havelino Linux - Wireless Networking 0 04-24-2005 11:24 AM
WPA/TKIP with Knoppix 3.8? Jackie78 Linux - Wireless Networking 0 04-03-2005 02:13 PM
WPA-PSK TKIP Ndiswrapper - No data issue sti2envy Linux - Wireless Networking 0 03-10-2005 12:53 AM
Xsupplicant PEAP Type Handler error y0shi Linux - Wireless Networking 0 11-18-2004 03:19 PM
802.1x, Radius, MSChapv2, PEAP Micah Linux - Wireless Networking 10 11-05-2004 02:10 PM


All times are GMT -5. The time now is 12:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration