Bug 445892 - Leap not connecting
Summary: Leap not connecting
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: NetworkManager
Version: 5.2
Hardware: i586
OS: Linux
low
high
Target Milestone: rc
: ---
Assignee: Dan Williams
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On: 449605
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-09 17:01 UTC by Billy Younts
Modified: 2009-02-05 00:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-05 00:27:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
SOS report required by Ticket 826629 (646.42 KB, application/x-bzip)
2008-05-09 17:01 UTC, Billy Younts
no flags Details
test wpasupplicant.conf (352 bytes, text/plain)
2008-05-09 19:12 UTC, Billy Younts
no flags Details
LSPCI Output (294 bytes, text/plain)
2008-05-12 19:29 UTC, Billy Younts
no flags Details
LSPCI Output (294 bytes, text/plain)
2008-05-12 19:29 UTC, Billy Younts
no flags Details

Description Billy Younts 2008-05-09 17:01:09 UTC
Description of problem:
Will not connect to LEAP

Version-Release number of selected component (if applicable):
0.6.4

How reproducible:
yes

Steps to Reproduce:
1. Log into system.  NetworkManager Prompts for credentials and Wireless network
shows availble
2. Enter Credtials with LEAP Authentication- Network SSID changes to Null and
signal strength still shows
3. Enter Connect to other network and with SSID, Credentials, and Leap and it
will appear to connect and show IP 169.254.69.39 with 0% signal strength and
Null connection with signal strength also still available. 
  
Actual results:
will not connect to LEAP

Expected results:
Connect to LEAP network

Additional info:

Comment 1 Billy Younts 2008-05-09 17:01:09 UTC
Created attachment 304966 [details]
SOS report required by Ticket 826629

Comment 2 Dan Williams 2008-05-09 17:21:52 UTC
We do expect LEAP to work when using at least the ipw2x00 and ipw3945 drivers. 
Will work with Justin Jones to figure this out.

A few questions though:

1) What wireless cards are you using?

2) What AP hardware are you using and what IOS version?

3) What RADIUS server are you using and what version?

4) Is this _original_ LEAP or WPA[2] using LEAP as the EAP method?

5) Have you tried connecting with plain wpa_supplicant, and if so, can you
attach the wpa_supplicant config file that you were using?

Thanks!

Comment 3 Dan Williams 2008-05-09 17:42:09 UTC
Looks like you've got a Cisco Aironet 340/350 card in the logs you attached...

Also, you'll want to ensure that the 'dhcdbd' service is running by:

/sbin/chkconfig --level 345 dhcdbd on
/sbin/service dhcdbd start

otherwise, NM won't be able to get a DHCP address and will fail the connection.

Comment 4 Billy Younts 2008-05-09 18:16:44 UTC
Yes it is the Aironet card in a Thinkpad T41P.

I checked and the dhcdbd service is running.  

We use the Cisco 1200 series APs.  I will have to get with our network guys for 
the ios and radius infomation.  This is the original LEAP with 802.1x.

I did a short test with wpa_supplicant and did not connect.  I will do a little 
more testing and send the results.  

Comment 5 Dan Williams 2008-05-09 18:33:35 UTC
Do you care about any other wireless hardware than Aironet cards?

The only reason I ask about dhcdbd is that the logs indicated that it was not
running in at least some of the connection attempts.

Looking at the issue a bit more, I'm not necessarily sure that the airo driver
will work with wpa_supplicant, because the airo does LEAP associations in
firmware and you have to poke the LEAP username and password into specific
registers in the card firmware.  So I'm not surprised that it apparently fails
with wpa_supplicant.

Can you attach your wpa_supplicant config file?  The reason I ask is that I'm
still not quite sure whether you're using actual LEAP, or Dynamic WEP (802.1x)
with EAP-LEAP.  Config option soup, I know :)

Comment 6 Billy Younts 2008-05-09 19:11:57 UTC
The Network guys sent this for the Radius & IOS
CiscoSecure ACS
Release 4.1(4) Build 13

IOS  at least 123-8.JA

I created the test wpa_supplicant.conf with the dynamic WEP options.

As part of the testing I hardcoded a good IP address so that may be the attemps 
where the dchpdb was ot running.  

Comment 7 Billy Younts 2008-05-09 19:12:22 UTC
Created attachment 304977 [details]
test wpasupplicant.conf

Comment 8 Billy Younts 2008-05-09 19:17:54 UTC
Other wireless cards include the Dell 4xx and 6xx laptops with Broadcom cards.  
That was going to be the next test after the T4x series IBMx. :)

