View previous topic :: View next topic |
Author |
Message |
ACE2xxx Tux's lil' helper
Joined: 07 May 2005 Posts: 88
|
Posted: Fri Mar 24, 2006 11:30 pm Post subject: DICKES PROBLEM mit ipw2200, wpa_supplicant und WPA-PSK! |
|
|
Hallo, also, das problem ist etwas kompliziert, ich habe einen D-Link Router, Statischen DHCP, versteckte SSID, WPA-PSK...
nachdem ich alles installiert habe, tut sich bei mir rein garnichts!
erst nach dem ich alles nochmal manuell starte rührt sich da was, aber es kommt trotzdem keine Verbindung zu stande!
nach dem booten heißt es nach
iwconfig
Code: |
unassociated ESSID:off/any
Mode:Managed Channel=0 Access Point: 00:00:00:00:00:00
Bit Rate=0 kb/s Tx-Power=20 dBm
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:0 Missed beacon:0
|
pingen geht selbstverständlich auch nciht!
meine config files sehen so aus:
/etc/wpa_supplicant.conf
Code: |
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=2
ap_scan=1
fast_reauth=1
#Home
network={
ssid="geheim"
scan_ssid=1
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=CCMP TKIP WEP104 WEP40
psk="geheim"
priority=2
}
|
/etc/conf.d/net
Code: |
iface_eth1="192.168.0.100 broadcast 192.168.0.255 netmask 255.255.255.0"
iwconfig_eth1="geheim"
gateway="eth1/192.168.0.102"
modules=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dipw"
wpa_timeout_eth1=60
|
/etc/modules.autoload.d/kernel-2.6
Code: |
ipw2200
ieee80211
ieee80211_crypt
ieee80211_crypt_wep
ieee80211_crypt_ccmp
ieee80211_crypt_tkip
|
soweit so gut.... wenn ich jetzt folgenden Befehl ausführe:
wpa_supplicant -B -i eth1 -c /etc/wpa_supplicant.conf -D ipw -w -dd
Code: |
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=2
ap_scan=1
fast_reauth=1
Line: 8 - start of a new network block
ssid - hexdump_ascii(len=16):
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff geheim
scan_ssid=1 (0x1)
key_mgmt: 0x2
proto: 0x1
pairwise: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=63): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line 17: removed CCMP from group cipher list since it was not allowed for pairwise cipher
Priority group 0
id=0 ssid='geheim'
Daemonize..
bash-2.05b# wpa_supplicant -i eth1 -dd -c /etc/wpa_supplicant.conf
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'default'
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=2
ap_scan=1
fast_reauth=1
Line: 8 - start of a new network block
ssid - hexdump_ascii(len=16):
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff geheim
scan_ssid=1 (0x1)
key_mgmt: 0x2
proto: 0x1
pairwise: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=63): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line 17: removed CCMP from group cipher list since it was not allowed for pairwise cipher
Priority group 0
id=0 ssid='geheim'
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
Own MAC address: 00:0e:35:ce:9d:b2
wpa_driver_hostap_set_wpa: enabled=1
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_countermeasures: enabled=0
wpa_driver_hostap_set_drop_unencrypted: enabled=1
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_hostap_set_wpa: enabled=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
wpa_driver_hostap_set_drop_unencrypted: enabled=0
wpa_driver_hostap_set_countermeasures: enabled=0
bash-2.05b# wpa_supplicant -i eth1 -dd -c /etc/wpa_supplicant.conf
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'default'
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=2
ap_scan=1
fast_reauth=1
Line: 8 - start of a new network block
ssid - hexdump_ascii(len=16):
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff geheim
scan_ssid=1 (0x1)
key_mgmt: 0x2
proto: 0x1
pairwise: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=63): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line 17: removed CCMP from group cipher list since it was not allowed for pairwise cipher
Priority group 0
id=0 ssid='geheim'
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
Own MAC address: 00:0e:35:ce:9d:b2
wpa_driver_hostap_set_wpa: enabled=1
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_countermeasures: enabled=0
wpa_driver_hostap_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=16):
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff geheim
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 277 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:13:46:0b:da:3c ssid='<hidden>' wpa_ie_len=24 rsn_ie_len=0
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 276 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:13:46:0b:da:3c ssid='<hidden>' wpa_ie_len=24 rsn_ie_len=0
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=16):
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff geheim
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 277 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:13:46:0b:da:3c ssid='<hidden>' wpa_ie_len=24 rsn_ie_len=0
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 277 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:13:46:0b:da:3c ssid='<hidden>' wpa_ie_len=24 rsn_ie_len=0
skip - SSID mismatch
No suitable AP found.
Setting scan request: 5 sec 0 usec
Signal 2 received - terminating
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_hostap_set_wpa: enabled=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
wpa_driver_hostap_set_drop_unencrypted: enabled=0
wpa_driver_hostap_set_countermeasures: enabled=0
|
dannach ein "iwconfig" zeigt auch keine änderungen an, auch wenn ich die SSID im Router sichtbar mache(die SSID's sind auch überall gleich, also das habe ich schon überprüft)
der Router zeigt auch keine Veränderungen in den LOGS
aber....
wenn ich jetzt manuel "connecte"...
iwconfig eth1 essid geheim enc on
Code: |
unassociated ESSID:"geheim"
Mode:Managed Channel=0 Access Point: 00:13:46:0B:DA:3C
Bit Rate=0 kb/s Tx-Power=20 dBm
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:0 Missed beacon:0
|
dann macht mich das doch Stutzig....da ich "nicht verbunden" bin, ABER...in den logs des Routers steht es eindeutig, dass ich mich angemeldet habe und verbunden bin! was ich jedoch mit einem negativen Ping ergebniss wiederlegen kann!!!!
Kann mir veilleicht einer helfen? Kennt einer ne Lösung zu diesem Problem, oder habe ich was vergessen oder ausgelassen? welche Schritte sind noch nötig, bzw fehlen mir??
ich wäre für jeden minimalen Hinweis dankbar, da ich mir schon so ziemlich alle Dokumentationen reingezogen habe und nicht mehr weiter weiß!!1
PS. Fall ich was vergessen habe aufzuführen oder anzugeben.....muss nur wissen was das ist, wird sofort nachgereicht!
MFG ACE |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9538 Location: beyond the rim
|
Posted: Sat Mar 25, 2006 1:04 am Post subject: |
|
|
Hmm, die ioctl Fehlermeldungen bei wpa_supplicant sagen dass er den prism2 Treiber benutzt was du glaub ich nicht willst. Ersetz mal '-D ipw' durch '-Dwext' (ohne Leerzeichen), das ist der generische Linux WLAN Treiber der auch mit ipw2200 funktioniert (und ich meine irgendwo gelesen zu haben dass er den ipw Treiber in wa_supplicant ersetzen soll). |
|
Back to top |
|
|
ACE2xxx Tux's lil' helper
Joined: 07 May 2005 Posts: 88
|
Posted: Sat Mar 25, 2006 8:24 am Post subject: |
|
|
nein, immer noch das selbe...keine änderungen!!! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|