Hi, so langsam gehen mir die Ideen aus. Als Host-Rechner habe ich einen ACER Travelmate 661LCi mit einem Centrino IPW2100: root@jeordi:/etc# dmesg|grep ipw ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 1.0.4 ipw2100: Copyright(c) 2003-2004 Intel Corporation ipw2100: Detected Intel PRO/Wireless 2100 Network Connection Als OS habe ich Debian Sarge (Kanotix) mit folgenden installierten Paketen: wpasupplicant 0.3.8-1 ipw2100-2.6.10-kanotix-8 0-1 kernel-headers-2.6.10-kanotix-8 10.00.Custom Dazu habe ich einen Linksys WRT54GS mit Original-Firmware. Dieser wird auch erkannt: root@jeordi:/etc# iwlist eth1 scan eth1 Scan completed : Cell 01 - Address: 00:13:10:27:E4:68 ESSID:"Tqbfjotld" Protocol:IEEE 802.11bg Mode:Master Channel:5 Encryption key:on Bit Rate:54 Mb/s Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54 Signal level=-28 dBm Extra: Last beacon: 73ms ago Mit iwconfig sehe ich: root@jeordi:/etc# iwconfig lo no wireless extensions. eth0 no wireless extensions. eth1 unassociated ESSID:off/any Nickname:"ipw2100" Mode:Managed Channel=0 Access Point: 00:00:00:00:00:00 Bit Rate=0 kb/s Tx-Power:off Retry:on RTS thr:off Fragment thr:off 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:156 Missed beacon:0 ifconfig zeigt nur das loopback-Device. Die /etc/wpa_supplicant.conf enthält: ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=0 eapol_version=1 ap_scan=1 network={ ssid="Tqbfjotld" # scan_ssid=1 # Look for Debian-bug 305171 proto=WPA pairwise=TKIP key_mgmt=WPA-PSK # group=TKIP psk=d36a8cef0a1e914d661eb8f364f45219b36ea9ce1d20d595e708332e697c2911 priority=10 } Wenn ich jetzt den wpa_supplicant starte: root@jeordi:/etc# wpa_supplicant -w -Dipw -ieth1 \ -c /etc/wpa_supplicant.conf -dd erhalte ich: Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' ctrl_interface='/var/run/wpa_supplicant' ctrl_interface_group=0 eapol_version=1 ap_scan=1 Line: 205 - start of a new network block ssid - hexdump_ascii(len=7): 6d 79 5f 73 73 69 64 my_ssid proto: 0x1 pairwise: 0x8 key_mgmt: 0x2 group: 0x8 PSK - hexdump(len=32): [REMOVED] priority=10 (0xa) Priority group 10 id=0 ssid='my_ssid' Initializing interface (2) 'eth1' 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 wpa_driver_ipw_init is called Own MAC address: 00:04:23:59:48:1b wpa_driver_ipw_set_wpa: enabled=1 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported Failed to set encryption. wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported Failed to set encryption. wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported Failed to set encryption. wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported Failed to set encryption. wpa_driver_ipw_set_countermeasures: enabled=0 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported wpa_driver_ipw_set_drop_unencrypted: enabled=1 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported Setting scan request: 0 sec 100000 usec Using existing control interface directory. bind(PF_UNIX): Address already in use ctrl_iface exists and seems to be in use - cannot override it Delete '/var/run/wpa_supplicant/eth1' 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. wpa_driver_ipw_set_wpa: enabled=0 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported wpa_driver_ipw_set_drop_unencrypted: enabled=0 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported wpa_driver_ipw_set_countermeasures: enabled=0 ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported root@jeordi:/etc/init.d# Was soll das mit den ioctl-calls die der wpa_supplicant nicht kennen will? Ich habe den source-code des ipw2100 (ipw2100.c) angesehen (allerdings nicht selbst kompiliert) und sehe, daß die offsets genau gleich liegen wie im wpa_supplicant (driver_ipw.c). Ich habe die Debian-Bugs 299181, 304087 und 310136 gefunden, aber keiner dieser Bugs paßt so richtig zu meinem Thema. Nur bei 310136 wird vorgeschlagen den wpa_supplicant in rcS.d zu starten, also noch vor den Netzwerken. Aber ich will das Ganze ja on-demand haben. Weiß einer von euch einen Tip, wo ich weitersuchen könnte? Soll ich/muß ich den Treiber und wpa_supplicant selbst bauen? Konfiguriere ich falsch? Ciao, Georg -- Georg Lohrer GnuPGP-Key available on WebSite http://www.croxx.de
Attachment:
pgpy7G47FkhIC.pgp
Description: PGP signature