Keine WLAN - Verbindung mit IEEE 802.1x - Netz

Stollentroll

Stollentroll

Schattenparasit
Ich habe folgendes Problem:
Ich möchte bei mir an der FH das WLAN nutzen, ein EAP - TTLS (PAP) - Netz.
Der WLAN Chip ist von Broadcom, läuft mit ndiswrapper.
Das Ganze unter Gentoo.
Nun gibt es drei Punkte, die das Ganze erschweren.
Ich kann das WLAN nur austesten, wenn ich grade an der Hochschule bin.
Ich habe zuhause kein WLAN und kenne mich deswegen auch nicht unbedingt mit WLAN aus.
Es funktioniert nicht.

Ich versuche mich mit wpa_supplicant zu verbinden, die dazugehörige config - Datei ist von unserem Rechenzentrum bereitgestellt

Code:
#ctrl_interface=/var/run/wpa_supplicant
#ctrl_interface_group=0
eapol_version=1
ap_scan=2
#fast_reauth=1

network={
        mode=0
	ssid="802.1x"
	scan_ssid=1
	key_mgmt=IEEE8021X
	eap=TTLS
        anonymous_identity="anonymous"
	
	identity="***"
	password="***"

	ca_cert="/etc/ca.crt"
	
	subject_match="***"
	
	phase2="auth=PAP"
}
Login, Passwort und subject_match habe ich mal zensiert. ;)
Das, was auskommentiert ist, habe ich rausgenommen, um auszutesten ob das eine Veränderung bringt, und weil zwei Config Dateien vom RZ herausgegeben werden, eine nur mit network - Teil.

Zusätzlich wird vom RZ noch ein Startskript herausgegeben, das ich allerdings nicht benutze:
Code:
#!/bin/sh

pkill wpa_supplicant
pkill dhclient

rm -fr /var/run/wpa_supplicant

ifconfig wlan0 0.0.0.0 down
ifconfig eth1 0.0.0.0 down

iwconfig wlan0 mode Managed
iwconfig wlan0 key 000000000 key open
iwconfig wlan0 essid 802.1x

wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -D wext -B
sleep 5
dhcpcd wlan0
Ich habe bisher immer versucht, mit
Code:
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf -D wext
zu starten.

Jetzt habe ich wpa_supplicant mal im Debug - Modus gestartet, um weiter zu kommen.
Code:
 laptop1 christoph # wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -d &
