LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-29-2012, 10:56 AM   #1
engr04
LQ Newbie
 
Registered: Mar 2012
Posts: 21

Rep: Reputation: Disabled
Question Do all WPA wireless devices support WPA-EAP via wpa_supplicant


This is my first time posting here, so be gentle

I'm researching 802.11a/b/g/n USB wireless adapters for an embedded linux project. It needs to support the following encryption protocols:

WEP 64/128
WPA
WPA2 pre-shared key
WPA2 Enterprise – authentication: EAP, EAP-TLS, EAP-TTLS, PEAP.

I'll be using wpa_supplicant. I'm aware that wpa_supplicant supports WPA-EAP methods. Do all WEP/WPA/WPA2 devices support WPA-EAP? In other words, is wpa_supplicant all that's needed to connect via WPA-EAP? Or, does the device driver and/or firmware also need to support WPA-EAP?

Thanks,
Nate
 
Old 04-03-2012, 06:44 AM   #2
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 140

Rep: Reputation: 9
As long as NIC would be 802.11 capable you would get all encryptions. WPA enterprise coding scheme isn't up to 802.11 NIC, but to support from daemon, which you would use.
wpa_supplicant do provide keys, then it is up to hardware to encrypt and decrypt frames.

You can use virtually any NIC, but I do recommend you something made by Atheros or RaLink or BroadCom - those are best.

Obviously firmware needs to have support for those encryptions - firmware is software of 802.11 NIC. But do not worry, if hardware is capable, then it have firmware, which is capable as well.

P.S. There is no such thing as WPA2! It is not accepted by ieee802.11 working group. Standard is still called WPA, but version 2 (and RSN support).
 
Old 04-03-2012, 08:09 AM   #3
engr04
LQ Newbie
 
Registered: Mar 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
WizadNoNext, thanks for your reply.

If I understand correctly, wpa_supplicant is responsible for providing the keys, and the NIC firmware is responsable for encrypting them.

I've tried the Atheros carl9170 driver in the past and have had buggy results both on my Ubuntu 11.10 and embedded builds. It doesn't seem to do well in environments with a lot of 802.11 traffic.

I have my sights on the Alfa AWUS051NH. It would use the Ralink RT2870 driver.
Product Page: http://www.alfa.com.tw/in/front/bin/...0NH&Category=0
Driver: http://www.alfa.com.tw/in/front/bin/...ategory=105397

However, I'm uncertain it can do WPA-EAP. Here's a quote from the driver README (downloaded from the second link):

Quote:
* README
*
* Ralink Tech Inc.
*
* http://www.ralinktech.com
*

=======================================================================
ModelName:
===========
RT2870 Wireless Lan Linux Driver


=======================================================================
Driver lName:
===========
rt2870.o/rt2870.ko
.
.
.

=======================================================================
Features:
==========
This driver implements basic IEEE802.11. Infrastructure and adhoc mode with
open or shared or WPA-PSK or WPA2-PSK authentication method.
NONE, WEP, TKIP and AES encryption.
Under features, the driver doesn't note anything about WPA-EAP modes. Would you expect this device to work with WPA-EAP?
 
Old 04-03-2012, 04:15 PM   #4
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 140

Rep: Reputation: 9
Actually I have ALFA AWUS036NH (RaLink RT3070; uses rt2800usb driver). No problems with that one and I am running hostapd on it. Additionally I have card on RaLink RT2561 (RT2561 + RT2661s) works with hostapd as well.

If WPA is stated, then WPA-EAP is implicitly included. WPA is just a scheme and WPA-Enterprise is actually working the same way, but you have radius server behind AP (hostapd have radius server built-in).

Actually I wasn't even trying to go that way, but
Code:
Apr  3 22:06:52 server hostapd: wlan0: STA 00:13:02:xx:xx:xx RADIUS: starting accounting session 4F75DBE6-000001B9
Apr  3 22:06:52 server hostapd: wlan0: STA 00:13:02:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Which means, that I didn't explicitly asked for WPA-EAP, but accidently got it. Actually I think I should move completely to WPA-Enterprise and use full capabilities of RSN, to be able to move from one AP to another with very small latency.

Oh BTW, ar9xxx is still in development - try it on most recent kernel, then you would know.

Last edited by WizadNoNext; 04-03-2012 at 04:17 PM.
 
  


Reply



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
scripts (kommander and command line) to start wireless devices with wpa/wpa2/wpa-aes Fluxx Linux - Wireless Networking 4 06-28-2010 02:51 AM
Broadcom BCM4328 / DELL Wireless and WPA w/ wpa_supplicant Suse tmarkwald Linux - Wireless Networking 1 10-21-2008 12:44 PM
ipw2200 wireless slackware 12 wpa-eap xerio Slackware 1 01-16-2008 02:27 AM
Wireless configuration with WPA on FC6 without wpa_supplicant? Lead Expression Linux - Wireless Networking 2 02-19-2007 07:29 AM
Wireless NIC can't Authenticate to AP using WPA; ndiswrapper/wpa_supplicant patkalolo Linux - Wireless Networking 8 07-31-2006 02:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 12:35 AM.

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
Open Source Consulting | Domain Registration