problema con wpa_supplicant e ipw [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.
Avatar utente
insanet
Linux 0.x
Linux 0.x
Messaggi: 26
Iscritto il: lun 19 feb 2007, 7:45

problema con wpa_supplicant e ipw [RISOLTO]

Messaggio da insanet »

ciao a tutti,

premetto che ho seguito le strategie di 3 diversi forum (compreso slacky ovviamente 8) ) per cercare di far funzionare il mio wpa_supplicant sul mio sony vaio vgn-s3xp, ma risultati zero; credo di aver commesso un errore veramente scemo alla base della configurazione e per questo mi sto dannando (es: mi manca qualcosa nel kernel!?!?)

kernel:

Codice: Seleziona tutto

root@widow:~# uname -a
Linux widow 2.6.18.3 #4 Tue Nov 28 00:35:41 CET 2006 i686 i686 i386 GNU/Linux
scheda wireless integrata:

Codice: Seleziona tutto

root@widow:~# lspci
...
06:0b.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
versioni driver e firmware:

Codice: Seleziona tutto

ieee80211-1.2.16
ipw2200-1.2.1
ipw2200-fw-3.0
lsmod:

Codice: Seleziona tutto

root@widow:~# lsmod
Module                  Size  Used by
ipw2200               158660  0
hci_usb                12508  0
bluetooth              44452  1 hci_usb
snd_seq_dummy           3780  0
snd_seq_oss            29376  0
snd_seq_midi_event      6656  1 snd_seq_oss
snd_seq                44304  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          7756  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            38944  0
snd_mixer_oss          16000  1 snd_pcm_oss
ieee80211              43496  1 ipw2200
ieee80211_crypt         5696  1 ieee80211
nvidia               4712212  22
snd_hda_intel          17620  1
snd_hda_codec         142064  1 snd_hda_intel
snd_pcm                63752  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer              21444  2 snd_seq,snd_pcm
snd                    46948  11 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
snd_page_alloc          9736  2 snd_hda_intel,snd_pcm
ide_scsi               15620  0
agpgart                32048  1 nvidia
wpa_supplicant.conf

Codice: Seleziona tutto

root@widow:~# cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
# se metto ap_scan!=2 mi dice: Failed to initiate AP scan.
ap_scan=2
fast_reauth=1

network={
        ssid="WGU624"
        proto=WPA
        key_mgmt=WPA-PSK
        pairwise=TKIP
        group=TKIP
        psk="passblablabla"
}
wpa_supplicant debug information:

Codice: Seleziona tutto

root@widow:~# wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth1 -Dipw
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw' 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=2
fast_reauth=1
Priority group 0
   id=0 ssid='WGU624'
Initializing interface (2) 'eth1'
wpa_driver_ipw_init is called
ioctl[SIOCSIWMODE]: Operation not supported
Could not configure driver to use managed mode
ioctl[SIOCGIWRANGE]: Operation not supported
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 08:00:46:03:01:da
wpa_driver_ipw_set_wpa: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting scan request: 0 sec 100000 usec
ctrl_interface_group=0
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'WGU624'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: clearing AP WPA IE
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_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[SIOCSIWESSID]: Operation not supported
ioctl[SIOCSIWAP]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 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
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'WGU624'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: clearing AP WPA IE
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_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[SIOCSIWESSID]: Operation not supported
ioctl[SIOCSIWAP]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec

