Hallo,<br><br>ich habe Probleme mit der Installation meiner WLAN-Verbindung. Die Ausgangssituation:<br><br><span style="font-weight: bold; text-decoration: underline;">Hard- und Software</span><br><br>Netgear WG311T (Atheros Chipset)
<br>Speedport W700V (Router)<br>2.6.18-1.2200.fc5 (Fedora Core 5)<br>wireless-tools (Version 28)<br>madwifi (Version 0.9.2)<br>wpa_supplicant (Version 0.4.9)<br><br><span style="text-decoration: underline; font-weight: bold;">
Routerkonfiguration</span><br><br>SSID: KeepOut<br>Channel: Automatic<br>Mode: 802.11g + 802.11b (Mixed Mode)<br>Encryption: WPA2 with Pre-shared key<br>DHCP: enabled<br><br><span style="font-weight: bold; text-decoration: underline;">
Netzwerkstatus</span><br><br><span style="font-style: italic;">[root@localhost marc]# ifconfig -a</span><br>ath0      Link encap:Ethernet  Hardware Adresse 00:14:6C:8C:9F:22<br>          UP BROADCAST MULTICAST  MTU:1500  Metric:1
<br>          RX packets:23 errors:0 dropped:0 overruns:0 frame:0<br>          TX packets:42 errors:19 dropped:19 overruns:0 carrier:0<br>          Kollisionen:0 Sendewarteschlangenlänge:0<br>          RX bytes:3105 (3.0 KiB)  TX bytes:5395 (
5.2 KiB)<br><br>wifi0     Link encap:UNSPEC  Hardware Adresse 00-14-6C-8C-9F-22-78-02-00-00-00-00-00-00-00-00<br>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>          RX packets:27670 errors:0 dropped:0 overruns:0 frame:25609
<br>          TX packets:2399 errors:3 dropped:0 overruns:0 carrier:0<br>          Kollisionen:0 Sendewarteschlangenlänge:199<br>          RX bytes:3582554 (3.4 MiB)  TX bytes:126853 (123.8 KiB)<br>          Interrupt:11 Speicher:e0960000-e0970000
<br><br style="font-style: italic;"><span style="font-style: italic;">[root@localhost marc]# iwconfig</span><br>wifi0     no wireless extensions.<br><br>Warning: Driver for device ath0 has been compiled with version 20<br>
of Wireless Extension, while this program supports up to version 19.<br>Some things may be broken...<br><br>ath0      IEEE 802.11g  ESSID:"KeepOut"  Nickname:"localhost.localdomain"<br>          Mode:Managed  Frequency:
2.412 GHz  Access Point: Not-Associated<br>          Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3<br>          Retry:off   RTS thr:off   Fragment thr:off<br>          Encryption key:off<br>          Power Management:off
<br>          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm<br>          Rx invalid nwid:26519  Rx invalid crypt:0  Rx invalid frag:0<br>          Tx excessive retries:0  Invalid misc:0   Missed beacon:0<br>
<br style="font-style: italic;"><span style="font-style: italic;">[root@localhost marc]# iwlist ath0 scan</span><br>Warning: Driver for device ath0 has been compiled with version 20<br>of Wireless Extension, while this program supports up to version 19.
<br>Some things may be broken...<br><br>ath0      Scan completed :<br>          Cell 01 - Address: 00:12:BF:7F:5C:B9<br>                    ESSID:"KeepOut"<br>                    Mode:Master<br>                    Frequency:
2.412 GHz (Channel 1)<br>                    Quality=37/94  Signal level=-58 dBm  Noise level=-95 dBm<br>                    Encryption key:on<br>                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s<br>
                              12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s<br>                              48 Mb/s; 54 Mb/s<br>                    Extra:bcn_int=100<br>                    IE: IEEE 802.11i/WPA2 Version 1<br>
                        Group Cipher : CCMP<br>                        Pairwise Ciphers (1) : CCMP<br>                        Authentication Suites (1) : PSK<br>                    Extra:wme_ie=dd180050f2020101000003a4000027a4000042435e0062322f00
<br><br><span style="font-weight: bold; text-decoration: underline;">Konfigurationsdateien</span><br><br><span style="font-style: italic;">[root@localhost marc]# cat /etc/wpa_supplicant/wpa_supplicant.conf</span><br>ctrl_interface=/var/run/wpa_supplicant
<br>ctrl_interface_group=wheel<br>eapol_version=2<br>ap_scan=1<br>fast_reauth=1<br><br># Home WLAN<br>network={<br>        scan_ssid=1<br>        proto=WPA RSN<br>        key_mgmt=WPA-PSK<br>        pairwise=CCMP TKIP<br>
        group=CCMP TKIP<br><br>        priority=2<br>        ssid="KeepOut"<br>        psk=[...]<br>}<br><br><span style="font-style: italic;">[root@localhost marc]# cat /etc/sysconfig/network-scripts/ifcfg-ath0
