Fedora Linux Support Community & Resources Center
  #1  
Old 11th May 2006, 04:28 AM
The_Jaymz Offline
Registered User
 
Join Date: Mar 2005
Location: Mobile, Alabama, USA
Age: 36
Posts: 342
Arrow madwifi + wpa_supplicant + NetworkManager = Frustration

Hi,
I've read and re-read every howto I could find on making this work in FC5, but I still can't connect. Here's the setup...
IBM T42 Laptop with a D-Link DWL-G630 wifi card
Linksys WRT54G router running most recent firmware with WPA2-Personal PSK

Card seems to be working:
Code:
[root@JMH-LT ~]# iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

ath0      Scan completed :
          Cell 01 - Address: 00:14:BF:44:64:ED
                    ESSID:"JMH-WAP"
                    Mode:Master
                    Frequency:2.447 GHz (Channel 8)
                    Quality=49/94  Signal level=-46 dBm  Noise level=-95 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
                    Extra:rsn_ie=30180100000fac020200000fac04000fac020100000fac020000
          Cell 02 - Address: 00:16:B6:1B:5A:E4
                    ESSID:""
                    Mode:Master
                    Frequency:2.452 GHz (Channel 9)
                    Quality=8/94  Signal level=-87 dBm  Noise level=-95 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
                    Extra:rsn_ie=30140100000fac040100000fac040100000fac020000

sit0      Interface doesn't support scanning.
My access point is JMH-WAP.

NetworkManager sees the network and that it's encrypted, but gives an error when I try to connect to it.

Code:
Error connecting to wireless network

The requested wireless network requires security capabilities unsupported by your hardware.
Here's /etc/wpa_supplicant/wpa_supplicant.conf:
Code:
[root@JMH-LT ~]# cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=10
ap_scan=0
opensc_engine_path=/usr/lib/opensc/engine_opensc.so
pkcs11_engine_path=/usr/lib/opensc/engine_pkcs11.so
pkcs11_module_path=/usr/lib/pkcs11/opensc-pkcs11.so
update_config=1

network={
        ssid="JMH-WAP"
        psk="********"
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=TKIP
}
[root@JMH-LT ~]#
And here's /etc/sysconfig/wpa_supplicant
Code:
[root@JMH-LT ~]# cat /etc/sysconfig/wpa_supplicant
# wlan0 and wifi0
# INTERFACES="-iwlan0 -iwifi0"
INTERFACES="-ath0"
# ndiswrapper and prism
# DRIVERS="-Dndiswrapper -Dprism"
DRIVERS="-Dmadwifi"
[root@JMH-LT ~]#
Could someone PLEASE help me with this?
Thanks!
Reply With Quote
  #2  
Old 11th May 2006, 04:49 AM
The_Jaymz Offline
Registered User
 
Join Date: Mar 2005
Location: Mobile, Alabama, USA
Age: 36
Posts: 342
Arrow More info

Found this on another site:
Code:
If wpa_supplicant -D madwifi -i ath0 -c /etc/wpa_supplicant.conf -dd -t fails to associate and you see something like:

Setting scan request: 0 sec 100000 usec
BSSID 00:0f:66:c8:8b:14 blacklist count incremented to 2
State: GROUP_HANDSHAKE -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
...then :
"ioctl[IEEE80211_IOCTL_SETKEY]: No such device or address".  | ioctl[unknown???]: No such device or address"),  and  what should read "RX EAPOL from 00:12:17:b8:1c:db"  when wpa_supplicant is launched  with the debug log -dd option ubstead reads "ioctl[unknown???]: No such device or address"
You've probably not gotten the kernel config right or the aes module loaded.
That seems to be the problem that I'm having. Anyone know how to load the aes module?
Reply With Quote
  #3  
Old 12th May 2006, 02:36 AM
Iron_Mike Offline
Registered User
 
Join Date: Jul 2005
Location: Ft Huachuca, AZ
Posts: 3,772
Quote:
Originally Posted by The_Jaymz
Found this on another site:
Code:
If wpa_supplicant -D madwifi -i ath0 -c /etc/wpa_supplicant.conf -dd -t fails to associate and you see something like:

Setting scan request: 0 sec 100000 usec
BSSID 00:0f:66:c8:8b:14 blacklist count incremented to 2
State: GROUP_HANDSHAKE -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
...then :
"ioctl[IEEE80211_IOCTL_SETKEY]: No such device or address".  | ioctl[unknown???]: No such device or address"),  and  what should read "RX EAPOL from 00:12:17:b8:1c:db"  when wpa_supplicant is launched  with the debug log -dd option ubstead reads "ioctl[unknown???]: No such device or address"
You've probably not gotten the kernel config right or the aes module loaded.
That seems to be the problem that I'm having. Anyone know how to load the aes module?

One thing I noticed in your wpa_supplicant.conf, You listed the PROTO=RSN, this is not a valid protocol, it should be WPA or WPA2. This might be causing the ieee80211 error as this is the encryption subsystem and RSN is not a valid encryption algorithim. Here is a copy of mine

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
ap_scan=1
update_config=1
network={
ssid="mesa_wifi"
key_mgmt=WPA-PSK
proto=WPA
pairwise=CCMP
psk="I'll never tell" <--This is plain text with the quotes
}

Notice a few differences, the ap_scan=1, you have to broadcast your SSID, a glitch in NetworkManager. I let NM do the work by selecting the AP I want to connect to. One difference is I have an Intel Pro wireless instead of using the madwifi so I'm no help there.

Last edited by Iron_Mike; 12th May 2006 at 02:48 AM.
Reply With Quote
  #4  
Old 12th May 2006, 02:53 PM
The_Jaymz Offline
Registered User
 
Join Date: Mar 2005
Location: Mobile, Alabama, USA
Age: 36
Posts: 342
Smile Thanks

Thanks alot for your info.
I worked with this issue for a few days and got sick of it. I had to step away from it for a while. I'll probably work on it some more this weekend.
Reply With Quote
  #5  
Old 13th May 2006, 01:22 AM
Brian1 Offline
Registered User
 
Join Date: Nov 2004
Location: Seymour, Indiana
Posts: 2,509
First thing to do is turn off any encryption and filtering on the router first. See if you make a connection. If that works then start enabling more security till the nic fails to connect to thr router. Post errors or what you have done to that point.

Brian1
Reply With Quote
  #6  
Old 14th May 2006, 04:10 AM
The_Jaymz Offline
Registered User
 
Join Date: Mar 2005
Location: Mobile, Alabama, USA
Age: 36
Posts: 342
That's exactly what I did. I've got the encryption turned off. I always broadcast the SSID. Connection is fine now. I might just use wep. I might leave it unencrypted though...
I'm kinda tired of fighting this issue. I'll probably try the encryption again in a week or two.
Thanks for your help! :-)
Reply With Quote
Reply

Tags
frustration, madwifi, networkmanager, wpasupplicant

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wpa_supplicant - madwifi issue zarkann Servers & Networking 8 15th November 2008 04:21 AM
[Fedora 8rc3] madwifi networkmanager wpa_supplicant problems moosetooth Servers & Networking 3 15th November 2007 08:13 PM
madwifi and wpa_supplicant Christy Servers & Networking 5 24th December 2006 12:28 AM
atheros + madwifi + wpa_supplicant samitro Hardware & Laptops 1 25th September 2006 09:52 AM
FC4 + madwifi + wpa_supplicant = ???? Schlotz Servers & Networking 0 15th July 2005 01:05 PM


Current GMT-time: 15:54 (Sunday, 20-04-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat