PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Verbindung mit wpa_supplicant scheitert



Zy0n
30.01.06, 19:50
etc/wpa-****up.conf:


ctrl_interface=/usr/sbin/wpa_supplicant
eapol_version=1
network={
ssid="****up"
scan_ssid=1
priority=5
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
#psk="sag ich euch doch nicht"
psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
}


etc/network/.interfaces:


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto ath0
iface ath0 inet static
pre-up /usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode sta
pre-up up /usr/sbin/wpa_supplicant -B -w -i ath0 -D madwifi -c /etc/wpa-****up.conf
address 192.168.2.3
netmask 255.255.255.0
network 192.168.2.255
wireless_essid ****up
wireless_mode managed
channel 6
mtu 1492
gateway 192.168.2.1


hier die -dd meldung von wpa_supplicant:


Initializing interface 'ath0' conf '/etc/wpa-****up.conf' driver 'madwifi'
Configuration file '/etc/wpa-****up.conf' -> '/etc/wpa-****up.conf'
Reading configuration file '/etc/wpa-****up.conf'
ctrl_interface='/usr/sbin/wpa_supplicant'
eapol_version=1
Line: 3 - start of a new network block
ssid - hexdump_ascii(len=6):
66 75 63 6b 75 70 ****up
scan_ssid=1 (0x1)
priority=5 (0x5)
proto: 0x1
key_mgmt: 0x2
pairwise: 0x18
group: 0x1e
PSK - hexdump(len=32): [REMOVED]
Priority group 5
id=0 ssid='****up'
Initializing interface (2) 'ath0'
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
Own MAC address: 00:0f:a3:73:4b:84
wpa_driver_madwifi_set_wpa: enabled=1
wpa_driver_madwifi_del_key: keyidx=0
wpa_driver_madwifi_del_key: keyidx=1
wpa_driver_madwifi_del_key: keyidx=2
wpa_driver_madwifi_del_key: keyidx=3
wpa_driver_madwifi_set_countermeasures: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program terminati
on
Could not unlink existing ctrl_iface socket '/usr/sbin/wpa_supplicant/ath0'
Failed to initialize control interface '/usr/sbin/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_madwifi_set_wpa: enabled=0
wpa_driver_madwifi_set_drop_unencrypted: enabled=0
wpa_driver_madwifi_set_countermeasures: enabled=0


vielleicht hilft das jemand noch zur Fehler suche (dmesg):

wlan: 0.8.4.2 (Atheros/multi-bss)
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.16.13 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, DFS)
ath_rate_sample: 1.2
ath_pci: 0.9.4.5 (Atheros/multi-bss)
PCI: Found IRQ 12 for device 0000:00:09.0
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.9 phy 4.3 radio 4.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0xe8000000, irq=12
Linux agpgart interface v0.100 (c) Dave Jones
PCI: Found IRQ 11 for device 0000:00:0a.0
IRQ routing conflict for 0000:00:0a.0, have irq 5, want irq 11
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:00:0a.0: 3Com PCI 3c905B Cyclone 100baseTx at 0xe800. Vers LK1.1.19
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:07.2: UHCI Host Controller
uhci_hcd 0000:00:07.2: irq 10, io base 0000e400
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
agpgart: Detected VIA Apollo MVP3 chipset
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: AGP aperture is 64M @ 0xe0000000
NET: Registered protocol family 10
Disabled Privacy Extensions on device c02c5200(lo)
IPv6 over IPv4 tunneling driver


Hat jemand eine Ahnung was da nicht stimmt? Eine nicht Verschlüsselte verbindung geht 1a. Sobald die Zeile mit wpa in der interfaces steht geht es nicht.

Würde mich sehr freuen wenn jemand eine idee hat

otaku42
06.02.06, 08:34
Welche Distribution verwendest Du? Hast Du wpa_supplicant selbst compiliert, oder verwendest Du ein vorgefertigtes Paket? Welche Version von wpa_supplicant setzt Du ein?