</span><br>IPV6INIT=no<br>ONBOOT=yes<br>USERCTL=no<br>PEERDNS=yes<br>TYPE=Wireless<br>DEVICE=ath0<br>HWADDR=00:14:6C:8C:9F:22<br>BOOTPROTO=dhcp<br>ESSID=KeepOut<br>MODE=Managed<br>RATE=Auto<br>WPA=yes<br><br><span style="font-weight: bold; text-decoration: underline;">
<span style="text-decoration: underline;"><span style="font-weight: bold;">Problem beim </span></span>Aufruf von wpa_supplicant</span><br><br><span style="font-style: italic;">[root@localhost marc]# wpa_supplicant -d -c/etc/wpa_supplicant/wpa_supplicant.conf -iath0 -Dmadwifi
</span><br>Initializing interface 'ath0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'madwifi' ctrl_interface 'N/A'<br>Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
<br>Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'<br>ctrl_interface='/var/run/wpa_supplicant'<br>ctrl_interface_group=10 (from group name 'wheel')<br>eapol_version=2<br>ap_scan=1<br>fast_reauth=1<br>
Priority group 2<br>   id=0 ssid='KeepOut'<br>Initializing interface (2) 'ath0'<br>EAPOL: SUPP_PAE entering state DISCONNECTED<br>EAPOL: KEY_RX entering state NO_KEY_RECEIVE<br>EAPOL: SUPP_BE entering state INITIALIZE<br>
EAP: EAP entering state DISABLED<br>EAPOL: External notification - portEnabled=0<br>EAPOL: External notification - portValid=0<br>SIOCGIWRANGE: WE(compiled)=20 WE(source)=13 enc_capa=0xf<br>  capabilities: key_mgmt 0xf enc 0xf
<br>Own MAC address: 00:14:6c:8c:9f:22<br>wpa_driver_madwifi_del_key: keyidx=0<br>wpa_driver_madwifi_del_key: keyidx=1<br>wpa_driver_madwifi_del_key: keyidx=2<br>wpa_driver_madwifi_del_key: keyidx=3<br>wpa_driver_madwifi_set_countermeasures: enabled=0
<br>wpa_driver_madwifi_set_drop_unencrypted: enabled=1<br>Setting scan request: 0 sec 100000 usec<br>Added interface ath0<br>Wireless event: cmd=0x8b06 len=8<br>State: DISCONNECTED -> SCANNING<br>Starting AP scan (specific SSID)
<br>Scan SSID - hexdump_ascii(len=7):<br>     4b 65 65 70 4f 75 74                              KeepOut         <br>Wireless event: cmd=0x8b1a len=16<br>Wireless event: cmd=0x8b19 len=8<br>Received 738 bytes of scan results (3 BSSes)
<br>Scan results: 3<br>Selecting BSS from priority group 2<br>0: 00:12:bf:7f:5c:b9 ssid='KeepOut' wpa_ie_len=0 rsn_ie_len=22 caps=0x11<br>   selected based on RSN IE<br>Trying to associate with 00:12:bf:7f:5c:b9 (SSID='KeepOut' freq=2412 MHz)
<br>Cancelling scan request<br>WPA: clearing own WPA/RSN IE<br>Automatic auth_alg selection: 0x1<br>RSN: using IEEE 802.11i/D9.0<br>WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2<br>WPA: clearing AP WPA IE<br>
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00<br>WPA: using GTK CCMP<br>WPA: using PTK CCMP<br>WPA: using KEY_MGMT WPA-PSK<br>WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
<br>No keys have been configured - skip key clearing<br>wpa_driver_madwifi_set_drop_unencrypted: enabled=1<br>State: SCANNING -> ASSOCIATING<br>wpa_driver_madwifi_associate<br>ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
<br>Association request to the driver failed<br>Setting authentication timeout: 15 sec 0 usec<br>EAPOL: External notification - EAP success=0<br>EAPOL: External notification - EAP fail=0<br>EAPOL: External notification - portControl=Auto
<br>RSN: Ignored PMKID candidate without preauth flag<br>Wireless event: cmd=0x8b1a len=16<br>Wireless event: cmd=0x8b15 len=20<br>Wireless event: new AP: 00:12:bf:7f:5c:b9<br>State: ASSOCIATING -> ASSOCIATED<br>Associated to a new BSS: BSSID=00:12:bf:7f:5c:b9
<br>No keys have been configured - skip key clearing<br>Associated with 00:12:bf:7f:5c:b9<br>WPA: Association event - clear replay counter<br>EAPOL: External notification - portEnabled=0<br>EAPOL: External notification - portValid=0
<br>EAPOL: External notification - EAP success=0<br>EAPOL: External notification - portEnabled=1<br>EAPOL: SUPP_PAE entering state CONNECTING<br>EAPOL: SUPP_BE entering state IDLE<br>Setting authentication timeout: 10 sec 0 usec
<br>RX EAPOL from 00:12:bf:7f:5c:b9<br>Setting authentication timeout: 10 sec 0 usec<br>IEEE 802.1X RX: version=1 type=3 length=117<br>  EAPOL-Key type=2<br>  key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)<br>  key_length=16 key_data_length=22
<br>  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 0a<br>  key_nonce - hexdump(len=32): 54 66 68 a5 67 fa 3b ed 4f 94 61 35 11 9b fa fa c2 d3 a9 f1 7f e6 55 c0 2f f4 64 09 64 04 ba 7a<br>  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
<br>  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00<br>  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00<br>  key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>State: ASSOCIATED -> 4WAY_HANDSHAKE
<br>WPA: RX message 1 of 4-Way Handshake from 00:12:bf:7f:5c:b9 (ver=2)<br>RSN: msg 1/4 key data - hexdump(len=22): dd 14 00 0f ac 04 f4 3b e6 c6 a6 54 e1 a7 1a 3c 9a 61 81 a0 68 e4<br>RSN: PMKID from Authenticator - hexdump(len=16): f4 3b e6 c6 a6 54 e1 a7 1a 3c 9a 61 81 a0 68 e4
<br>RSN: no matching PMKID found<br>WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00<br>WPA: Renewed SNonce - hexdump(len=32): d2 4c 5f cd a5 25 9f a3 cf 54 2f 67 d6 08 5e fb 7c 51 53 a2 89 a2 fe 49 c6 68 2f 0f 68 44 1a f1
<br>WPA: PMK - hexdump(len=32): [REMOVED]<br>WPA: PTK - hexdump(len=64): [REMOVED]<br>WPA: Sending EAPOL-Key 2/4<br>RTM_NEWLINK, IFLA_IFNAME: Interface 'ath0' added<br>EAPOL: startWhen --> 0<br>EAPOL: SUPP_PAE entering state CONNECTING
<br>EAPOL: txStart<br>WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)<br>RX EAPOL from 00:12:bf:7f:5c:b9<br>IEEE 802.1X RX: version=1 type=3 length=117<br>  EAPOL-Key type=2<br>  key_info 0x8a (ver=2 keyidx=0 rsvd=0 Pairwise Ack)
<br>  key_length=16 key_data_length=22<br>  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 0b<br>  key_nonce - hexdump(len=32): 54 66 68 a5 67 fa 3b ed 4f 94 61 35 11 9b fa fa c2 d3 a9 f1 7f e6 55 c0 2f f4 64 09 64 04 ba 7a
<br>  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00<br>  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00<br>  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00<br>  key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
<br>State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE<br>WPA: RX message 1 of 4-Way Handshake from 00:12:bf:7f:5c:b9 (ver=2)<br>RSN: msg 1/4 key data - hexdump(len=22): dd 14 00 0f ac 04 f4 3b e6 c6 a6 54 e1 a7 1a 3c 9a 61 81 a0 68 e4
<br>RSN: PMKID from Authenticator - hexdump(len=16): f4 3b e6 c6 a6 54 e1 a7 1a 3c 9a 61 81 a0 68 e4<br>RSN: no matching PMKID found<br>WPA: WPA IE for msg 2/4 - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
<br>WPA: PMK - hexdump(len=32): [REMOVED]<br>WPA: PTK - hexdump(len=64): [REMOVED]<br>WPA: Sending EAPOL-Key 2/4<br>CTRL-EVENT-TERMINATING - signal 2 received<br>Removing interface ath0<br>State: 4WAY_HANDSHAKE -> DISCONNECTED
<br>wpa_driver_madwifi_deauthenticate<br>No keys have been configured - skip key clearing<br>EAPOL: External notification - portEnabled=0<br>EAPOL: SUPP_PAE entering state DISCONNECTED<br>EAPOL: SUPP_BE entering state INITIALIZE
<br>EAPOL: External notification - portValid=0<br>wpa_driver_madwifi_set_drop_unencrypted: enabled=0<br>wpa_driver_madwifi_set_countermeasures: enabled=0<br>No keys have been configured - skip key clearing<br>Cancelling scan request
<br><br><span style="font-weight: bold; text-decoration: underline;">Problemlösung</span><br><br>Keine Ahnung... Offensichtlich kommt die WPA2 Verbindung nicht hoch. Einige Logmeldungen deuten auf Probleme hin "Association request to the driver failed". Aber was fange ich damit nun an und wie löse ich das Problem? Vielleicht mache ich auch ganz andere Fehler. Bin leider noch relativ unerfahren unter Linux...
<br><br>Vielen Dank für Eure Hilfe!<br><br>Besten Gruß,<br>Marc<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>