Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 29/12/2005, à 01:36

Eval

WPA & ipw2200

Bonjour tout le monde,

Je suis actuellement sous Breezy et j'essaye de faire fonctionner mon réseau wifi en wpa sous linux.

J'utilise les drivers ipw2200 qui fonctionnent très bien en mode non crypté :

$ dmesg | grep ipw
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.8
ipw2200: Copyright(c) 2003-2005 Intel Corporation
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection

les différents drivers wpa sont présent dans ma config du noyau :

$ grep CRC32 /usr/src/linux/.config
CONFIG_CRYPTO_CRC32C=y
CONFIG_CRC32=y
CONFIG_LIBCRC32C=y

$ grep ARC4 /usr/src/linux/.config
CONFIG_CRYPTO_ARC4=y

$ grep CONFIG_CRYPTO_AES_586  /usr/src/linux/.config
CONFIG_CRYPTO_AES_586=y

$ grep CONFIG_CRYPTO_MICHAEL_MIC  /usr/src/linux/.config
CONFIG_CRYPTO_MICHAEL_MIC=y

ma config de /etc/wpa_suplicant.conf est la suivante :

$ cat /etc/wpa_supplicant.conf | grep -v \# | sed -e '/^$/d'
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1
opensc_engine_path=/usr/lib/opensc/engine_opensc.so
pkcs11_engine_path=/usr/lib/opensc/engine_pkcs11.so
pkcs11_module_path=/usr/lib/pkcs11/opensc-pkcs11.so
network={
        ssid="mon ssid"
        scan_ssid=1
        key_mgmt=WPA-PSK
        proto=WPA
        psk="ma clé"
}

et mon fichier /etc/default/wpasupplicant :

$ cat /etc/default/wpasupplicant                              
# /etc/default/wpasupplicant

# WARNING! Make sure you have a configuration file!

ENABLED=1 #0

# Useful flags:
#  -D <driver>          Wireless drive, typically optional.
#  -i <ifname>          Interface
#  -c <config file>     Configuration file
#  -d                   Debugging (-dd for more)
#  -w                   Wait for interface to come up

# See the manual page wpa_supplicant(1) for more options and information.

OPTIONS="-w"

# EXAMPLES:

# OPTIONS="-i wlan0 -D hostap -c /etc/wpa_supplicant.conf"
OPTIONS="-i eth1 -D ipw -c /etc/wpa_supplicant.conf -dd"

lorsque je fais /etc/init.d/wpasupplicant start j'obtiens :

$ sudo /etc/init.d/wpasupplicant start
Password:
Starting wpa_supplicant: Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf'                                                                                                                          
driver 'ipw'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
eapol_version=1
ap_scan=2
fast_reauth=1
opensc_engine_path='/usr/lib/opensc/engine_opensc.so'
pkcs11_engine_path='/usr/lib/opensc/engine_pkcs11.so'
pkcs11_module_path='/usr/lib/pkcs11/opensc-pkcs11.so'
Line: 343 - start of a new network block
ssid - hexdump_ascii(len=12):
     57 41 4e 41 44 4f 4f 2d 6e 69 63 6f               "Mon ssid"    
scan_ssid=1 (0x1)
key_mgmt: 0x2
proto: 0x1
pairwise: 0x8
group: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=26): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='WANADOO-nico'
Initializing interface (2) 'eth1'
ENGINE: Loading dynamic engine
ENGINE: Loading OpenSC Engine from /usr/lib/opensc/engine_opensc.so
ENGINE: 'SO_PATH' '/usr/lib/opensc/engine_opensc.so'
ENGINE: 'ID' 'opensc'
ENGINE: 'LIST_ADD' '1'
ENGINE: 'LOAD' '(null)'
ENGINE: Loading pkcs11 Engine from /usr/lib/opensc/engine_pkcs11.so
ENGINE: 'SO_PATH' '/usr/lib/opensc/engine_pkcs11.so'
ENGINE: 'ID' 'pkcs11'
ENGINE: 'LIST_ADD' '1'
ENGINE: 'LOAD' '(null)'
ENGINE: 'MODULE_PATH' '/usr/lib/pkcs11/opensc-pkcs11.so'
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
wpa_driver_ipw_init is called
ioctl[SIOCSIWPMKSA]: Operation not supported
SIOCGIWRANGE: WE(compiled)=19 WE(source)=16 enc_capa=0x0
  capabilities: key_mgmt 0x0 enc 0x3