[1] 8279
laptop1 christoph # Initializing interface 'wlan0' conf '/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' -> '/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
eapol_version=1
ap_scan=2
Priority group 0
   id=0 ssid='802.1x'
   Initializing interface (2) 'wlan0'
   EAPOL: SUPP_PAE entering state DISCONNECTED
   EAPOL: KEY_RX entering state NO_KEY_RECEIVE
   EAPOL: SUPP_BE entering state INITIALIZE
   EAP: EAP entering state DISABLED
   EAPOL: External notification - portEnabled=0
   EAPOL: External notification - portValid=0
   SIOCGIWRANGE: WE(compiled)=21 WE(source)=18 enc_capa=0xf
     capabilities: key_mgmt 0xf enc 0xf
     WEXT: Operstate: linkmode=1, operstate=5
     Own MAC address: 00:14:a5:f4:f8:1e
     wpa_driver_wext_set_wpa
     wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
     wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
     wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
     wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
     wpa_driver_wext_set_countermeasures
     wpa_driver_wext_set_drop_unencrypted
     Setting scan request: 0 sec 100000 usec
     Added interface wlan0
     RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
     Wireless event: cmd=0x8b06 len=8
     State: DISCONNECTED -> SCANNING
     Trying to associate with SSID '802.1x'
     Cancelling scan request
     WPA: clearing own WPA/RSN IE
     Automatic auth_alg selection: 0x1
     WPA: clearing AP WPA IE
     WPA: clearing AP RSN IE
     WPA: clearing own WPA/RSN IE
     No keys have been configured - skip key clearing
     wpa_driver_wext_set_drop_unencrypted
     State: SCANNING -> ASSOCIATING
     wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
     WEXT: Operstate: linkmode=-1, operstate=5
     wpa_driver_wext_associate
     Setting authentication timeout: 60 sec 0 usec
     EAPOL: External notification - portControl=Auto
     RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
     Wireless event: cmd=0x8b06 len=8
     RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
     Wireless event: cmd=0x8b1a len=14
     RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
     Wireless event: cmd=0x8b06 len=8
     RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
     Wireless event: cmd=0x8b1a len=14
     Authentication with 00:00:00:00:00:00 timed out.
     Added BSSID 00:00:00:00:00:00 into blacklist
     State: ASSOCIATING -> DISCONNECTED
     wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
     WEXT: Operstate: linkmode=-1, operstate=5
     No keys have been configured - skip key clearing
     EAPOL: External notification - portEnabled=0
     EAPOL: External notification - portValid=0
     Setting scan request: 0 sec 0 usec
     State: DISCONNECTED -> SCANNING
     Trying to associate with SSID '802.1x'
     Cancelling scan request
     WPA: clearing own WPA/RSN IE
     Automatic auth_alg selection: 0x1
     WPA: clearing AP WPA IE
     WPA: clearing AP RSN IE
     WPA: clearing own WPA/RSN IE
     No keys have been configured - skip key clearing
     wpa_driver_wext_set_drop_unencrypted
     State: SCANNING -> ASSOCIATING
     wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
     WEXT: Operstate: linkmode=-1, operstate=5
     wpa_driver_wext_associate
     Setting authentication timeout: 60 sec 0 usec
     EAPOL: External notification - portControl=Auto
     RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
     Wireless event: cmd=0x8b06 len=8
     RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
     Wireless event: cmd=0x8b1a len=14
     RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
     Wireless event: cmd=0x8b06 len=8
     RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
     Wireless event: cmd=0x8b1a len=14

     laptop1 christoph # iAuthentication with 00:00:00:00:00:00 timed out.
     BSSID 00:00:00:00:00:00 blacklist count incremented to 2
     State: ASSOCIATING -> DISCONNECTED
     wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
     WEXT: Operstate: linkmode=-1, operstate=5
     No keys have been configured - skip key clearing
     EAPOL: External notification - portEnabled=0
     EAPOL: External notification - portValid=0
     Setting scan request: 0 sec 0 usec
     State: DISCONNECTED -> SCANNING
     Trying to associate with SSID '802.1x'
     Cancelling scan request
     WPA: clearing own WPA/RSN IE
     Automatic auth_alg selection: 0x1
     WPA: clearing AP WPA IE
     WPA: clearing AP RSN IE
     WPA: clearing own WPA/RSN IE
     No keys have been configured - skip key clearing
     wpa_driver_wext_set_drop_unencrypted
     State: SCANNING -> ASSOCIATING
     wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
     WEXT: Operstate: linkmode=-1, operstate=5
     wpa_driver_wext_associate
     Setting authentication timeout: 60 sec 0 usec
     EAPOL: External notification - portControl=Auto
     RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
     Wireless event: cmd=0x8b06 len=8
     RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
     Wireless event: cmd=0x8b1a len=14

     laptop1 christoph #
     laptop1 christoph # wpa_cli status
     Selected interface 'wlan0'
     wpa_state=ASSOCIATING
     Supplicant PAE state=DISCONNECTED
     suppPortStatus=Unauthorized
     EAP state=DISABLED

Hier noch mal die (relevante) Ausgabe von iwconfig:
Code:
laptop1 christoph # iwconfig
wlan0     IEEE 802.11a  ESSID:off/any
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated
          Bit Rate=54 Mb/s   Tx-Power:24 dBm
          RTS thr=2347 B   Fragment thr=2346 B
	  Encryption key:off
	  Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
	  Tx excessive retries:0  Invalid misc:0   Missed beacon:0

In dem Log taucht immer wieder dieses hier auf:
Code:
Authentication with 00:00:00:00:00:00 timed out.

Ich denke mal, das heißt genau das, was da steht, ich will mich mit einer seltsamen Adresse verbinden, was zu einem Timeout führt.
Nur, was kann ich jetzt machen kann?
Für ein paar Ideen wär ich dankbar. :)
Wie gesagt, all zu viel Zeit zum rumpruckeln habe ich immer nicht.
 
Zuletzt bearbeitet:

Ähnliche Themen

WLAN funktioniert nicht

Ubuntu X / dbus problem

Router crash bei Fedora 15!?

Wlan soll beim booten automatisch starten

Wlan will nicht mehr (rt2500pci)

Zurück
Oben