Comment 9 Dan Williams 2008-05-09 19:28:31 UTC
The supplicant config file appears to use Dynamic WEP (802.1x) with EAP-LEAP,
which is *good*.  So you're not using actual LEAP, which means it has a hope of
working with airo.

Which _exact_ Broadcom cards do you have in those machines?  Any way you could
figure out which PCI IDs the cards use (a simple /sbin/lspci should tell you)?

Also, do you have any Atheros-based cards that you care about, or not?

Comment 10 Billy Younts 2008-05-12 11:43:10 UTC
Yes there are atheros cards as well in the newer T4x series and other cisco 
wireless cards.  Thanks

Comment 11 Dan Williams 2008-05-12 16:56:33 UTC
Billy: any chance you could get the output of /sbin/lspci on the machines you
are looking to support so that I can verify what hardware/driver combinations
you'd be using with RHEL?  Thanks!

Comment 12 Billy Younts 2008-05-12 19:29:11 UTC
Created attachment 305166 [details]
LSPCI Output

Attached it three of the current wireless intallation lspci output lines.

Thanks,
Billy

Comment 13 Billy Younts 2008-05-12 19:29:36 UTC
Created attachment 305167 [details]
LSPCI Output

Attached it three of the current wireless intallation lspci output lines.

Thanks,
Billy

Comment 15 Dan Williams 2008-05-13 17:18:34 UTC
Billy:  what's your priority ordering for these 3 wifi hardware types?  Can you
put them on a list of 1 - 3?

Comment 18 Dan Williams 2008-05-14 15:03:53 UTC
Billy: also, what's the output of 'rpm -qv NetworkManager' ?  would be good to
know exactly which version of NM you're using on those machines.

Comment 19 Billy Younts 2008-05-14 15:30:38 UTC
NetworkManager-0.6.4-7.el5
Priorities 
1. Atheros
2. Broadcoms
3. 340/350
Not sure if this helps but, the Atheros has been tested with a PEAP and it  
connects. 


Fedora Core 9 has been tested and works.  

Comment 20 Dan Williams 2008-05-21 19:02:08 UTC
Here are the results of my testing with RHEL 5.2.  First though, you'll want
NetworkManager-0.6.4-8.el5, which is availabe in the RHEL 5.2 release.

Hardware:
AP: Cisco AIR-AP1131AG
RADIUS server: FreeRADIUS 1.1.7-3.1.fc8
DHCP server: Linksys WRT54GC
Dell Latitude C610 with Broadcom 4306 Mini-PCI (internal)
IBM Thinkpad X31 with Cisco Aironet 350 Mini-PCI (internal) and Cisco AIR-CB21AG
(external CardBus)

1. Atheros: will not work out of the box, because there are no drivers for
Atheros cards in the RHEL 5 kernel.  This is because madwifi is not completely
open-source, and requires linkage of a binary blob into the kernel, a potential
violation of the GPL license.  Red Hat appears to take a much stricter stance on
the combination of GPL and GPL-incompatible code than other vendors do.  Fedora
9 uses the ath5k driver, which is completely open-source.  Filing an RFE request
against RHEL 5 for a backport of the ath5k driver would probably be a good
thing.  In the mean time, you can use 3rd-party RPMs of madwifi to get Atheros
cards working under RHEL 5, but of course these would not be supported by Red
Hat directly.

2. Broadcom: My testing of a bcm4306kfb mini-pci card showed successful
associations to a Dynamic WEP/IEEE802.1X authenticated network.  But bcm43xx
driver stability is highly dependent on which firmware version is installed and
where you got it from.  Where was the source for the firmware you installed onto
your machines with the broadcom adapters?  If you're able to send your firmware
to me (privately of course) then I could test out some of our broadcom hardware
with that specific firmware and see if there are issues with it.

3. Airo: failed without a backported bugfix to wpa_supplicant to allow the
temporal keys to be loaded into the card without resetting the card's MAC. 
Packages with this fix are available here for testing (but are not supported by
Red Hat at this time):

http://people.redhat.com/dcbw/wpa_supplicant/

Please let me know if these work for you on your 'airo'-equipped machines.  If
so, we can proceed with getting the patch into official RHEL builds and through QA.

Comment 21 Dan Williams 2008-05-22 13:30:04 UTC
Clarification:  when I said "Filing an RFE request against RHEL 5", I actually
meant to say something like "Filing an Issue Tracker ticket with Red Hat
support" with a request to backport ath5k to RHEL 5.  I think there's already an
open bug, but the more requests customers make the more it's on the radar and
priority lists.


Comment 22 Dan Williams 2009-02-05 00:27:11 UTC
This should be fixed in RHEL 5.3.  Please re-open if you still have problems, and we can diagnose.


Note You need to log in before you can comment on or make changes to this bug.