Router wireless+WPA [RISOLTO]

Usate questo forum per richieste di aiuto e consigli sull'hardware montato nelle vostre macchine con GNU/Linux Slackware.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata e la versione del Kernel. Questi dati aiutano le persone che possono rispondere.
2) Citare il tipo di hardware coinvolto in modo dettagliato.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT. Non usare termini gergali come procio, mobo e simili per identificare i componenti hardware.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Router wireless+WPA [RISOLTO]

Messaggio da Burroughs »

Utilizzo da quasi due anni e mezzo un router wireless 3Com, modello 3CRWE754G72-A, che implementa anche un access point.
Nella mia piccola WLAN (un portatile ed un fisso e, di quando in quando,un palmare) ho deciso di provare la criptazione WPA, per ovvi motivi di sicurezza.
Ah, dimenticavo, sul portatile ho il chip wi-fi Intel IPW2200BG, sul fisso una chiavetta USB US Robotics che faccio andare con ndiswrapper.
Premetto che col WEP non ho mai avuto problemi di sorta.
Bene, sul router scelgo WPA-PSK come sistema di gestione delle chiavi, ne imposto una e poi vado ad installare sulle macchine interessate wpa_supplicant, versione 0.5.4 (compilato da sorgenti).
Vado a provare il tutto.
Lo script che utilizzo sul portatile, per esempio, è questo:

Codice: Seleziona tutto

echo "Imposto le proprietà della connessione"
iwconfig eth1 essid "essid_name"
iwconfig eth1 mode Managed
iwconfig eth1 channel 10
echo "Riconfiguro la tabella di instradamento"
route add -net 192.168.1.0 netmask 255.255.255.0 dev eth1
route add default gw 192.168.1.1 eth1
echo "Carico la configurazione di wpa_supplicant"
cp /root/backup/config_files/wpa_supplicant.conf_myconf /etc/wpa_supplicant.conf
echo "Entro nella WLAN Pincopalla"
wpa_supplicant -D wext -c/etc/wpa_supplicant.conf -ieth1
Fatto questo, noto che o il portatile o il fisso, molto più spesso di quanto non si pensi, non riescono ad accedere alla rete: dalla shell viene visualizzato un messaggio di disconnessione con relativa rimozione delle chiavi.
Non solo, lo stesso problema viene anche avvertito dal mio palmarino, il mitico Nokia 770.
Cosa faccio allora?
Riavvio il router e tutto riprende a funzionare.
Convinto di aver combinato qualche sbaglio nella mia configurazione, passo a fare dei test con Windows: bene, anche in questo caso, di tanto in tanto, non si riesce a pingare il router, sintomo che c'è qualcosa che non va.
Ora, io ho aggiornato il firmware del router all'ultima versione disponibile e, come scrivevo prima, il router per il resto sembra andare.
L'unico problema riscontrato in questi anni è stato uno sbalzo di tensione che mi ha fatto saltare una porta Ethernet ma per il resto tutto ok.
Qualcuno di voi ha avuto un'esperienza simile alla mia?

Burroughs.
Ultima modifica di Burroughs il sab 7 apr 2007, 17:35, modificato 1 volta in totale.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

Avatar utente
Bruffandino
Linux 1.x
Linux 1.x
Messaggi: 183
Iscritto il: mer 24 nov 2004, 0:00
Slackware: 12.2
Kernel: 2.6.28
Desktop: KDE 3.5.10

Messaggio da Bruffandino »

quando lanci wpa_supplicant attiva il debug (-d) e vedi che ti dice..

Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Messaggio da Burroughs »

Beh, il debugging mi dice questo (chiedo scusa in anticipo per la lunghezza del listato):

Codice: Seleziona tutto

root@andy:~# wpa_up
Imposto le proprietà della connessione
Riconfiguro la tabella di instradamento
Carico la configurazione di wpa_supplicant
Entro nella WLAN Lago
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
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' (DEPRECATED)
eapol_version=1
ap_scan=1
fast_reauth=1
Priority group 0
   id=0 ssid='Lago'
