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

Mailinglists mailinglists
Thu Jan 6 12:14:54 PST 2005


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




More information about the Hostap mailing list