<div id="_htmlarea_default_style_" style="font:10pt arial,helvetica,sans-serif">Ciao a tutti!<br>Questo è il mio primo passo in tech; ovvero quello successivo ai primipassi. Il mio livello è decisamente adatto all'altra mailing-list, ma il mio problema sembra di no e mi hanno suggerito di proporlo a voi...<br><br>Uso da tempo il pacchetto wpa_supplicant (Debian-Etch) per conessioni wireless wpa, impostando il tutto con la sola scrittura del file /etc/network/interfaces. Ora ho necessità di utilizzare una rete WPA TKIP PEAP MSCHAPv2 e non riesco ad attivare la connessione.<br>Dagli elementi che ho raccolto sembra opportuno introdurre un wpa_supplicant.conf; i due modelli che ho sono quello del man e quello suggerito da altri che usano la stessa rete:<br><br>ctrl_interface=/var/run/wpa_supplicant<br><br># EAP-PEAP/MSCHAPv2 configuration for RADIUS servers that use the new peaplabel<br># (e.g., Radiator)<br>network={<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ssid="nomerete"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; key_mgmt=WPA-EAP<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eap=PEAP<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; identity="***********************"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; password="*********"<br>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ca_cert="/etc/cert/ca.pem"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; phase1="peaplabel=1"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; phase2="auth=MSCHAPV2"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; priority=10<br>}<br><br>ho commentato il ca_cert, non avendo alcun certificato...<br><br>ctrl_interface=/var/run/wpa_supplicant<br>ctrl_interface_group=0<br>ap_scan=1<br>eapol_version=1<br>fast_reauth=1<br>network={<br>ssid="nomerete"<br>scan_ssid=1<br>key_mgmt=WPA-EAP<br>proto=WPA<br>pairwise=TKIP<br>group=TKIP<br>identity="***********************"<br>psk="*********"<br>phase1="peapver=0"<br>phase2="auth=MSCHAPV2"<br>priority=9<br>}<br><br>Ho fatto innumerevoli prove variando i parametri ma senza successo.<br>Quel che ottengo lanciando wpa_supplicant è (riporto ciò che mi sembra rilevante):<br><br>Initializing interface (2) 'eth1'<br>EAPOL: SUPP_PAE entering state DISCONNECTED<br>EAPOL: KEY_RX entering state NO_KEY_RECEIVE<br>EAPOL: SUPP_BE entering state INITIALIZE<br>EAP: EAP entering state DISABLED<br>EAPOL: External notification - portEnabled=0<br>EAPOL: External notification - portValid=0<br>SIOCGIWRANGE: WE(compiled)=20 WE(source)=18 enc_capa=0xf<br>&nbsp; capabilities: key_mgmt 0xf enc 0xf<br>WEXT: Operstate: linkmode=1, operstate=5<br>Own MAC address: 00:13:ce:99:7a:8a<br>wpa_driver_hostap_set_wpa: enabled=1<br>wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0<br>ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported<br>Failed to set encryption.<br>[...]<br>wpa_driver_hostap_set_countermeasures: enabled=0<br>wpa_driver_hostap_set_drop_unencrypted: enabled=1<br>Setting scan request: 0 sec 100000 usec<br>Added interface eth1<br>RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()<br>Wireless event: cmd=0x8b06 len=8<br>RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])<br>RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added<br>RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])<br>RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added<br>RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])<br>RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added<br>State: DISCONNECTED -&gt; SCANNING<br>Starting AP scan (broadcast SSID)<br>[...]<br>Cancelling scan request<br>[...]<br>No keys have been configured - skip key clearing<br>wpa_driver_hostap_set_drop_unencrypted: enabled=1<br>State: SCANNING -&gt; ASSOCIATING<br>wpa_driver_wext_set_operstate: operstate 0-&gt;0 (DORMANT)<br>WEXT: Operstate: linkmode=-1, operstate=5<br>wpa_driver_hostap_associate<br>ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported<br>[...]<br>Selecting BSS from priority group 10<br>[...]<br>&nbsp;&nbsp; selected based on WPA IE<br>Already associated with the selected AP.<br><br>dmesg dice:<br>IPv6 over IPv4 tunneling driver<br>eth1: NETDEV_TX_BUSY returned; driver should report queue full via ieee_device-&gt;is_queue_full.<br>eth1: no IPv6 routers present<br><br>E voi? Avete qualche
consiglio?<br>Grazie!<br><br>Filippo<br><br></div>