Re: [zd1211-devs] not working with WPA-PSK - more infos
Status: Beta
Brought to you by:
mayne
From: Markus <be...@gm...> - 2007-03-02 20:02:22
|
I'm sure you need more info. Sorry for being late with that. I hope it's not too much now. Just got it working 3 of 6 times with an unpatched wpa_supplicant 0.4.9 and once with wpa_s 0.5.7, I don't know why and what is diffrent. Please read on. I'm happy about your comment. Markus. /var/log/messages on plugin: Mar 2 16:12:06 piano kernel: usb 1-1: new full speed USB device using address 71 Mar 2 16:12:06 piano kernel: usb 1-1: Product: ZyAIR G-220 Mar 2 16:12:06 piano kernel: usb 1-1: Manufacturer: ZyXEL Mar 2 16:12:06 piano /etc/hotplug/usb.agent[15129]: need a device for this command Mar 2 16:12:12 piano kernel: zd1211: module not supported by Novell, setting U taint flag. Mar 2 16:12:12 piano kernel: zd1211:bulk out: wMaxPacketSize = 40 Mar 2 16:12:12 piano kernel: zd1211:bulk in: wMaxPacketSize = 40 Mar 2 16:12:12 piano kernel: zd1211:interrupt in: wMaxPacketSize = 40 Mar 2 16:12:12 piano kernel: zd1211:interrupt in: int_interval = 1 Mar 2 16:12:12 piano kernel: zd1211:bulk out: wMaxPacketSize = 40 Mar 2 16:12:12 piano kernel: zd1211:USB Download Boot code success Mar 2 16:12:12 piano kernel: zd1211:MAC address = 00:13:49:30:a1:1b Mar 2 16:12:12 piano kernel: zd1211:AddrEntryTable = f7d4 Mar 2 16:12:12 piano kernel: zd1211:RF_Mode = 00000004 Mar 2 16:12:12 piano kernel: PA type: 0 Mar 2 16:12:12 piano kernel: AiroHa AL2230RF Mar 2 16:12:12 piano kernel: zd1211:Pure B-Mode Mar 2 16:12:12 piano kernel: zd1211:AllowedChannel = 000007ff Mar 2 16:12:12 piano kernel: zd1211:LinkLEDn = 200 Mar 2 16:12:12 piano kernel: AllowedChannel = 000107ff Mar 2 16:12:12 piano kernel: Region:48 Mar 2 16:12:12 piano kernel: zd1205: (exit) zd1205_config, zd1211-driver-svn/src/zd1205.c line 2601 Mar 2 16:12:12 piano kernel: zd1205: (exit) zd1205_init, zd1211-driver-svn/src/zd1205.c line 8570 Mar 2 16:12:12 piano kernel: usbcore: registered new driver zd1211 ./wpa_supplicant -iwlan0 -c../wpa_tools/wpa_supplicant.conf -D wext ioctl[SIOCGIFADDR]: Cannot assign requested address Trying to associate with 00:18:84:1c:d8:ea (SSID='wpanet' freq=2412 MHz) ioctl[SIOCSIWFREQ]: Invalid argument Association request to the driver failed Authentication with 00:00:00:00:00:00 timed out. Trying to associate with 00:18:84:1c:d8:ea (SSID='wpanet' freq=2412 MHz) ioctl[SIOCSIWFREQ]: Invalid argument Association request to the driver failed CTRL-EVENT-TERMINATING - signal 2 received with output: Mar 2 16:12:28 piano kernel: zd1211:Switch to Infra mode Mar 2 16:12:28 piano kernel: zd1211:Pure B-Mode Mar 2 16:12:28 piano kernel: zd1205: (enter) zd1205_open, zd1211-driver-svn/src/zd1205.c line 4353 Mar 2 16:12:28 piano kernel: zd1205: (exit) zd1205_open, zd1211-driver-svn/src/zd1205.c line 4436 Mar 2 16:12:28 piano kernel: wlan0: WPA: enabled Mar 2 16:12:28 piano kernel: wlan0: Drop encrypted: enabled Mar 2 16:12:29 piano kernel: zd1211:Pure B-Mode Mar 2 16:12:29 piano kernel: zd1211:STA_ASSOCIATED with 00:18:84:1c:d8:e9 Mar 2 16:12:37 piano kernel: wlan0: Configured authentication algorithms: Open system Mar 2 16:12:37 piano kernel: wlan0: Drop encrypted: enabled Mar 2 16:12:37 piano kernel: zd1211:Switch to Infra mode Mar 2 16:12:37 piano kernel: zd1211:Pure B-Mode Mar 2 16:12:37 piano kernel: wlan0: WPA version: WPA Mar 2 16:12:37 piano kernel: wlan0: pairwise cipher: TKIP Mar 2 16:12:37 piano kernel: wlan0: group cipher: TKIP Mar 2 16:12:37 piano kernel: wlan0: key mgmt: PSK Mar 2 16:12:37 piano kernel: wlan0: privacy: enabled Mar 2 16:12:37 piano kernel: wlan0: Allow Rx unencrypted EAPOL: disabled Mar 2 16:12:38 piano kernel: zd1211:Pure B-Mode Mar 2 16:12:38 piano kernel: wlan0: no IPv6 routers present Mar 2 16:12:38 piano kernel: zd1211:Pure B-Mode Mar 2 16:12:41 piano last message repeated 5 times Mar 2 16:12:49 piano kernel: wlan0: Configured authentication algorithms: Open system Mar 2 16:12:49 piano kernel: wlan0: Drop encrypted: enabled Mar 2 16:12:49 piano kernel: zd1211:Switch to Infra mode Mar 2 16:12:49 piano kernel: zd1211:Pure B-Mode Mar 2 16:12:49 piano kernel: wlan0: WPA version: WPA Mar 2 16:12:49 piano kernel: wlan0: pairwise cipher: TKIP Mar 2 16:12:49 piano kernel: wlan0: group cipher: TKIP Mar 2 16:12:49 piano kernel: wlan0: key mgmt: PSK Mar 2 16:12:49 piano kernel: wlan0: privacy: enabled Mar 2 16:12:49 piano kernel: wlan0: Allow Rx unencrypted EAPOL: disabled Mar 2 16:12:50 piano kernel: zd1211:Pure B-Mode Mar 2 16:12:52 piano last message repeated 3 times Mar 2 16:12:52 piano kernel: wlan0: WPA: disabled Mar 2 16:12:52 piano kernel: wlan0: Drop encrypted: disabled Mar 2 16:12:52 piano kernel: zd1211:Pure B-Mode Mar 2 16:12:53 piano kernel: zd1211:Pure B-Mode Mar 2 16:12:53 piano kernel: zd1205: (enter) zd1205_close, zd1211-driver-svn/src/zd1205.c line 4896 Mar 2 16:12:53 piano kernel: zd1205: (exit) zd1205_close, zd1211-driver-svn/src/zd1205.c line 4962 on rmmod: Mar 2 16:13:03 piano kernel: usbcore: deregistering driver zd1211 Mar 2 16:13:03 piano kernel: zd1211_disconnect Mar 2 16:13:03 piano kernel: zd1211:USB ST Code = -108 on uplug: Mar 2 16:13:08 piano kernel: usb 1-1: USB disconnect, address 71 with zd1211-driver instead of wext: ./wpa_supplicant -iwlan0 -c../wpa_tools/wpa_supplicant.conf -D zd1211 ioctl[ZD_IOCTL_PARAM]: Operation not supported ioctl[ZD_IOCTL_PARAM]: Operation not supported ioctl[ZD_IOCTL_PARAM]: Operation not supported ioctl[ZD_IOCTL_WPA]: Operation not supported Failed to set encryption. ioctl[ZD_IOCTL_WPA]: Operation not supported Failed to set encryption. ioctl[ZD_IOCTL_WPA]: Operation not supported Failed to set encryption. ioctl[ZD_IOCTL_WPA]: Operation not supported Failed to set encryption. ioctl[ZD_IOCTL_PARAM]: Operation not supported ioctl[ZD_IOCTL_PARAM]: Operation not supported ioctl[SIOCGIFADDR]: Cannot assign requested address Trying to associate with 00:18:84:1c:d8:ea (SSID='wpanet' freq=2412 MHz) ioctl[ZD_IOCTL_PARAM]: Operation not supported ioctl[ZD_IOCTL_PARAM]: Operation not supported ioctl[ZD_IOCTL_WPA]: Operation not supported CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys ioctl[ZD_IOCTL_WPA]: Operation not supported Failed to set encryption. ioctl[ZD_IOCTL_WPA]: Operation not supported Failed to set encryption. ioctl[ZD_IOCTL_WPA]: Operation not supported Failed to set encryption. ioctl[ZD_IOCTL_WPA]: Operation not supported Failed to set encryption. ioctl[ZD_IOCTL_WPA]: Operation not supported Failed to set encryption. Authentication with 00:00:00:00:00:00 timed out. Trying to associate with 00:18:84:1c:d8:ea (SSID='wpanet' freq=2412 MHz) ioctl[ZD_IOCTL_PARAM]: Operation not supported ioctl[ZD_IOCTL_PARAM]: Operation not supported ioctl[ZD_IOCTL_WPA]: Operation not supported CTRL-EVENT-TERMINATING - signal 2 received ioctl[ZD_IOCTL_WPA]: Operation not supported ioctl[ZD_IOCTL_PARAM]: Operation not supported ioctl[ZD_IOCTL_PARAM]: Operation not supported ioctl[ZD_IOCTL_PARAM]: Operation not supported Failed to disable WPA in the driver. ioctl[ZD_IOCTL_PARAM]: Operation not supported ioctl[ZD_IOCTL_PARAM]: Operation not supported with output to /var/log/messages: Mar 2 16:19:55 piano kernel: zd1211:Switch to Infra mode Mar 2 16:19:55 piano kernel: zd1211:Pure B-Mode Mar 2 16:19:55 piano kernel: zd1205: (enter) zd1205_open, zd1211-driver-svn/src/zd1205.c line 4353 Mar 2 16:19:55 piano kernel: zd1205: (exit) zd1205_open, zd1211-driver-svn/src/zd1205.c line 4436 Mar 2 16:19:56 piano kernel: zd1211:Pure B-Mode Mar 2 16:19:56 piano kernel: zd1211:STA_ASSOCIATED with 00:18:84:1c:d8:e9 Mar 2 16:20:06 piano kernel: wlan0: no IPv6 routers present Mar 2 16:20:12 piano kernel: ******We Lose AP for 5 seconds Mar 2 16:20:12 piano kernel: zd1211:zd1205_dis_connect Mar 2 16:20:12 piano kernel: zd1205_notify_disjoin_event Mar 2 16:20:21 piano kernel: zd1205: (enter) zd1205_close, zd1211-driver-svn/src/zd1205.c line 4896 Mar 2 16:20:21 piano kernel: zd1205: (exit) zd1205_close, zd1211-driver-svn/src/zd1205.c line 4962 working with 0.4.9 (same messages as above on plugin) ./wpa_supplicant -iwlan0 -c../wpa_tools/wpa_supplicant.conf -D wext No network configuration found for the current AP CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys ioctl[SIOCGIFADDR]: Cannot assign requested address Trying to associate with 00:18:84:1c:d8:ea (SSID='wpanet' freq=2412 MHz) ioctl[SIOCSIWFREQ]: Invalid argument Association request to the driver failed Associated with 00:18:84:1c:d8:ea WPA: Key negotiation completed with 00:18:84:1c:d8:ea [PTK=TKIP GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 00:18:84:1c:d8:ea completed (auth) Mar 2 16:27:08 piano kernel: zd1211:Switch to Infra mode Mar 2 16:27:08 piano kernel: zd1211:Pure B-Mode Mar 2 16:27:08 piano kernel: zd1205: (enter) zd1205_open, zd1211-driver-svn/src/zd1205.c line 4353 Mar 2 16:27:08 piano kernel: zd1205: (exit) zd1205_open, zd1211-driver-svn/src/zd1205.c line 4436 Mar 2 16:27:08 piano kernel: wlan0: WPA: enabled Mar 2 16:27:08 piano kernel: wlan0: Drop encrypted: enabled Mar 2 16:27:09 piano kernel: zd1211:Pure B-Mode Mar 2 16:27:09 piano kernel: zd1211:STA_ASSOCIATED with 00:18:84:1c:d8:e9 Mar 2 16:27:09 piano kernel: zd1211:Notify_join_event:00:18:84:1c:d8:e9 Mar 2 16:27:09 piano kernel: Disassociate STA: 00:18:84:1c:d8:e9 with reason code: 3 Mar 2 16:27:09 piano kernel: zd1211:STA_DISASSOCIATED:00:18:84:1c:d8:e9 Mar 2 16:27:13 piano kernel: wlan0: Configured authentication algorithms: Open system Mar 2 16:27:13 piano kernel: wlan0: Drop encrypted: enabled Mar 2 16:27:13 piano kernel: zd1211:Switch to Infra mode Mar 2 16:27:13 piano kernel: zd1211:Pure B-Mode Mar 2 16:27:13 piano kernel: wlan0: WPA version: WPA Mar 2 16:27:13 piano kernel: wlan0: pairwise cipher: TKIP Mar 2 16:27:13 piano kernel: wlan0: group cipher: TKIP Mar 2 16:27:13 piano kernel: wlan0: key mgmt: PSK Mar 2 16:27:13 piano kernel: wlan0: privacy: enabled Mar 2 16:27:13 piano kernel: wlan0: Allow Rx unencrypted EAPOL: disabled Mar 2 16:27:13 piano kernel: zd1211:Pure B-Mode Mar 2 16:27:13 piano kernel: zd1211:STA_ASSOCIATED with 00:18:84:1c:d8:ea Mar 2 16:27:13 piano kernel: zd1211:Notify_join_event:00:18:84:1c:d8:ea working with 0.5.7: ./wpa_supplicant -iwlan0 -c../wpa_tools/wpa_supplicant.conf -D wext ioctl[SIOCGIFADDR]: Cannot assign requested address Trying to associate with 00:18:84:1c:d8:ea (SSID='wpanet' freq=2412 MHz) ioctl[SIOCSIWFREQ]: Invalid argument Association request to the driver failed Associated with 00:18:84:1c:d8:e9 Authentication with 00:18:84:1c:d8:e9 timed out. CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Trying to associate with 00:18:84:1c:d8:ea (SSID='wpanet' freq=2412 MHz) ioctl[SIOCSIWFREQ]: Invalid argument Association request to the driver failed Associated with 00:18:84:1c:d8:ea WPA: Key negotiation completed with 00:18:84:1c:d8:ea [PTK=TKIP GTK=TKIP] CTRL-EVENT-CONNECTED - Connection to 00:18:84:1c:d8:ea completed (auth) [id=2 id_str=] Mar 2 16:47:49 piano kernel: zd1211:Switch to Infra mode Mar 2 16:47:49 piano kernel: zd1211:Pure B-Mode Mar 2 16:47:49 piano kernel: zd1205: (enter) zd1205_open, zd1211-driver-svn/src/zd1205.c line 4353 Mar 2 16:47:49 piano kernel: zd1205: (exit) zd1205_open, zd1211-driver-svn/src/zd1205.c line 4436 Mar 2 16:47:50 piano kernel: wlan0: WPA: enabled Mar 2 16:47:50 piano kernel: wlan0: Drop encrypted: enabled Mar 2 16:47:50 piano kernel: zd1211:Pure B-Mode Mar 2 16:47:51 piano kernel: zd1211:STA_ASSOCIATED with 00:18:84:1c:d8:e9 Mar 2 16:47:59 piano kernel: wlan0: Configured authentication algorithms: Open system Mar 2 16:47:59 piano kernel: wlan0: Drop encrypted: enabled Mar 2 16:47:59 piano kernel: zd1211:Switch to Infra mode Mar 2 16:47:59 piano kernel: zd1211:Pure B-Mode Mar 2 16:47:59 piano kernel: wlan0: WPA version: WPA Mar 2 16:47:59 piano kernel: wlan0: pairwise cipher: TKIP Mar 2 16:47:59 piano kernel: wlan0: group cipher: TKIP Mar 2 16:47:59 piano kernel: wlan0: key mgmt: PSK Mar 2 16:47:59 piano kernel: wlan0: privacy: enabled Mar 2 16:47:59 piano kernel: wlan0: Allow Rx unencrypted EAPOL: disabled Mar 2 16:47:59 piano kernel: zd1211:Pure B-Mode Mar 2 16:47:59 piano kernel: zd1211:STA_ASSOCIATED with 00:18:84:1c:d8:e9 Mar 2 16:47:59 piano kernel: zd1211:Notify_join_event:00:18:84:1c:d8:e9 Mar 2 16:48:00 piano kernel: wlan0: no IPv6 routers present Mar 2 16:48:09 piano kernel: Disassociate STA: 00:18:84:1c:d8:e9 with reason code: 3 Mar 2 16:48:09 piano kernel: zd1211:STA_DISASSOCIATED:00:18:84:1c:d8:e9 Mar 2 16:48:15 piano kernel: UnStoppable Scanning Mar 2 16:48:15 piano last message repeated 9 times Mar 2 16:48:15 piano kernel: wlan0: Configured authentication algorithms: Open system Mar 2 16:48:15 piano kernel: wlan0: Drop encrypted: enabled Mar 2 16:48:15 piano kernel: zd1211:Switch to Infra mode Mar 2 16:48:15 piano kernel: zd1211:Pure B-Mode Mar 2 16:48:15 piano kernel: wlan0: WPA version: WPA Mar 2 16:48:15 piano kernel: wlan0: pairwise cipher: TKIP Mar 2 16:48:15 piano kernel: wlan0: group cipher: TKIP Mar 2 16:48:15 piano kernel: wlan0: key mgmt: PSK Mar 2 16:48:15 piano kernel: wlan0: privacy: enabled Mar 2 16:48:15 piano kernel: wlan0: Allow Rx unencrypted EAPOL: disabled Mar 2 16:48:15 piano kernel: zd1211:Pure B-Mode Mar 2 16:48:15 piano kernel: zd1211:STA_ASSOCIATED with 00:18:84:1c:d8:ea Mar 2 16:48:15 piano kernel: zd1211:Notify_join_event:00:18:84:1c:d8:ea |