Can't connect ndiswrapper+wpa_supplicant <-> madwifi+hostapd using WPA-PSK+TKIP

Mailinglists mailinglists at inetmx.de
Sun Jan 9 05:08:20 EST 2005


Really nobody can help me with that? Perhaps I should formulate more
concrete questions:

- where should I look for the error? Client or host?
- which phase fails? As far as I understood the stuff I read so far the
prob is related to the crypto key exchange. Somebody can confirm that?
- what could be the reason for failing at that point?
- any chance to fix that? If it is not a stupid config problem, I would
also be able to try to provide a patch for the prob, but since right now
I do not even know for sure what the prob is.. no chance.. 

Any help appreciated

/tobi

Am Donnerstag, den 06.01.2005, 21:14 +0100 schrieb Mailinglists:
> Hi everybody!
> 
> I am quite new to that entire wireless topic. The thing I am trying to
> do is setting up a linux AP where my notebook can connect to using
> WPA-PSK and TKIP. A connection without any security works perfect, but I
> am not able to get it up and running with the above described setup.
> Hope somebody can give me a hint what is actually happening here and
> probably a solution for it. 
> 
> Thanks in advance
> 
> /tobi
> 
> P.S. logfiles of client and ap follow ( ->limited size of single mail )
> 
> The setup:
> Client  : Gentoo kernel 2.6.9
>           ndiswrapper 0.12 
>           win driver w22n51 ( Intel 2200BG )
>           wpa_supplicant 0.3.3
> AP      : Kernel 2.4.26
>           Madwifi ( LevelOne WNC-0300 )
>           hostapd 0.3.2
> 
> 
> madwifi1.conf is
> interface=ath0
> ssid=midgard
> macaddr_acl=1
> accept_mac_file=/etc/hostapd.accept
> #deny_mac_file=/etc/hostapd.deny
> auth_algs=1
> own_ip_addr=172.20.12.1
> wpa=1
> wpa_passphrase=very2secret1passphrase
> wpa_key_mgmt=WPA-PSK
> wpa_pairwise=TKIP CCMP
> 
> #############################################################################
> 
> hostapd.accept conatins:
> 00:0e:35:8a:3a:0c
> 
> #############################################################################
> 
> wpa_supplicant.conf:
> ctrl_interface=/var/run/wpa_supplicant
> ctrl_interface_group=0
> eapol_version=2
> ap_scan=1
> network={
>        ssid="midgard"
>        key_mgmt=WPA-PSK
>        pairwise=TKIP
>        group=TKIP
>        psk="very2secret1passphrase"
>        priority=5
> }
> 
> #############################################################################
> 
> When scanning for an AP I get
> iwlist wlan0 scan
> 
> wlan0     Scan completed :
>           Cell 01 - Address: 00:11:6B:B0:07:96
>                     ESSID:"midgard"
>                     Protocol:IEEE 802.11g
>                     Mode:Managed
>                     Frequency:2.412 GHz (Channel 1)
>                     Quality:0/100  Signal level:-57 dBm  Noise
> level:-256 dBm
>                     Encryption key:on
>                     Bit Rate:1 Mb/s
>                     Bit Rate:2 Mb/s
>                     Bit Rate:5.5 Mb/s
>                     Bit Rate:11 Mb/s
>                     Bit Rate:6 Mb/s
>                     Bit Rate:9 Mb/s
>                     Bit Rate:12 Mb/s
>                     Bit Rate:18 Mb/s
>                     Bit Rate:24 Mb/s
>                     Bit Rate:36 Mb/s
>                     Bit Rate:48 Mb/s
>                     Bit Rate:54 Mb/s
>                     Extra:bcn_int=100
>                     Extra:atim=0
> 
> Extra:wpa_ie=dd1a0050f20101000050f20202000050f2020050f20401000050f202
> 
> 
> 
> ++++++++++++ WERBUNG +++++++++++++++
> Free-Mail http://www.inetmx.de
> 52 MB Postfach / Spam- und Virenfilter
> 
> by http://www.inetsolutions.de
> ISP / Qualitäts-Webhosting
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
> 



++++++++++++ WERBUNG +++++++++++++++
Free-Mail http://www.inetmx.de
52 MB Postfach / Spam- und Virenfilter

by http://www.inetsolutions.de
ISP / Qualitäts-Webhosting



More information about the HostAP mailing list