Essendo ignorante in materia la prima cosa che ho fato è andare su wikislacky ed ho consultato questo hotwo: http://www.slacky.eu/wikislack/index.ph ... azione_WPA
Prima di scrivere i problemi, vi faccio una rapida panoramica della mia situazione: Usando un portatile ho raccattato una pendrive USB-wifi della 3-COM che è supportata dal driver zd1211, installato il modulo nel kernel la pendriver viene riconosciuta correttamente e appena collegata viene creato il device eth1 (eth0 è la scheda di rete del portatile).
Tra i vari hotwo ho scelto quello che vi ho sopraelencato perchè ho la necessità di collegarmi a più reti wireless (quindi con ESSID e password diverse fra loro) e creare diversi files wpa_supplicant.conf è di sicuro la scelta più pratica.
Ora veniamo ai problemi, ho configurato il file /etc/wpa_supplicant.conf con i dati della mia rete wi-fi casalinga ma quando do il seguente comando: wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth1
Ricevo il seguente output:
Codice: Seleziona tutto
nitializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'default' 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='users' (DEPRECATED)
eapol_version=1
ap_scan=1
fast_reauth=1
Priority group 2
id=1 ssid='any'
Priority group 0
id=0 ssid='Danger'
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
Could not configure driver to use managed mode
SIOCGIWRANGE: WE(compiled)=22 WE(source)=13 enc_capa=0x0
capabilities: key_mgmt 0x0 enc 0x3
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:0f:cb:c3:46:56
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
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
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
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
Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
ctrl_interface_group=100 (from group name 'users')
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
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
Scan results: -1
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Scan results did not fit - trying larger buffer (8192 bytes)
Scan results did not fit - trying larger buffer (16384 bytes)
Received 1181 bytes of scan results (4 BSSes)
Scan results: 4
Selecting BSS from priority group 2
0: 00:0f:b5:7a:65:48 ssid='Danger' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
1: 00:19:3e:f7:f0:90 ssid='Alice-39750654' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
2: 00:14:6c:a9:64:26 ssid='MORPHEUS' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
skip - SSID mismatch
3: 00:14:c1:14:a7:ed ssid='wallynet' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
Selecting BSS from priority group 0
0: 00:0f:b5:7a:65:48 ssid='Danger' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:0f:b5:7a:65:48 (SSID='Danger' freq=2452 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=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: 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
WEXT: Driver did not support SIOCSIWAUTH for AUTH_ALG, trying SIOCSIWENCODE
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Scan results did not fit - trying larger buffer (8192 bytes)
Scan results did not fit - trying larger buffer (16384 bytes)
Received 1181 bytes of scan results (4 BSSes)
Scan results: 4
Selecting BSS from priority group 2
0: 00:19:3e:f7:f0:90 ssid='Alice-39750654' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
1: 00:0f:b5:7a:65:48 ssid='Danger' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
2: 00:14:6c:a9:64:26 ssid='MORPHEUS' wpa_ie_len=26 rsn_ie_len=22 caps=0x11
skip - SSID mismatch
3: 00:14:c1:14:a7:ed ssid='wallynet' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
Selecting BSS from priority group 0
0: 00:19:3e:f7:f0:90 ssid='Alice-39750654' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
1: 00:0f:b5:7a:65:48 ssid='Danger' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Already associated with the selected AP.
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:0f:b5:7a:65:48 into blacklist
State: ASSOCIATING -> 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
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)Per me è arabo, ma a quanto pare c'è qualcosa che non va
Tra le altre cose il modulo del kernel, per fare una diagnostica precisa del problema, zd1211 l'ho dovuto installare "manualmente" (scaricando l'apposito archivio dal sito) anche se, leggendo in giro, doveva essere già incluso nel kernel (starò invecchiando, ma proprio non l'ho trovato).
Vi ringrazio tutti.. e vi prego di avere pazienza se qualche "dubbio" può risultare banale, ma prima di stasera (anzi notte) non ho configurato nulla che non abbia un cavo
Grazie a tutti
(Ps: "Danger" è l'ESSID della mia rete domestica)


