Simple wpa_supplicant question

Ian McDonald imcdnzl
Thu Mar 17 09:55:58 PST 2005


Martin,

Have a look at this which should help you:
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Linux.Wireless.drivers.802.11b.html#Centrino

>From memory with WEP don't use wpa_supplicant for these but use Linux
kernel directly. The reason for this is the bugs in the 2100 code.
2200 has similar issues that were reported to the list. With the
latest Linux kernels you only need wpa_supplicant for WPA and Jouni is
helping migrate more of that into the kernel as well - hopefully we
are not too far away from where WPA just works - Linus has said it is
one of his main goals to get working also.

The parent URL also has lots of useful info:
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/

Regards,

Ian

On Thu, 17 Mar 2005 12:01:02 +0100, Martin Samuelsson
<hostap at cos.user.lysator.liu.se> wrote:
> On Tue, Mar 15, 2005 at 11:02:32AM +0100, Martin Samuelsson wrote:
> > Dear list,
> >
> > I have been using wpa_supplicant for a while now, since waproamd got
> > orphaned by it's author. Until recently it has been working perfectly
> > because all networks encountered have been open and thus not needed key
> > configuration.
> >
> > However now I'm daily using a network with a WEP key and can't get it to
> > work for me. Could anyone please give me a hint?
> >
> > I've read all the documentation and the configuration provided in the
> > Debian package, but not fully understood it.
> >
> > Doing things'n'stuff manually works. I.e. giving a command like the
> > following brings the interface up.
> >
> >       iwconfig eth0 essid helllo key s:world ap 00:02:2D:61:4F:32 ?
> >
> > A simple case like this brings me to believe that I should go for a config
> > looking something like what's included below:
> >
> >       network={
> >               ssid="helllo"
> >               bssid=00:02:2D:61:4F:32
> >               key_mgmt=NONE
> >               wep_key0="world"
> >               wep_tx_keyidx=0
> >               priority=1000
> >       }
> >
> > However when trying to use the software now I get the following output: (The
> > exclamation marks are what I feel look like bad lines)
> >
> >       Setting scan request: 0 sec 0 usec
> >       Starting AP scan (broadcast SSID)
> >       EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
> >       EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
> >       EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
> >       Scan timeout - try to get results
> >       Received 748 bytes of scan results (4 BSSes)
> >       Scan results: 4
> >       Selecting BSS from priority group 1000
> >       0: 00:02:2d:61:4f:13 ssid='helllo' wpa_ie_len=0 rsn_ie_len=0
> >          skip - no WPA/RSN IE
> >       1: 00:02:2d:61:4f:32 ssid='helllo' wpa_ie_len=0 rsn_ie_len=0
> >          skip - no WPA/RSN IE
> >       2: 00:07:40:9f:14:71 ssid='helllo' wpa_ie_len=0 rsn_ie_len=0
> >          skip - no WPA/RSN IE
> >       3: 00:80:5a:22:ae:a2 ssid='OTHER' wpa_ie_len=0 rsn_ie_len=0
> >          skip - no WPA/RSN IE
> >          selected non-WPA AP 00:02:2d:61:4f:32 ssid='helllo'
> >       Trying to associate with 00:02:2d:61:4f:32 (SSID='helllo' freq=0 MHz)
> >       Cancelling scan request
> >       Automatic auth_alg selection: 0x1
> >       wpa_driver_ipw_set_auth_alg: auth_alg=0x1
> >       No keys have been configured - skip key clearing
> >       wpa_driver_ipw_set_key: alg=WEP key_idx=0 set_tx=1 seq_len=0 key_len=5
> >       wpa_driver_ipw_set_drop_unencrypted: enabled=1
> >       wpa_driver_ipw_set_wpa: enabled=0
> > !     ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> > !     ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
> >       Setting authentication timeout: 5 sec 0 usec
> >       EAPOL: External notification - portControl=ForceAuthorized
> >       EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
> >       Wireless event: cmd=0x8b1a len=19
> >       EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
> >       EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
> >       EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
> >       EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
> > !     Authentication with 00:00:00:00:00:00 timed out.
> >       wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
> >       wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
> >       wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
> >       wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
> >       EAPOL: External notification - portEnabled=0
> >       EAPOL: External notification - portValid=0
> >       Setting scan request: 0 sec 0 usec
> >       EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
> >       Starting AP scan (specific SSID)
> >       Scan SSID - hexdump_ascii(len=6):
> >            73 65 63 72 65 74                                 secret
> > !     ioctl[SIOCSIWSCAN{,EXT}]: Operation not supported
> >       Failed to initiate AP scan.
> >       Setting scan request: 10 sec 0 usec
> >
> > Is there something I've missed in my configuration or doesn't wpa_supplicant
> > work with WEP encrypted networks and the ipw2100?
> >
> > Any help appreciated. I'm running Debian/Sarge with wpasupplicant
> > 0.3.8-1, which should also be the latest upstream release, right?
> >
> > [1] The network identifying data has been changed to protect the innocent, but they
> >     are all ascii and their lengths match. (The HW addresses however are real)
> 
> For what it's worth I've now verified that I also use the latest
> firmware, namely version 1.3.
> 
> Is there any other information I can provide to get help tracking down
> me problem?
> 
> Could someone please verify that the ipw2100 currently is not supported
> with WEP networks or maybe tell me the opposite?
> --
> /Martin
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>




More information about the Hostap mailing list