questo è quanto...
premetto che sono abbastanza nuovo del mondo linux,
ma mi è piaciuto subito! ora mi rode da morire perchè
finchè il problema sotto linux permane,
sono costretto a usare windows :( :? :(



grazie in anticipo a tutti,
marcolino
Ultima modifica di insanet il dom 25 feb 2007, 17:49, modificato 1 volta in totale.

P3RUGINO1
Linux 2.x
Linux 2.x
Messaggi: 281
Iscritto il: lun 11 lug 2005, 0:00

Messaggio da P3RUGINO1 »

invece di lanciarlo cosi :

wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth1 -Dipw

prova a lanciarlo cosi

wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth1 -D wext

Avatar utente
michele.p
Packager
Packager
Messaggi: 1276
Iscritto il: ven 24 nov 2006, 16:52
Nome Cognome: Michele Petrecca
Slackware: 13.37
Kernel: 2.6.37.6
Desktop: KDE
Distribuzione: ..Fedora e Mandriva
Località: Pontecorvo(FR)
Contatta:

Messaggio da michele.p »

Ciao,

http://bruno.infopa.net/linux/s3xp_linux.html

...per Slackware 10.2...penso che non avrai problemi ad "adattarlo" alla Slack 11...ad ogni modo noi siamo qui....

Bye

Avatar utente
insanet
Linux 0.x
Linux 0.x
Messaggi: 26
Iscritto il: lun 19 feb 2007, 7:45

Grazie per le risposte, ecco la situazione...

Messaggio da insanet »

P3RUGINO1 ha scritto:invece di lanciarlo cosi :

wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth1 -Dipw

prova a lanciarlo cosi

wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth1 -D wext

Buonasera a tutti, intanto grazie per le risposte;

riguardo -Dwext, ho provato, ecco cosa ottengo:

Codice: Seleziona tutto

root@widow:~# wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth2 -Dwext
Initializing interface 'eth2' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Unsupported driver 'wext'.

Failed to add interface eth2
Cancelling scan request
Cancelling authentication timeout
riguardo il tutorial di bruno mendola http://bruno.infopa.net/linux/s3xp_linux.html :
proprio grazie a questo tutorial sono riuscito a lasciare windows e passare a linux;
è uno dei 3 siti che ho seguito per installare wireless e wpa_supplicant con il risultato che mi riuscivo a collegare esclusivamente a reti aperte.
Reti wep non ho provato.


Altre prove:
per ingannare l'attesa e provare a caso un pò di configurazioni possibili (non si mai...) ho provato a cambiare l'interfaccia di interrogazione, ad esempio attivandola prima ecc

root@widow:~# ifconfig

Codice: Seleziona tutto

eth0      Link encap:Ethernet  HWaddr 00:01:4A:22:0E:67
          inet addr:192.168.66.66  Bcast:192.168.66.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6307 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6149 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4968244 (4.7 MiB)  TX bytes:1251583 (1.1 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
root@widow:~# ifconfig eth1 up 192.168.66.65
root@widow:~# route add default gw 192.168.66.1 dev eth1
root@widow:~# route

Codice: Seleziona tutto

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
localnet        *               255.255.255.0   U     0      0        0 eth0
localnet        *               255.255.255.0   U     0      0        0 eth1
loopback        *               255.0.0.0       U     0      0        0 lo
default         router          0.0.0.0         UG    0      0        0 eth1
default         router          0.0.0.0         UG    1      0        0 eth0
root@widow:~# DA QUI IN POI PROVO A LEVARE IN wpa_supplicant.conf LA RIGA ap_scan=2
root@widow:~# wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth1 -Dipw

Codice: Seleziona tutto

Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw' ctrl_interface 'N/A' brid
ge '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
fast_reauth=1
Priority group 0
   id=0 ssid='WGU624'
Initializing interface (2) 'eth1'
wpa_driver_ipw_init is called
ioctl[SIOCSIWMODE]: Operation not supported
Could not configure driver to use managed mode
ioctl[SIOCGIWRANGE]: Operation not supported
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 08:00:46:03:01:da
wpa_driver_ipw_set_wpa: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
ctrl_interface_group=0
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_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 associati                                   on
ioctl[SIOCGIWSCAN]: Operation not supported
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)
ioctl[SIOCSIWSCAN]: Operation not supported
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Ignore event for foreign ifindex 6
Scan timeout - try to get results
ioctl[SIOCGIWSCAN]: Operation not supported
Scan results: -1
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 1 sec 0 usec
Starting AP scan (broadcast SSID)
ioctl[SIOCSIWSCAN]: Operation not supported
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Scan timeout - try to get results
ioctl[SIOCGIWSCAN]: Operation not supported
Scan results: -1
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 1 sec 0 usec
Starting AP scan (broadcast SSID)
ioctl[SIOCSIWSCAN]: Operation not supported
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Scan timeout - try to get results
ioctl[SIOCGIWSCAN]: Operation not supported
Scan results: -1
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 1 sec 0 usec
Starting AP scan (broadcast SSID)
ioctl[SIOCSIWSCAN]: Operation not supported
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Scan timeout - try to get results
ioctl[SIOCGIWSCAN]: Operation not supported
Scan results: -1
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 1 sec 0 usec
Ignore event for foreign ifindex 6
Starting AP scan (broadcast SSID)
ioctl[SIOCSIWSCAN]: Operation not supported
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec
Scan timeout - try to get results
ioctl[SIOCGIWSCAN]: Operation not supported
Scan results: -1
Failed to get scan results
Failed to get scan results - try scanning again
Setting scan request: 1 sec 0 usec
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth1
State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
wpa_driver_ipw_set_wpa: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
No keys have been configured - skip key clearing
Control interface directory not empty - leaving it behind
Cancelling scan request
Cancelling authentication timeout
ioctl[SIOCSIWAP]: Operation not supported
WEXT: Operstate: linkmode=0, operstate=6
root@widow:~#
root@widow:~#
root@widow:~#
root@widow:~#
root@widow:~#
root@widow:~# wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth2 -Dipw

Codice: Seleziona tutto

Initializing interface 'eth2' conf '/etc/wpa_supplicant.conf' driver 'ipw' 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
fast_reauth=1
Priority group 0
   id=0 ssid='WGU624'
Initializing interface (2) 'eth2'
wpa_driver_ipw_init is called
SIOCGIWRANGE: WE(compiled)=20 WE(source)=16 enc_capa=0x0
  capabilities: key_mgmt 0x0 enc 0x3
WEXT: Operstate: linkmode=1, operstate=5
Linux wireless extensions version 20 detected.
ipw2x00 driver uses driver_wext (-Dwext) instead of driver_ipw.
Own MAC address: 00:0e:35:dd:e9:d3
wpa_driver_ipw_set_wpa: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
ctrl_interface_group=0
ctrl_iface bind(PF_UNIX) failed: Address already in use
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/eth2' 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.

Failed to add interface eth2
State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
wpa_driver_ipw_set_wpa: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
No keys have been configured - skip key clearing
Cancelling scan request
Cancelling authentication timeout
WEXT: Operstate: linkmode=0, operstate=6
root@widow:~#
root@widow:~#
root@widow:~#
root@widow:~#
root@widow:~#
root@widow:~#
root@widow:~#
root@widow:~#
VISTI GLI ESITI ANOMALI RIMETTO LA RIGA ap_scan=2 NEL FILE /etc/wpa_supplicant.conf
root@widow:~# vi /etc/wpa_supplicant.conf


skipping 1 old session file
reading /etc/wpa_supplicant.conf

wrote /etc/wpa_supplicant.conf, 14 lines, 344 chars
root@widow:~# wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth2 -Dipw[/b]

Codice: Seleziona tutto

Initializing interface 'eth2' conf '/etc/wpa_supplicant.conf' driver 'ipw' 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=2
fast_reauth=1
Priority group 0
   id=0 ssid='WGU624'
Initializing interface (2) 'eth2'
wpa_driver_ipw_init is called
SIOCGIWRANGE: WE(compiled)=20 WE(source)=16 enc_capa=0x0
  capabilities: key_mgmt 0x0 enc 0x3
WEXT: Operstate: linkmode=1, operstate=5
Linux wireless extensions version 20 detected.
ipw2x00 driver uses driver_wext (-Dwext) instead of driver_ipw.
Own MAC address: 00:0e:35:dd:e9:d3
wpa_driver_ipw_set_wpa: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
ctrl_interface_group=0
ctrl_iface bind(PF_UNIX) failed: Address already in use
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/eth2' 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.

Failed to add interface eth2
State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
wpa_driver_ipw_set_wpa: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
No keys have been configured - skip key clearing
Cancelling scan request
Cancelling authentication timeout
WEXT: Operstate: linkmode=0, operstate=6
root@widow:~# wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth1 -Dipw

Codice: Seleziona tutto

Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw' 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=2
fast_reauth=1
Priority group 0
   id=0 ssid='WGU624'
Initializing interface (2) 'eth1'
wpa_driver_ipw_init is called
ioctl[SIOCSIWMODE]: Operation not supported
Could not configure driver to use managed mode
ioctl[SIOCGIWRANGE]: Operation not supported
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 08:00:46:03:01:da
wpa_driver_ipw_set_wpa: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
ctrl_interface_group=0
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'WGU624'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: clearing AP WPA IE
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_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[SIOCSIWESSID]: Operation not supported
ioctl[SIOCSIWAP]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 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
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'WGU624'
PRESO DAI DUBBI CHE ORMAI NON FUNZIONA NIENTE
HO APERTO LA RETE WIRELESS (SVITANDO L'ANTENNA E METTENDO POWER AL 10%... AH LA PARANOIA...)
E HO PROVATO A COLLEGARMI. ESITO: FUNZIONA TUTTO PERFETTAMENTE CON LA RETE APERTA.

Codice: Seleziona tutto

root@widow:~# iwconfig eth2
eth2      IEEE 802.11g  ESSID:"WGU624"  Nickname:"widow"
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:17:9A:44:DD:D6
          Bit Rate=48 Mb/s   Tx-Power=20 dBm
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=59/100  Signal level=-62 dBm  Noise level=-86 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:153   Missed beacon:4

root@widow:~#
root@widow:~# ifconfig eth0 down
root@widow:~#
root@widow:~#
root@widow:~#
root@widow:~# ifconfig eth2 up 192.168.66.155
root@widow:~# route add default gw 192.168.66.1 dev eth2
root@widow:~#
root@widow:~# ifconfig
eth2      Link encap:Ethernet  HWaddr 00:0E:35:DD:E9:D3
          inet addr:192.168.66.155  Bcast:192.168.66.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1686 errors:0 dropped:320 overruns:0 frame:0
          TX packets:1464 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:634887 (620.0 KiB)  TX bytes:168991 (165.0 KiB)
          Interrupt:23 Memory:b0007000-b0007fff

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:130 errors:0 dropped:0 overruns:0 frame:0
          TX packets:130 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:12636 (12.3 KiB)  TX bytes:12636 (12.3 KiB)

root@widow:~#
root@widow:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
localnet        *               255.255.255.0   U     0      0        0 eth2
loopback        *               255.0.0.0       U     0      0        0 lo
default         router          0.0.0.0         UG    0      0        0 eth2
root@widow:~#
root@widow:~#
root@widow:~#
root@widow:~#
root@widow:~# ping 192.168.66.155
PING 192.168.66.155 (192.168.66.155) 56(84) bytes of data.
64 bytes from 192.168.66.155: icmp_seq=1 ttl=64 time=0.032 ms
64 bytes from 192.168.66.155: icmp_seq=2 ttl=64 time=0.035 ms
64 bytes from 192.168.66.155: icmp_seq=3 ttl=64 time=0.029 ms

--- 192.168.66.155 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.029/0.032/0.035/0.002 ms
root@widow:~#
root@widow:~#
root@widow:~#
root@widow:~# ping 192.168.66.1
PING 192.168.66.1 (192.168.66.1) 56(84) bytes of data.
64 bytes from 192.168.66.1: icmp_seq=1 ttl=255 time=2.41 ms
64 bytes from 192.168.66.1: icmp_seq=2 ttl=255 time=2.15 ms
64 bytes from 192.168.66.1: icmp_seq=3 ttl=255 time=2.16 ms

--- 192.168.66.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 2.152/2.245/2.416/0.132 ms
root@widow:~#
root@widow:~#
root@widow:~#
root@widow:~# ping www.google.com
PING www.l.google.com (209.85.129.147) 56(84) bytes of data.
64 bytes from fk-in-f147.google.com (209.85.129.147): icmp_seq=1 ttl=243 time=602 ms
64 bytes from fk-in-f147.google.com (209.85.129.147): icmp_seq=2 ttl=243 time=665 ms
64 bytes from fk-in-f147.google.com (209.85.129.147): icmp_seq=3 ttl=243 time=509 ms
64 bytes from fk-in-f147.google.com (209.85.129.147): icmp_seq=4 ttl=243 time=393 ms

--- www.l.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3361ms
rtt min/avg/max/mdev = 393.352/542.926/665.985/102.682 ms
root@widow:~#
root@widow:~#

grazie di nuovo per le risposte.


a presto,
marcolino


ps: scusate il CAPSLOCK...

Avatar utente
insanet
Linux 0.x
Linux 0.x
Messaggi: 26
Iscritto il: lun 19 feb 2007, 7:45

continuo le prove a rete aperta: TUTTO OK

Messaggio da insanet »

salve ragazzi,


ho continuato le prove con la rete aperta senza crittografia alcuna: va una meraviglia.

mentre con wpa-psk continua a non funzionare niente.

con il driver wext continua a dirmi che non esiste questo driver :-/


grazie in anticipo a tutti voi,
marcolino

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: continuo le prove a rete aperta: TUTTO OK

Messaggio da Burroughs »

insanet ha scritto:salve ragazzi,


ho continuato le prove con la rete aperta senza crittografia alcuna: va una meraviglia.

mentre con wpa-psk continua a non funzionare niente.
Come già descritto qui anch'io mi ritrovo ad affrontare un problema simile al tuo: con la versione 1.2.1 dei driver ipw2200 e la 1.12.16 del subsystem ieee80211, non c'è verso di entrare in una WLAN criptata con WPA-PSK.
Con una precedente versione e dei driver e del subsystem, riuscivo.
IMHO, si tratta di un bug della 1.2.1.
Ora, non ho avuto il tempo di scrivere sulla ML di Intel dedicata allo sviluppo di tali driver, appena mi libererò lo farò.

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

Avatar utente
insanet
Linux 0.x
Linux 0.x
Messaggi: 26
Iscritto il: lun 19 feb 2007, 7:45

Re: continuo le prove a rete aperta: TUTTO OK

Messaggio da insanet »

Burroughs ha scritto:
insanet ha scritto:salve ragazzi,


ho continuato le prove con la rete aperta senza crittografia alcuna: va una meraviglia.

mentre con wpa-psk continua a non funzionare niente.
Come già descritto qui anch'io mi ritrovo ad affrontare un problema simile al tuo: con la versione 1.2.1 dei driver ipw2200 e la 1.12.16 del subsystem ieee80211, non c'è verso di entrare in una WLAN criptata con WPA-PSK.
Con una precedente versione e dei driver e del subsystem, riuscivo.
IMHO, si tratta di un bug della 1.2.1.
Ora, non ho avuto il tempo di scrivere sulla ML di Intel dedicata allo sviluppo di tali driver, appena mi libererò lo farò.

Burroughs.
ciao Burroughs,

intanto grazie per la risposta: ho provato a cambiare i driver ma non è cambiato nulla.

ho messo ipw2200-1.2.0 che è segnalata come STABLE sul sito ufficiale.

ho provato sia con eth2 che con eth1, ecco i dump in ordine

eth2 non funge proprio mentre con i driver vecchi qualcosa si muoveva su entrambe (eth1, eth2)

Codice: Seleziona tutto

root@widow:~# wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth2 -Dipw
Initializing interface 'eth2' conf '/etc/wpa_supplicant.conf' driver 'ipw' 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=2
fast_reauth=1
Priority group 0
   id=0 ssid='WGU624'
Initializing interface (2) 'eth2'
wpa_driver_ipw_init is called
ioctl[SIOCSIWPMKSA]: No such device
ioctl[SIOCSIWMODE]: No such device
Could not configure driver to use managed mode
ioctl[SIOCGIFFLAGS]: No such device
Could not set interface 'eth2' UP
ioctl[SIOCGIWRANGE]: No such device
WEXT: Operstate: linkmode=1, operstate=5
ioctl[SIOCGIFINDEX]: No such device
Failed to add interface eth2
State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: No such device
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: No such device
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: No such device
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: No such device
Failed to set encryption.
wpa_driver_ipw_set_wpa: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: No such device
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: No such device
wpa_driver_ipw_set_drop_unencrypted: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: No such device
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: No such device
No keys have been configured - skip key clearing
Cancelling scan request
Cancelling authentication timeout
ioctl[SIOCSIWAP]: No such device
WEXT: Operstate: linkmode=0, operstate=6
ioctl[SIOCGIFFLAGS]: No such device


con eth1

Codice: Seleziona tutto

root@widow:~# wpa_supplicant -d -c/etc/wpa_supplicant.conf -ieth1 -Dipw
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw' 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=2
fast_reauth=1
Priority group 0
   id=0 ssid='WGU624'
Initializing interface (2) 'eth1'
wpa_driver_ipw_init is called
ioctl[SIOCSIWMODE]: Operation not supported
Could not configure driver to use managed mode
ioctl[SIOCGIWRANGE]: Operation not supported
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 08:00:46:03:01:da
wpa_driver_ipw_set_wpa: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting scan request: 0 sec 100000 usec
ctrl_interface_group=0
Added interface eth1
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'WGU624'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: clearing AP WPA IE
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_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[SIOCSIWESSID]: Operation not supported
ioctl[SIOCSIWAP]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
CTRL_IFACE monitor attached - hexdump(len=23): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 31 39 37 34 38 2d 31 37 00
RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING
RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING
RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING
RX ctrl_iface - hexdump_ascii(len=4):
     50 49 4e 47                                       PING
Authentication with 00:00:00:00:00:00 timed out.
CTRL_IFACE monitor send - hexdump(len=23): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 31 39 37 34 38 2d 31 37 00
Added BSSID 00:00:00:00:00:00 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
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'WGU624'
CTRL_IFACE monitor send - hexdump(len=23): 2f 74 6d 70 2f 77 70 61 5f 63 74 72 6c 5f 31 39 37 34 38 2d 31 37 00
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
...
cicla a partire dalla riga segnata con //****************************************

intanto su wpa_cli sempre con eth1:

Codice: Seleziona tutto

root@widow:~# wpa_cli
wpa_cli v0.5.7
Copyright (c) 2004-2006, Jouni Malinen <jkmaline@cc.hut.fi> and contributors

This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.

Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.


Selected interface 'eth1'
Connection established.

Interactive mode

> <2>Authentication with 00:00:00:00:00:00 timed out.
<2>Trying to associate with SSID 'WGU624'
<2>Association request to the driver failed
<2>Authentication with 00:00:00:00:00:00 timed out.
<2>Trying to associate with SSID 'WGU624'
<2>Association request to the driver failed
<2>Authentication with 00:00:00:00:00:00 timed out.
<2>Trying to associate with SSID 'WGU624'
<2>Association request to the driver failed
<2>Authentication with 00:00:00:00:00:00 timed out.

come potete vedere non funzia manco ipw2200- versione 1.2.0...


ora provo la 1.1.3 e se non funge manco quella mi sa che mi devo rassegnare a usare windows :shock:


grazie a tutti e a presto,
marcolino

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: continuo le prove a rete aperta: TUTTO OK

Messaggio da Burroughs »

insanet ha scritto:ora provo la 1.1.3 e se non funge manco quella mi sa che mi devo rassegnare a usare windows
Scusami, insanet, ma ci sono alcune cose che non capisco nelle prove che stai effettuando.
Prima di tutto, che versione di wpa_supplicant utilizzi?
La precompilata di Pat (0.4.9) o i sorgenti (qui l'ultima release in ordine di tempo mi pare sia la 0.5.7).
Ora, premesso che il driver ipw non funziona, ergo devi utilizzare wext, se hai compilato da sorgenti wpa_supplicant, devi creare, all'interno della directory in cui hai fatto esplodere il tarball, un file .config più o meno simile al seguente, indi procedere alla compilazione:

Codice: Seleziona tutto

CONFIG_WIRELESS_EXTENSION=y
CONFIG_DRIVER_MADWIFI=y
CONFIG_CTRL_IFACE=y
CONFIG_DRIVER_HOSTAP=y
CONFIG_DRIVER_PRISM54=y
CONFIG_DRIVER_HERMES=y
CONFIG_DRIVER_ATMEL=y
CONFIG_DRIVER_WEXT=y
CONFIG_DRIVER_NDISWRAPPER=y
CONFIG_DRIVER_BROADCOM=y
CONFIG_DRIVER_IPW=y
CONFIG_DRIVER_BSD=y
CONFIG_DRIVER_NDIS=y
Detto questo, con la versione 1.1.3 dei driver ipw2200 ero riuscito ad entrare in rete.
Ah, se non riesci ad accedere alla tua WLAN, perché non usi WEP?
E' semplice da usare e, cosa più importante, ti impedisce di tornare a Windows. :D
Fammi sapere.

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 uso wpa_supplicant di pat, ipw2200 del kernel 2.6.19.2
e riesco ad accedere al mio router con wpa-psk.

nel file di conf, ho messo anche scan_ssid nel blocco relativo alla mia rete,
e non ho messo ap_ scan.

iwconfig per capire qual'è l'interfaccia (eth0 nel mio caso) poi

Codice: Seleziona tutto

wpa_supplicant -Dwext -ieth0 -c/etc/wpa_supplicant.conf
per testare se va bene l'autneticazione.

se si, killo e do:

Codice: Seleziona tutto

wpa_supplicant -Dwext -ieth0 -c/etc/wpa_supplicant.conf -B

Avatar utente
insanet
Linux 0.x
Linux 0.x
Messaggi: 26
Iscritto il: lun 19 feb 2007, 7:45

scan-associating-associated-4wayhandshake-disconnected

Messaggio da insanet »

grazie a tutti per le risposte :-)

ormai sembra che siamo vicini...

sono passato al wpa_supplicant precompilato di pat come da voi suggerito e il driver wext --> si intravede la luce :)

in sostanza trova l'AP poi si associa e poi rilascia l'associazione,

e ciclia così insomma... scan-associating-associated-4wayhandshake-disconnected

ecco un dump con maggiori dettagli...

root@widow:~# wpa_supplicant -Dwext -ieth2 -c/etc/wpa_supplicant.conf -d

Codice: Seleziona tutto

State: SCANNING -> ASSOCIATING
wpa_driver_wext_associate
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b06 len=8
Wireless event: cmd=0x8b1a len=15
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:17:9a:44:dd:d6
State: ASSOCIATING -> ASSOCIATED
Associated to a new BSS: BSSID=00:17:9a:44:dd:d6
No keys have been configured - skip key clearing
Associated with 00:17:9a:44:dd:d6
WPA: Association event - clear replay counter
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
Setting authentication timeout: 10 sec 0 usec
RX EAPOL from 00:17:9a:44:dd:d6
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 00
  key_nonce - hexdump(len=32): 9f c7 d0 86 bb 92 93 b0 86 cc b7 81 9a 83 a9 e4 a3 19 1a 96 df 8b db c8 dd 57 fd 19 69 5e 82 3d
  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:17:9a:44:dd:d6 (ver=1)
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: Renewed SNonce - hexdump(len=32): 7c 51 60 49 d7 85 59 58 6d 13 e8 80 b4 c6 72 58 26 51 6b 0d 60 55 7f ba 4a 6b 07 ff e7 62 15 8c
WPA: PMK - hexdump(len=32): [REMOVED]
WPA: PTK - hexdump(len=64): [REMOVED]
WPA: Sending EAPOL-Key 2/4
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth2
State: 4WAY_HANDSHAKE -> DISCONNECTED
wpa_driver_wext_deauthenticate
No keys have been configured - skip key clearing
un'altra cosa che non mi torna è la seguente:

Codice: Seleziona tutto

Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Associated with 00:17:9a:44:dd:d6
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
freq=0 MHz... mhmmm... non andrà forse impostato qualcosa?

a tal fine ecco il mio wpa_supplicant.conf che intanto è cambiato dal primo post

Codice: Seleziona tutto

root@widow:~# cat /etc/wpa_supplicant.conf
# See /usr/doc/wpa_supplicant-0.4.9/wpa_supplicant.conf.sample
# for many more options that you can use in this file.

# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
# By default, only root (group 0) may use wpa_cli
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

# WPA protected network, supply your own ESSID and WPAPSK here:
network={
  scan_ssid=1
  ssid="WGU624"
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=TKIP
  group=TKIP
  psk="pass"
}

# Plaintext connection (no WPA, no IEEE 802.1X),
# nice for hotel/airport types of WiFi network.
# You'll need a recent version of wireless-tools for this!
network={
  ssid="any"
  key_mgmt=NONE
  priority=2
}
root@widow:~#                          

grazie a tutti spero che ne verremo a capo insieme quanto prima :-)

intanto cerco se ci sono post di gente che come me ha questo ciclo di connetti-e-riconnetti


a presto,
marcolino

ps: sto usando la versione di ipw200 che sul loro sito è segnalata come stabile: la 1.2.0

Avatar utente
insanet
Linux 0.x
Linux 0.x
Messaggi: 26
Iscritto il: lun 19 feb 2007, 7:45

ancora niente...

Messaggio da insanet »

su un forum di sviluppo ho letto che uno ha cambiato i valori per ap_scan e scan_ssid e da che stava nelle mie condizioni a che tutto ha funzionato.

ho provato 6 le permutazioni ap_scan=0,1,2 e scan_ssid=0,1 ma nulla è cambiato: cicla su connect -> disconnect.


grazie in anticipo a tutti,
m

Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

Messaggio da Bart »

Insanet anche io ho una ipw2200 e a me funziona benissimo con il WPA.
Io ho installato wpa_supplicant 0.4.9. Non è l'ultima versione ma è l'ultima testata da Pat e va benissimo. Per quanto riguarda le configurazioni ti posto un link: http://www.slacky.it/forum/viewtopic.php?t=17697

Avatar utente
insanet
Linux 0.x
Linux 0.x
Messaggi: 26
Iscritto il: lun 19 feb 2007, 7:45

niente

Messaggio da insanet »

ciao Bart, grazie per la risposta

ho provato come diceva il post, ma ancora niente: ora cicla velocissimo così:

Codice: Seleziona tutto

root@widow:~# wpa_supplicant -Dwext -c/etc/wpa_supplicant.conf -ieth2
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
Trying to associate with 00:17:9a:44:dd:d6 (SSID='WGU624' freq=0 MHz)
questi li ha fatti in 6 secondi :shock:

ho controllato in dmesg e mi sa che la mia scheda wireless o è troppo calda o si sta rompendo... trovo messaggi tipo:

usb 4-1: new full speed USB device using uhci_hcd and address 3
usb 4-1: configuration #1 chosen from 1 choice
ipw2200: Failed to send CARD_DISABLE: Command timed out.

e ancora:

ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, 1.2.16
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ipw2200: no version for "ieee80211_wx_get_encodeext" found: kernel tainted.
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.0dmq
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ACPI: PCI Interrupt 0000:06:0b.0[A] -> GSI 22 (level, low) -> IRQ 23
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: Detected geography ZZD (13 802.11bg channels, 0 802.11a channels)
Bluetooth: Core ver 2.10
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: HCI USB driver ver 2.9
usbcore: registered new driver hci_usb
ata1: soft resetting port
ata2: soft resetting port
ata1.00: configured for UDMA/100
ata1: EH complete
ATA: abnormal status 0x7F on port 0x18B7
ata2: EH pending after completion, repeating EH (cnt=4)
ata2: soft resetting port
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
ATA: abnormal status 0x7F on port 0x18B7
ata2: EH complete
usb 4-1: USB disconnect, address 2



può essere che è la scheda wireless che mi sta abbandonando e per questo sto uscendo pazzo con tutte queste 3000 prove col wpa_supplicant?


grazie in anticipo e ciao a tutti,
m

Avatar utente
insanet
Linux 0.x
Linux 0.x
Messaggi: 26
Iscritto il: lun 19 feb 2007, 7:45

Messaggio da insanet »

ho spento il portatile, l'ho fatto raffreddare e ho riprovato:

ho provato il metodo illustrato nel post che ha messo bart,

ma continua a non funzionare;

siamo alla situazione in cui cicla sui seguenti passi:


scanning
associating
associated
4wayhandshake
disconnected


una domanda forse stupida: c'è forse qualcosa che manca nel mio kernel??? quando compilo ipw2200 mi da questi warning:

Codice: Seleziona tutto

root@widow:/home/INSTALLAZIONI/ipw2200-1.2.0# make
mkdir -p /home/INSTALLAZIONI/ipw2200-1.2.0/tmp/.tmp_versions
cp /lib/modules/2.6.18.3/net/ieee80211/.tmp_versions/*.mod /home/INSTALLAZIONI/ipw2200-1.2.0/tmp/.tmp_versions
cp /lib/modules/2.6.18.3/net/ieee80211/.tmp_versions/../Modules.symvers /home/INSTALLAZIONI/ipw2200-1.2.0
cp: cannot stat `/lib/modules/2.6.18.3/net/ieee80211/.tmp_versions/../Modules.symvers': No such file or directory
make: [modules] Error 1 (ignored)
make -C /lib/modules/2.6.18.3/build M=/home/INSTALLAZIONI/ipw2200-1.2.0 MODVERDIR=/home/INSTALLAZIONI/ipw2200-1.2.0/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/linux-2.6.18.3'
  CC [M]  /home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.o
  Building modules, stage 2.
  MODPOST
WARNING: "free_ieee80211" [/home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.ko] undefined!
WARNING: "alloc_ieee80211" [/home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.ko] undefined!
WARNING: "ieee80211_wx_get_encode" [/home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.ko] undefined!
WARNING: "ieee80211_wx_set_encode" [/home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.ko] undefined!
WARNING: "ieee80211_wx_get_scan" [/home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.ko] undefined!
WARNING: "ieee80211_rx" [/home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.ko] undefined!
WARNING: "ieee80211_wx_get_encodeext" [/home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.ko] undefined!
WARNING: "ieee80211_wx_set_encodeext" [/home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.ko] undefined!
WARNING: "ieee80211_rx_mgt" [/home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.ko] undefined!
WARNING: "escape_essid" [/home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.ko] undefined!
WARNING: "ieee80211_txb_free" [/home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.ko] undefined!
  CC      /home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.mod.o
  LD [M]  /home/INSTALLAZIONI/ipw2200-1.2.0/ipw2200.ko
make[1]: Leaving directory `/usr/src/linux-2.6.18.3'
root@widow:/home/INSTALLAZIONI/ipw2200-1.2.0#

mah...

grazie in anticipo a tutti voi,
marco

Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

Messaggio da Bart »

Codice: Seleziona tutto

00:*:*:*)
INFO="Configurazione della mia scheda"
    ESSID="mio essid"
    MODE="Managed"
    CHANNEL="11"
    RATE="auto"
    KEY="chiave in esadecimale"
;;
In questa parte relativa a rc.wireless.conf devi sostituire i primi due asterischi in base al MAC address della tua scheda. Il MAC lo ottieni con:

Codice: Seleziona tutto

ifconfig |grep HWaddr

Prendi le prime tre parti del tuo MAC e modifichi quel file sopra che diventa qualcosa del tipo:

Codice: Seleziona tutto

00:05:8R:*)
INFO="Configurazione della mia scheda"
    ESSID="mio essid"
    MODE="Managed"
    CHANNEL="11"
    RATE="auto"
    KEY="chiave in esadecimale"
;;
L'ultimo * lascialo.
Se cerchi nella documentazione del wiki ci sono un paio di howto che spiegano come configurare il wireless. Prova a guardarci. Io ho seguito quelli e non ho avuto problemi.

Rispondi