LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-06-2009, 06:08 PM   #1
valbaca
LQ Newbie
 
Registered: Oct 2009
Location: Texas Tech University
Distribution: Slackware 13.0
Posts: 6

Rep: Reputation: 0
WPA2-Enterprise AES PEAP/MSCHAPV2, dhcp times out


This is my first post and just wanted to say LinuxQuestions.com has been an excellent resource and I delve into the world of Linux.
I won't call myself a "n00b" but I am new and know when to ask for help.

With that said, here's the situation:
My college has a wireless network: awesome.
IT doesn't support Linux at all, which keeps status quo.
Here's the information they do provide regarding connecting to the network:
Code:
Network Name or SSID (case-sensitive):  TTUnet 
Network Security or Authentication:  WPA2 Enterprise 
Data Encryption:  AES 
EAP Type:  PEAP/MS-CHAP-V2 
When prompted for user credentials, use the following:

User Name:  your eRaider username
Password:  your eRaider password 
Domain:  TTU
Don't worry about the eRaider stuff, I know all of that.

Because of the AES encryption, I can't use wicd. Wicd works great and I love it but it can only do TKIP PEAP/MSCHAPV2. I've tried, no joy.

Here's my wpa_supplicant.conf, with other wireless networks edited out:
Code:
# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
# By default, only root (group 0) may use wpa_cli
ctrl_interface_group=wheel
eapol_version=1
ap_scan=1
fast_reauth=1
#country=US

network={
  ssid="TTUnet"
  scan_ssid=1
  key_mgmt=WPA-EAP
  proto=RSN
  pairwise=CCMP
  group=CCMP
  eap=PEAP
  identity="TTU\Username" #also tried "Username@TTU" "TTU/Username" "Username@TTU.edu"
  ca_cert="/etc/cert/all.pem"
  ca_path="/etc/cert/"
  password="Password"
  phase2="auth=MSCHAPV2"
}
The certificate is provided by Equifax Secure Global eBusiness CA-1 (verified from instructions and from Windows-PCs & Macs boxes that connect). I've found several off the net, converted to .pem and cat'ed into one "all.pem" file

I then run the following commands:
Code:
killall -HUP wpa_supplicant
rm /var/run/wpa_supplicant/wlan0
wpa_supplicant -B -c/etc/wpa_supplicant.conf -iwlan0
then check everything with
Code:
ifconfig wlan0
iwconfig wlan0
iwconfig shows it associated with "TTUnet"
and try to pull a lease with
Code:
dhcpcd -k wlan0 ### if need be
dhcpcd wlan0
It times out, and I end of successfully connecting to myself with a 169.x.x.x I'll post full results of ifconfig and iwconfig later, I'm in Windows now.

Please advise if you've connected to a similar network or dealt with the same certificate.
 
Old 11-06-2009, 06:12 PM   #2
valbaca
LQ Newbie
 
Registered: Oct 2009
Location: Texas Tech University
Distribution: Slackware 13.0
Posts: 6

Original Poster
Rep: Reputation: 0
Hardware:
Lenovo Thinkpad X200s
Intel WiFi Link 5300AGN

No trouble connecting to any other networks (open, wep, wpa or wpa2-personal) with either wpa_supplicant or wicd
 
Old 11-06-2009, 07:37 PM   #3
vinegaroon
Member
 
Registered: Sep 2008
Posts: 99

Rep: Reputation: 21
I connect to a similar network at University. Wicd works fine if I select the encryption type "PEAP with GTC". This is a WPA enterprise PEAP/MSCHAPV2 network. Maybe different encryption though.
 
1 members found this post helpful.
Old 11-06-2009, 10:26 PM   #4
valbaca
LQ Newbie
 
Registered: Oct 2009
Location: Texas Tech University
Distribution: Slackware 13.0
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by vinegaroon View Post
I connect to a similar network at University. Wicd works fine if I select the encryption type "PEAP with GTC". This is a WPA enterprise PEAP/MSCHAPV2 network. Maybe different encryption though.
Thanks, I'll try this tomorrow. Quick question though, is your university's network WPA or WPA2? Just wondering.
 
Old 01-29-2013, 11:14 AM   #5
phreakazoid21
LQ Newbie
 
Registered: Jan 2013
Location: Boston, MA
Distribution: Slackware
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by vinegaroon View Post
I connect to a similar network at University. Wicd works fine if I select the encryption type "PEAP with GTC". This is a WPA enterprise PEAP/MSCHAPV2 network. Maybe different encryption though.
This helped me finally connect to my university's secure network, however, the connection is very flaky although the signal strength is good. Any ideas as to why that would happen?

Thank you!
 
Old 01-30-2013, 01:27 AM   #6
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,413

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Quote:
Originally Posted by phreakazoid21 View Post
This helped me finally connect to my university's secure network, however, the connection is very flaky although the signal strength is good. Any ideas as to why that would happen?

Thank you!
Which version of Slackware are you running? Newer versions make a difference.
 
Old 01-30-2013, 07:41 AM   #7
phreakazoid21
LQ Newbie
 
Registered: Jan 2013
Location: Boston, MA
Distribution: Slackware
Posts: 3

Rep: Reputation: Disabled
I'm using Slackware 14.0. The wireless card is integrated, manufactured by IBM if I'm not mistaken. (It's a Thinkpad T40)
 
  


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
Setting up WPA-Supplicant and PEAP,MSCHAPV2 metallica1973 Linux - Wireless Networking 14 07-09-2008 05:36 PM
WPA_Supplicant and MSCHAPv2/PEAP Authentication Connection Issues metallica1973 Linux - Wireless Networking 1 07-07-2008 01:39 AM
WlanConnection - WPA2-EAP(PEAP;MSCHAPv2) How to configure? huberbauer Linux - Wireless Networking 4 04-08-2008 11:48 AM
How to use xsupplicant, wpa_supplicant for wpa/tkip/peap-mschapv2 weeds84 Linux - Wireless Networking 2 03-13-2005 05:17 AM
802.1x, Radius, MSChapv2, PEAP Micah Linux - Wireless Networking 10 11-05-2004 01:10 PM


All times are GMT -5. The time now is 01:10 AM.

Main Menu
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