Own MAC address: 00:0e:35:80:fb:8f
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
Daemonize..
done.

J'ai essayé avec deux version du noyau (au cas ou tongue) la 2.6.12 et la 2.6.14.5.

J'ai peut être fais une erreur bête, mais je ne vois pas pour le moment si qcq a une idée, je le remercie d'avance big_smile

#2 Le 29/12/2005, à 11:00

yanapu

Re : WPA & ipw2200

Ce message

ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported

signifie que wpasupplicant n'arrive pas à activer le WPA sur ton driver.

Il te faudra peut-être installer les dernières versions des drivers ipw2200 et wpa.

Si tu n'as pas absolument besoin du WPA, tu peux aussi attendre la prochaine version d'Ubuntu. big_smile

Hors ligne

#3 Le 29/12/2005, à 11:26

cflam69

Re : WPA & ipw2200

Bonjour,
Juste pour infos, ma breezy supporte le WPA avec mon matériel. Mais j'ai pas le driver ipw220 tongue!.
Mais comme quoi, c'est possible (mais un peu pénible à configurer). Par exemple, pour mon matériel, seul un driver (en l'occurence celui d'origine pour XP) fonctionne. Tout autre driver + récent ou autre version ne marche pas.
Bon courage,


La liberté ne s'use que si l'on ne s'en sert pas.

Hors ligne

#4 Le 29/12/2005, à 12:26

Eval

Re : WPA & ipw2200

Tout d'abord merci pour vos réponses.

@Yanns, c'est ce que j'ai tenté, mes drivers ipw2200 sont les derniers et mon packet wpasuppliant est à jour (http://packages.ubuntu.com/cgi-bin/sear … elease=all)

@cflam69, je devrais peut être essayé avec ndiswrapper, mais mes drivers (ipw2200) étant sensés supporter le wpa
ça m'ennuie un peu sad

#5 Le 29/12/2005, à 12:29

ced

Re : WPA & ipw2200

Salut

Essaie de rajouter -w ds OPTIONS="-i eth1 -D ipw -c /etc/wpa_supplicant.conf -dd" car tu initialises pt etre ta connection als qu'elle n'est pas encore prete.

Ced

PS : j'ai la meme config que toi et ca marche chez moi

Dernière modification par ced (Le 29/12/2005, à 12:31)

Hors ligne

#6 Le 29/12/2005, à 13:46

Eval

Re : WPA & ipw2200

Merci pour l'astuce Ced, en activant le daemon 

$ sudo /etc/init.d/wpa_supplicant start

Je n'ai plus d'erreur, mais ça ne fonctionne toujours pas sad

J'ai donc tuer le daemon et lancer directement à travers la commande :

$ sudo wpa_supplicant -i eth1 -D ipw -w -c /etc/wpa_supplicant.conf -dd
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
opensc_engine_path='/usr/lib/opensc/engine_opensc.so'
pkcs11_engine_path='/usr/lib/opensc/engine_pkcs11.so'
pkcs11_module_path='/usr/lib/pkcs11/opensc-pkcs11.so'
Line: 343 - start of a new network block
ssid - hexdump_ascii(len=12):
     57 41 4e 41 44 4f 4f 2d 6e 69 63 6f               WANADOO-nico    
scan_ssid=1 (0x1)
key_mgmt: 0x2
proto: 0x1
pairwise: 0x8
group: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=26): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='WANADOO-nico'
Initializing interface (2) 'eth1'
ENGINE: Loading dynamic engine
ENGINE: Loading OpenSC Engine from /usr/lib/opensc/engine_opensc.so
ENGINE: 'SO_PATH' '/usr/lib/opensc/engine_opensc.so'
ENGINE: 'ID' 'opensc'
ENGINE: 'LIST_ADD' '1'
ENGINE: 'LOAD' '(null)'
ENGINE: Loading pkcs11 Engine from /usr/lib/opensc/engine_pkcs11.so
ENGINE: 'SO_PATH' '/usr/lib/opensc/engine_pkcs11.so'
ENGINE: 'ID' 'pkcs11'
ENGINE: 'LIST_ADD' '1'
ENGINE: 'LOAD' '(null)'
ENGINE: 'MODULE_PATH' '/usr/lib/pkcs11/opensc-pkcs11.so'
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
wpa_driver_ipw_init is called
ioctl[SIOCSIWPMKSA]: Operation not supported
SIOCGIWRANGE: WE(compiled)=19 WE(source)=16 enc_capa=0x0
  capabilities: key_mgmt 0x0 enc 0x3
