ich habe unter Debian "Lenny" Probleme mit dem Einrichten von wpa_supplicant und dem anschließenden Verbinden mit dem AccessPoint. Als WLAN-Karte habe ich in meinem Laptop eine Conceptronic C54RC (RaLink RT2561/RT61 rev B 802.11g) und als AP den DSL-Router LINKSYS WRT54GSV4.
Auf dem Router habe ich folgende Wireless-Einstellungen gemacht
- Security Mode: WPA2 Personal
WPA Algorithms: TKIP+AES
Wireless Network Mode: Mixed
Ich habe unter http://rt2x00.serialmonkey.com/rt61-cvs-daily.tar.gz den Treiber für den RaLink-Chip heruntergeladen und installiert, so daß die Karte erkannt wird:
Code: Alles auswählen
# iwconfig
lo no wireless extensions.
eth1 no wireless extensions.
wlan0 RT61 Wireless ESSID:"" Nickname:""
Mode:Managed Frequency:2.412 GHz Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=0/100 Signal level:-121 dBm Noise level:-111 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
/etc/wpa_supplicant/wpa_supplicant.conf
Code: Alles auswählen
# WPA-PSK/TKIP
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
network={
ssid="LINKSYS"
scan_ssid=1
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP
group=TKIP CCMP
#psk="Passwort"
psk=ccc6a80e3a28b0a91d38e0c3c9c5e6e672645656980436bf4ba74e89e031d929
priority=2
}
Code: Alles auswählen
# iwlist scanning
lo Interface doesn't support scanning.
eth1 Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: 00:14:BF:A5:74:99
ESSID:"LINKSYS"
Mode:Managed
Channel:4
Encryption key:on
Bit Rates:132 Mb/s
Quality:0/100 Signal level:-31 dBm Noise level:0 dBm
Cell 02 - Address: 00:15:0C:8F:3D:28
ESSID:"Telematic_Sprinter"
Mode:Managed
Channel:6
Encryption key:on
Bit Rates:6 Mb/s
Quality:0/100 Signal level:-71 dBm Noise level:0 dBm
Code: Alles auswählen
wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -dd
Code: Alles auswählen
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'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
ap_scan=1
Line: 7 - start of a new network block
ssid - hexdump_ascii(len=13): 49 54 2d 4c 49 4e 55 58 4d 41 4b 45 52 LINKSYS
scan_ssid=1 (0x1)
proto: 0x2
key_mgmt: 0x2
pairwise: 0x10
group: 0x18
PSK - hexdump(len=32): [REMOVED]
priority=2 (0x2)
Priority group 2
id=0 ssid='LINKSYS'
Initializing interface (2) 'wlan0'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=14 enc_capa=0x0
capabilities: key_mgmt 0x0 enc 0x3
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:80:5a:50:97:e1
wpa_driver_wext_set_wpa
Driver does not support WPA.
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Operation not supported
Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Operation not supported
Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Operation not supported
Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Operation not supported
Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
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
Using existing control interface directory.
ctrl_iface bind(PF_UNIX) failed: Address already in use
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.
Failed to add interface wlan0
State: DISCONNECTED -> 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
wpa_driver_wext_set_wpa
Failed to disable WPA in the driver.
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing
Cancelling scan request
Cancelling authentication timeout
WEXT: Operstate: linkmode=0, operstate=6
Weiß jemand hierzu Rat?
Vielen Dank!
Grüsse
Nelson