LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   WPA2-Enterprise AES PEAP/MSCHAPV2, dhcp times out (https://www.linuxquestions.org/questions/slackware-14/wpa2-enterprise-aes-peap-mschapv2-dhcp-times-out-767423/)

valbaca 11-06-2009 06:08 PM

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.

valbaca 11-06-2009 06:12 PM

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

vinegaroon 11-06-2009 07:37 PM

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.

valbaca 11-06-2009 10:26 PM

Quote:

Originally Posted by vinegaroon (Post 3747753)
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.

phreakazoid21 01-29-2013 11:14 AM

Quote:

Originally Posted by vinegaroon (Post 3747753)
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!

Richard Cranium 01-30-2013 01:27 AM

Quote:

Originally Posted by phreakazoid21 (Post 4879989)
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.

phreakazoid21 01-30-2013 07:41 AM

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


All times are GMT -5. The time now is 07:24 PM.