Own MAC address: 00:0e:35:80:fb:8f
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
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Starting AP scan (specific SSID)
Scan SSID - hexdump_ascii(len=12):
     57 41 4e 41 44 4f 4f 2d 6e 69 63 6f               WANADOO-nico    
Scan timeout - try to get results
Received 709 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:14:a4:58:03:b5 ssid='WANADOO-nico' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   selected
Trying to associate with 00:14:a4:58:03:b5 (SSID='WANADOO-nico' freq=0 MHz)
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: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
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_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
State: SCANNING -> ASSOCIATING
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=21
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
State: ASSOCIATING -> DISCONNECTED
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)
State: SCANNING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
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
Removed BSSID 00:00:00:00:00:00 from blacklist (clear)

j'ai arrêté la commande avec un crtl-c sinon ça continue (sans plus de résultats)... Il me donne donc tjours la même erreur, à savoir que wpasupplicant ne peut pas activer le wpa à travers ipw si j'ai bien saisi sad

Peut tu me montrer tes fichiers de cfg Ced (ou qcq d'autre qui fait fonctionner wpasupplicant et ipw2200 en wpa-psk)  stp et la version des logiciel que tu utilise (et noyau, on ne sait jamais..)?

#7 Le 29/12/2005, à 14:02

ced

Re : WPA & ipw2200

http://forum.ubuntu-fr.org/viewtopic.php?id=17328
C'est le topic que j'avais crée qd j'avais des pb avec les solutions que j'ai trouvé.
J'espere que ca te permettra d'avance vers la resolution de ton/tes problemes

Ced

Dernière modification par ced (Le 29/12/2005, à 14:08)

Hors ligne

#8 Le 29/12/2005, à 14:26

Eval

Re : WPA & ipw2200

Je te remercie, je regarde ça et je vous tient au courant smile

#9 Le 29/12/2005, à 22:13

adriclad

Re : WPA & ipw2200

Je te poste mes fichiers de config au cas car j'ai configuré le WPA sur ma kubuntu il y a quelques jours et jusqu'à la tout marche bien. J'ai le driver ipw2200 qui est fourni avec breezy.

mon wpa_suppliant.conf :

ctrl_interface=/var/run/wpa_supplicant
#Only root can be read the WPA configuration
ctrl_interface_group=0

eapol_version=1
#Let wpa_supplication take care of scanning and AP selection
ap_scan=1
fast_reauth=1

### Associate with any open access point
###  Scans/ESSID changes can be done with wpa_cli
network={
       ssid="adriwifi"
       scan_ssid=1
       proto=WPA
       key_mgmt=WPA-PSK
       pairwise=TKIP
       psk="ma clé"
}

dans ce fichier au début j'avais pas spécifié TKIP pour le type d'encodage et ça marchait pas. Vérifie bien alors que ça correspond avec ce que t'as configurer sur ton routeur wifi.

mon /etc/default/wpasupplicant est celui par défaut car je préfère activer la connexion quand j'en ai envie. Le voici :

ENABLED=0
OPTIONS="-w"

et j'active alors ma connexion avec ce script :

#! /bin/sh
# wifi: wpa_supplicant init
echo " * [Wifi]: Enabling WPA supplicant..."
if [ -x /usr/sbin/wpa_supplicant ]; then
    /usr/sbin/wpa_supplicant -B -i eth1 -c /etc/wpa_supplicant.conf -D ipw -w
fi

En espérant que tout ceci pourra t'aider...

Hors ligne

#10 Le 29/12/2005, à 23:06

Eval

Re : WPA & ipw2200

Merci de votre aide à tous les deux, j'ai essayé vos fichiers de config, mais je reste toujours bloqué. J'ai tenté une autre méthode en utilisant seulement iwconfig en faisant :

$ sudo iwconfig eth1 mode Managed 
$ sudo iwconfig eth1 essid WANADOO-nico 
$ sudo iwconfig eth1 channel 1 
$ sudo iwconfig eth1 ap "mac de l'ap"
$ sudo iwconfig eth1 key "ma clé wpa"
$ iwconfig eth1
Warning: Driver for device eth1 has been compiled with version 19
of Wireless Extension, while this program supports up to version 18.
Some things may be broken...

eth1      unassociated  ESSID:"WANADOO-nico"  
          Mode:Managed  Frequency=2.412 GHz  Access Point: "adresse mac de l'ap"   
          Bit Rate=0 kb/s   Tx-Power=20 dBm   
          Retry limit:7   RTS thr:off   Fragment thr:off
          Encryption key:"ma clé wpa"   Security mode:restricted
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Je remarque que je reste en "unassociated" malgré que j'ai choisi le bon channel, l'adresse mac de ma carte wifi faisait déjà partit des périphériques associésde ma livebox (je l'avais configuré sous windows), mais ça ne changeais rien, j'ai tenté de supprimer l'association sur la livebox au cas ou mais je n'ai toujours pas réussi à associer ma carte wifi (oui, j'ai pensé à appuyer sur le bouton de la livebox pour permettre l'association tongue).

Je reste donc toujours bloqué qcq a-t-il une piste svp?, je commence à ne plus savoir quoi faire sad

#11 Le 30/12/2005, à 00:36

Stardust

Re : WPA & ipw2200

petite question

unassociated signifie que le canal n'est pas reconnu?

j'ai le même problème que toi


Hardware :Partie de l'ordinateur qui reçoit les coups quand le software se plante. Desproges.

In a world without walls and fences, who needs windows and gates ?

Hors ligne

#12 Le 30/12/2005, à 00:44

adriclad

Re : WPA & ipw2200

ce que tu viens de faire est la méthode manuel pour utiliser un encryptage WEP et non un WPA. WPA n'est pas géré seulement dans le driver, il faut utiliser forcément wpa_supplicant en plus.

pour le "unassociated", je ne sais pas mais peut-être que l'association ne se fait pas car l'encryptage utilisé n'est pas le même (wpa pour ton routeur, wep pour ton pc)

de mon coté, voici ce que me donne un iwconfig eth1 quand ma connexion marche en wpa (note que aucune clé d'encryption n'apparaît)

eth1      IEEE 802.11g  Mode:Auto  Frequency:2.412 GHz
          Access Point: 00:14:BF:B2:85:B9   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=62/100  Signal level=-63 dBm  Noise level=-87 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:17

Hors ligne

#13 Le 30/12/2005, à 01:18

Eval

Re : WPA & ipw2200

Oki merci adriclad, je ne savais que ce que j'avais fais était réservé au wep smile
Pour unassociated je ne peux pas te dire exactement mais en gros c'est la liason entre le pc et l'ap qui ne se fait pas, je suppose que ça peut être du à un mauvais canal ou à un mauvais cryptage du canal.

Ne voyant pas d'où mon problème peut venir j'ai tout repris à 0. Et lorsque j'essaye une connexion wifi non crypté voici ce que j'obtiens :
-1er méthode sans wpa supplicant :

$ cat /etc/network/interfaces 
auto lo
iface lo inet loopback

iface eth1 inet dhcp
        # wireless-* options are implemented by the wireless-tools package
        wireless-mode managed
        wireless-channel 1
        wireless-essid WANADOO-nico

puis un

$ sudo ifup eth1

et ça fonctionne.

-seconde méthode avec wpa supplicant:

tout d'abord le fichier de config :

$ cat /etc/wpa_supplicant.conf2
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=root
#eapol_version=1
#Let wpa_supplication take care of scanning and AP selection
ap_scan=1
#fast_reauth=1

network={
        ssid="WANADOO-nico"
        key_mgmt=NONE
}

puis le test de wpa supplicant :

$ sudo wpa_supplicant -w -i eth1 -c /etc/wpa_supplicant.conf2 -D ipw   
ioctl[SIOCSIWPMKSA]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Trying to associate with 00:14:a4:58:03:b5 (SSID='WANADOO-nico' freq=0 MHz)
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Authentication with 00:00:00:00:00:00 timed out.
Trying to associate with 00:14:a4:58:03:b5 (SSID='WANADOO-nico' freq=0 MHz)
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Authentication with 00:00:00:00:00:00 timed out.

résultat sans wpasupplicant, ça fonctionne et avec ça ne fonctionne pas. J'ai l'impression que malgré l'option -w ma connection à l'ap n'a pas le temps de s'effectuer sad
Pour ceux qui utilisent wpasupplicant avec ipw2200 avez vous aussi les mêmes problèmes entre ioctl, wpasupplicant et ipw?

p.s.: j'ai aussi essayé un ap_scan=2, mais le résultat est le même

#14 Le 30/12/2005, à 01:51

ced

Re : WPA & ipw2200

Warning: Driver for device eth1 has been compiled with version 19
of Wireless Extension, while this program supports up to version 18.
Some things may be broken...

Vu que tu as mis a jour la version de ipw2200 (1.0.8), as tu aussi mis a jour ipw2200-fw (2.4) , ieee80211 (1.1.6) car si tu as garde ceux d'origine de la breeze, il y a des incompatibilites entre les versions de ces 3 composants.

Ced

Hors ligne

#15 Le 30/12/2005, à 14:25

Eval

Re : WPA & ipw2200

Oui j'ai bien désinstallé les anciennes versions et remis à jours ces tois composants(je me suis servi du howto suivant :http://ubuntuforums.org/showthread.php?t=26623), je ne vois vraiment pas là sad

Aller j'arrête de chercher pour ce wk (je continuerais la semaine prochaine), et vous souhaite à tous un bon réveillon smile

#16 Le 02/01/2006, à 12:01

Eval

Re : WPA & ipw2200

bonjour,

j'en suis toujours au même point alors je fais un petit up.

#17 Le 02/01/2006, à 17:03

yanapu

Re : WPA & ipw2200

Je sais que ce n'est pas une bonne réponse, mais, si tu es bloqué, tu peux aussi tenter ta chance avec xsupplicant.

Chez moi (ipw2100), j'ai jamais réussi à faire fonctionne wpa_supplicant avec une protection type PEAP.
Par contre, pas de problème avec xsupplicant.

Hors ligne

#18 Le 02/01/2006, à 20:38

Eval

Re : WPA & ipw2200

Mici, j'a installé xsupplicant. Je ne connaissais pas alors j'ai regardéla doc et j'ai trouvé ceci :

At this time Xsupplicant can be used in conjunction with wpa_supplicant to provide WPA keying, but does not currently provide its own WPA hooks.

Utilisant une livebox, je ne peux pas changer le mode de cryptage (passer en wpa-eap par exemple), enfin je ne connais pas. Je cherche qd même des docs pour pouvoir utliser xsupplicant à travers wpa_supplicant (difficile à trouver, je n'en ai pas encore vu) comme ils le disent mais je doute que ça change quelque chose sad