Initializing interface (2) 'eth1'
SIOCGIWRANGE: WE(compiled)=20 WE(source)=18 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:0e:35:0e:b1:0e
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
ctrl_interface_group=0
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 253 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0d:54:fb:bb:f8 ssid='Lago' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Trying to associate with 00:0d:54:fb:bb:f8 (SSID='Lago' freq=2457 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
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: 10 sec 0 usec
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=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=13
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0d:54:fb:bb:f8 ssid='Lago' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Already associated with the selected AP.
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0d:54:fb:bb:f8
State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Associated to a new BSS: BSSID=00:0d:54:fb:bb:f8
No keys have been configured - skip key clearing
Associated with 00:0d:54:fb:bb:f8
WPA: Association event - clear replay counter
Setting authentication timeout: 10 sec 0 usec
Cancelling scan request
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RX EAPOL from 00:0d:54:fb:bb:f8
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
  key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
  key_length=32 key_data_length=0
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 47
  key_nonce - hexdump(len=32): 4f 65 dd b1 74 99 bc 12 cf 5f cf af e0 e0 fa e3 ec f7 8d 3c f8 95 c4 60 ad 93 e4 7f f7 24 87 b6
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
State: ASSOCIATED -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:0d:54:fb:bb:f8 (ver=1)
WPA: Renewed SNonce - hexdump(len=32): b8 58 83 fe 9d 46 a6 c3 f2 73 bb 14 58 d6 ab 9a ef 3b 83 3f 7f 86 84 18 5e 2b b7 c1 b6 63 3f 6b
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: WPA IE for messaggio 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: Sending EAPOL-Key 2/4
RX EAPOL from 00:0d:54:fb:bb:f8
IEEE 802.1X RX: version=1 type=3 length=121
  EAPOL-Key type=254
  key_info 0x1c9 (ver=1 keyidx=0 rsvd=0 Pairwise Install Ack MIC)
  key_length=32 key_data_length=26
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 48
  key_nonce - hexdump(len=32): 4f 65 dd b1 74 99 bc 12 cf 5f cf af e0 e0 fa e3 ec f7 8d 3c f8 95 c4 60 ad 93 e4 7f f7 24 87 b6
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 78 64 28 5e 85 5b 02 cb 76 b2 a1 63 01 bc fd 4b
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 3 of 4-Way Handshake from 00:0d:54:fb:bb:f8 (ver=1)
WPA: IE KeyData - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: Sending EAPOL-Key 4/4
WPA: Installing PTK to the driver.
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
wpa_driver_wext_set_key: alg=2 key_idx=0 set_tx=1 seq_len=6 key_len=32
State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
Authentication with 00:0d:54:fb:bb:f8 timed out.
Added BSSID 00:0d:54:fb:bb:f8 into blacklist
State: GROUP_HANDSHAKE -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_disassociate
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_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
BSSID 00:0d:54:fb:bb:f8 blacklist count incremented to 2
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
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_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 252 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0d:54:fb:bb:f8 ssid='Lago' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
   skip - blacklisted
No APs found - clear blacklist and try again
Removed BSSID 00:0d:54:fb:bb:f8 from blacklist (clear)
Selecting BSS from priority group 0
0: 00:0d:54:fb:bb:f8 ssid='Lago' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Trying to associate with 00:0d:54:fb:bb:f8 (SSID='Lago' freq=2457 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: DISCONNECTED -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
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=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=13
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0d:54:fb:bb:f8
State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Associated to a new BSS: BSSID=00:0d:54:fb:bb:f8
No keys have been configured - skip key clearing
Associated with 00:0d:54:fb:bb:f8
WPA: Association event - clear replay counter
Setting authentication timeout: 10 sec 0 usec
Cancelling scan request
RX EAPOL from 00:0d:54:fb:bb:f8
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
  key_info 0x289 (ver=1 keyidx=0 rsvd=0 Pairwise Ack Secure)
  key_length=32 key_data_length=0
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 4c
  key_nonce - hexdump(len=32): 4f 65 dd b1 74 99 bc 12 cf 5f cf af e0 e0 fa e3 ec f7 8d 3c f8 95 c4 60 ad 93 e4 7f f7 24 87 ba
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
State: ASSOCIATED -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:0d:54:fb:bb:f8 (ver=1)
WPA: Renewed SNonce - hexdump(len=32): 85 f6 25 84 45 04 ee dc f6 58 73 3e aa 66 2f 3e 54 df 37 09 fd d0 12 b2 4b c6 1d 91 15 1e 85 91
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: WPA IE for messaggio 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: Sending EAPOL-Key 2/4
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b19 len=8
Received 252 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0d:54:fb:bb:f8 ssid='Lago' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Already associated with the selected AP.
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RX EAPOL from 00:0d:54:fb:bb:f8
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
  key_info 0x289 (ver=1 keyidx=0 rsvd=0 Pairwise Ack Secure)
  key_length=32 key_data_length=0
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 4d
  key_nonce - hexdump(len=32): 4f 65 dd b1 74 99 bc 12 cf 5f cf af e0 e0 fa e3 ec f7 8d 3c f8 95 c4 60 ad 93 e4 7f f7 24 87 ba
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:0d:54:fb:bb:f8 (ver=1)
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: WPA IE for messaggio 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: Sending EAPOL-Key 2/4
RX EAPOL from 00:0d:54:fb:bb:f8
IEEE 802.1X RX: version=1 type=3 length=121
  EAPOL-Key type=254
  key_info 0x3c9 (ver=1 keyidx=0 rsvd=0 Pairwise Install Ack MIC Secure)
  key_length=32 key_data_length=26
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 4e
  key_nonce - hexdump(len=32): 4f 65 dd b1 74 99 bc 12 cf 5f cf af e0 e0 fa e3 ec f7 8d 3c f8 95 c4 60 ad 93 e4 7f f7 24 87 ba
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 10 82 46 85 de d4 ca 98 93 b7 2b 84 c9 8a 42 32
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 3 of 4-Way Handshake from 00:0d:54:fb:bb:f8 (ver=1)
WPA: IE KeyData - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: Sending EAPOL-Key 4/4
WPA: Installing PTK to the driver.
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
wpa_driver_wext_set_key: alg=2 key_idx=0 set_tx=1 seq_len=6 key_len=32
State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
Authentication with 00:0d:54:fb:bb:f8 timed out.
Added BSSID 00:0d:54:fb:bb:f8 into blacklist
State: GROUP_HANDSHAKE -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_disassociate
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_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
BSSID 00:0d:54:fb:bb:f8 blacklist count incremented to 2
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
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_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 251 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0d:54:fb:bb:f8 ssid='Lago' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
   skip - blacklisted
No APs found - clear blacklist and try again
Removed BSSID 00:0d:54:fb:bb:f8 from blacklist (clear)
Selecting BSS from priority group 0
0: 00:0d:54:fb:bb:f8 ssid='Lago' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Trying to associate with 00:0d:54:fb:bb:f8 (SSID='Lago' freq=2457 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: DISCONNECTED -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
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=0x8b04 len=12
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=13
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0d:54:fb:bb:f8
State: ASSOCIATING -> ASSOCIATED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Associated to a new BSS: BSSID=00:0d:54:fb:bb:f8
No keys have been configured - skip key clearing
Associated with 00:0d:54:fb:bb:f8
WPA: Association event - clear replay counter
Setting authentication timeout: 10 sec 0 usec
Cancelling scan request
RX EAPOL from 00:0d:54:fb:bb:f8
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
  key_info 0x289 (ver=1 keyidx=0 rsvd=0 Pairwise Ack Secure)
  key_length=32 key_data_length=0
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 50
  key_nonce - hexdump(len=32): 4f 65 dd b1 74 99 bc 12 cf 5f cf af e0 e0 fa e3 ec f7 8d 3c f8 95 c4 60 ad 93 e4 7f f7 24 87 bc
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
State: ASSOCIATED -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:0d:54:fb:bb:f8 (ver=1)
WPA: Renewed SNonce - hexdump(len=32): 17 a3 16 07 35 b7 40 cb be 80 b8 ea de 99 c3 f5 ad e3 c9 97 4f 5c b2 e3 36 18 94 1d 05 c4 17 74
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: WPA IE for messaggio 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: Sending EAPOL-Key 2/4
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
Wireless event: cmd=0x8b19 len=8
Received 252 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0d:54:fb:bb:f8 ssid='Lago' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
   selected based on WPA IE
Already associated with the selected AP.
RX EAPOL from 00:0d:54:fb:bb:f8
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
  key_info 0x289 (ver=1 keyidx=0 rsvd=0 Pairwise Ack Secure)
  key_length=32 key_data_length=0
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 51
  key_nonce - hexdump(len=32): 4f 65 dd b1 74 99 bc 12 cf 5f cf af e0 e0 fa e3 ec f7 8d 3c f8 95 c4 60 ad 93 e4 7f f7 24 87 bc
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 1 of 4-Way Handshake from 00:0d:54:fb:bb:f8 (ver=1)
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: WPA IE for messaggio 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: Sending EAPOL-Key 2/4
RX EAPOL from 00:0d:54:fb:bb:f8
IEEE 802.1X RX: version=1 type=3 length=121
  EAPOL-Key type=254
  key_info 0x3c9 (ver=1 keyidx=0 rsvd=0 Pairwise Install Ack MIC Secure)
  key_length=32 key_data_length=26
  replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 52
  key_nonce - hexdump(len=32): 4f 65 dd b1 74 99 bc 12 cf 5f cf af e0 e0 fa e3 ec f7 8d 3c f8 95 c4 60 ad 93 e4 7f f7 24 87 bc
  key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
  key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
  key_mic - hexdump(len=16): fb 74 54 ff 98 83 a0 fd dd 45 cd eb 88 3f 4b 04
State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
WPA: RX message 3 of 4-Way Handshake from 00:0d:54:fb:bb:f8 (ver=1)
WPA: IE KeyData - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: Sending EAPOL-Key 4/4
WPA: Installing PTK to the driver.
WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
wpa_driver_wext_set_key: alg=2 key_idx=0 set_tx=1 seq_len=6 key_len=32
State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth1
State: GROUP_HANDSHAKE -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_deauthenticate
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_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_wpa
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
In pratica, è possibile (per il chip wifi del mio laptop) associarsi all'access point ma non autenticarsi.
Ho provato compilando anche la versione più recente di wpa_supplicant, la 0.5.7, ed anche il pacchetto precompilato da Pat (corrispondente alla 0.4.9), ma la situazione non si sposta di un centimetro.

Burroughs.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

evaimitico
Linux 1.x
Linux 1.x
Messaggi: 140
Iscritto il: mer 16 giu 2004, 0:00

Messaggio da evaimitico »

io ho la tua stessa scheda wireless e la mia situazione è così:

- router netgear dgb834g
- driver ipw2200 del kernel 2.6.19.2
- wpa_supplicant 0.4.9


il ruoter è configurato per wpa-psk, dhcp attivo e controllo del MAC.
a me funziona tutto!

tu che versioni usi?
sei sicuro di aver messo la giusta chiave in psk nel wpa_supplicant.conf?

Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Messaggio da Burroughs »

Il modello del mio router lo trovi più in alto.
Rispetto a te, utilizzo i driver ipw2200 "esterni", quelli cioè forniti dalla community, guidata da Intel, che li sviluppa.
L'unica cosa strana che ho notato è che con i "nuovi" driver installati (dico nuovi perché sono di un mese fa), versione 1.2.1, ho i problemi di cui sopra, con la vecchia versione che utilizzavo, la 1.1.3, tutto ok.
Io sospetto un bug.

Burroughs.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

mr_hyde
Linux 0.x
Linux 0.x
Messaggi: 66
Iscritto il: dom 5 nov 2006, 14:02
Slackware: current (>= 13)
Località: Genova

Colpa di Babbo Natale?

Messaggio da mr_hyde »

Anch'io qualche mese fa ho avuto problemi simili: fino a Dicembre aveva funzionato tutto poi, verso la fine del mese, avevo spesso difficolta' a connettere i miei pc al router wireless, sia con Linux che con WIndows.
Dopo vari mastrussamenti ho finalmente capito: tutta colpa di Babbo Natale!

E si', perche' quel sant'uomo ha portato ad uno dei miei vicini di casa un router wireless e anche lui usava per la sua rete il mio stesso canale (intendo il vicino, non Babbo Natale!)

Soluzione: impostata la scelta del canale su AUTO, sia sul router che sui PC e tutto ha ripreso a funzionare!

Tu usi un canale fisso? Controllato che nelle vicinanze non ci sia un'altra wireless? (anche se funziona su frequenze vicine alle volte puo' dare fastidio)

Ciao,
Mr Hyde

Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Re: Colpa di Babbo Natale?

Messaggio da Burroughs »

mr_hyde ha scritto:Anch'io qualche mese fa ho avuto problemi simili: fino a Dicembre aveva funzionato tutto poi, verso la fine del mese, avevo spesso difficolta' a connettere i miei pc al router wireless, sia con Linux che con WIndows.
Dopo vari mastrussamenti ho finalmente capito: tutta colpa di Babbo Natale!
Vorrei poterti dar ragione ma, anche se uso un canale fisso, tutte le altre macchine della mia WLAN vanno in rete tranquillamente, compreso il serverino Slack su cui si trova un dongle wifi US Robotics.
Penso proprio sia un bug della versione 1.2.1 dei drivers del chip wifi.

Burroughs.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

Avatar utente
Burroughs
Linux 4.x
Linux 4.x
Messaggi: 1076
Iscritto il: mer 15 dic 2004, 0:00
Nome Cognome: Andrea Lutri
Kernel: 3.16.0
Desktop: KDE SC 4.13.3
Distribuzione: Arch Linux
Località: Glasgow
Contatta:

Messaggio da Burroughs »

Mercoledì scorso, 4 aprile, è stata rilasciata la versione 1.2.17 del subsystem ieee80211.
Bene, ho disinstallato la precedente versione, la 1.2.16, installato la nuova e... voilà, il problema è scomparso in un attimo.
Da tutto ciò deduco che la 1.2.16 fosse cannata.
Per il download della 1.2.17, fate il download da qui.

Burroughs.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe" (Albert Einstein)

Rispondi