[ previous ] [ next ] [ threads ]
 
 From:  "Jurgen van Vliet" <jurgenvv at xs4all dot nl>
 To:  <m0n0wall at lists dot m0n0 dot ch>
 Subject:  WPA problem on 1.3b3 .. WEP works but no connection with WPA
 Date:  Fri, 3 Aug 2007 14:56:14 +0200
Hi guys, 

Im testing the latest 1.3 beta, 1.3b3 with an mini PCI atheros based wifi
card.

It all works fine without encryption and with WEP, but not with WPA 

Currently I got the WPA on PSK mode with TKIP encryption, with an easy WPA
key "1234567890abc"

$ ifconfig ath0
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 172.20.0.1 netmask 0xffff0000 broadcast 172.20.255.255
	ether 00:02:6f:22:91:cb
	media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
	status: associated
	ssid MiniTEST channel 6 bssid 00:02:6f:22:91:cb
	authmode WPA privacy MIXED deftxkey 2 TKIP 2:128-bit txpowmax 38
	bmiss 7 protmode CTS burst dtimperiod 1 bintval 100

Log tells me this when my laptop tries to connect:

Jan 1 05:12:55 hostapd: ath0: STA 00:1b:77:34:46:26 IEEE 802.11: associated 
Jan 1 05:12:55 hostapd: ath0: STA 00:1b:77:34:46:26 WPA: no PSK configured
for the STA 
Jan 1 05:12:55 hostapd: ath0: STA 00:1b:77:34:46:26 IEEE 802.11:
deauthenticated due to local deauth request 
Jan 1 05:12:55 hostapd: ath0: STA 00:1b:77:34:46:26 IEEE 802.11:
deassociated

Config snip: 

		<opt2>
			<if>ath0</if>
			<wireless>
				<standard>11g</standard>
				<mode>hostap</mode>
				<ssid>MiniTEST</ssid>
				<channel>6</channel>
				<wep>
				</wep>
				<wpa>
					<mode>psk</mode>
					<version>1</version>
					<cipher>tkip</cipher>
					<psk>1234567890abc</psk>
					<radius>
						<server/>
						<authport/>
						<acctport/>
						<secret/>
					</radius>
				</wpa>
			</wireless>
			<descr>WIFI AP</descr>
			<ipaddr>172.20.0.1</ipaddr>
			<subnet>16</subnet>
			<bridge/>
			<enable/>
		</opt2>

Any suggestions ? 

Regards, 

Jurgen