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 15/01/2006, à 12:43

XioNoX

Problème WPA

Bonjour,

Lorsque je tape :

sudo wpa_supplicant  -w -d -i eth1 -D ipw -c /etc/wpa_supplicant.conf

il m'affiche :
et evidament, pas possible de se connecter...

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'
eapol_version=1
ap_scan=1
fast_reauth=1
Priority group 0
   id=0 ssid='WifiMaison'
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
wpa_driver_ipw_init is called
ioctl[SIOCSIWPMKSA]: Operation not supported
SIOCGIWRANGE: too old (short) data - assuming WPA is not supported
Own MAC address: 00:0e:35:a0:ad:e1
wpa_driver_ipw_set_wpa: enabled=1
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_ipw_set_countermeasures: enabled=0
wpa_driver_ipw_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b1a len=23
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:12:17:df:a4:c7
State: SCANNING -> ASSOCIATED
Associated to a new BSS: BSSID=00:12:17:df:a4:c7
No keys have been configured - skip key clearing
Network configuration found for the current AP
WPA: Failed to parse WPA IE from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 30 pairwise 24 key_mgmt 2
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK CCMP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Associated with 00:12:17:df:a4:c7
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: txStart
WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
Setting authentication timeout: 10 sec 0 usec
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RX EAPOL from 00:12:17:df:a4:c7
Setting authentication timeout: 10 sec 0 usec
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
WPA: ignoring 8 bytes after the IEEE 802.1X data
WPA: CCMP is used, but EAPOL-Key descriptor version (1) is not 2.
RX EAPOL from 00:12:17:df:a4:c7
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
WPA: ignoring 8 bytes after the IEEE 802.1X data
WPA: CCMP is used, but EAPOL-Key descriptor version (1) is not 2.
Scan timeout - try to get results
Received 277 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:12:17:df:a4:c7 ssid='WifiMaison' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
   selected
Already associated with the selected AP.
RX EAPOL from 00:12:17:df:a4:c7
IEEE 802.1X RX: version=1 type=3 length=95
  EAPOL-Key type=254
WPA: ignoring 8 bytes after the IEEE 802.1X data
WPA: CCMP is used, but EAPOL-Key descriptor version (1) is not 2.
State: ASSOCIATED -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portValid=0
wpa_driver_ipw_set_wpa: enabled=0
wpa_driver_ipw_set_drop_unencrypted: enabled=0
wpa_driver_ipw_set_countermeasures: enabled=0
No keys have been configured - skip key clearing

xionox@laptop:~$

J'ai suivi le tutos : http://wiki.ubuntu-fr.org/installation/wpa

et voici mon wpa_supplicant.conf :

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1

network={
      ssid="WifiMaison"
      proto=WPA RSN
      key_mgmt=WPA-PSK
      psk="ma clée en clair"
}

Mon AP utilise du TKIP, je sait pas si ca peut aider smile

Merci

Dernière modification par XioNoX (Le 15/01/2006, à 12:45)

Hors ligne

#2 Le 15/01/2006, à 19:42

WaVeR

Re : Problème WPA

Salut,

Essaye avec wext au lieu de ipw:

sudo wpa_supplicant  -w -d -i eth1 -D wext -c /etc/wpa_supplicant.conf

Et au niveau de ton wpa_supplicant essaye de le laisser plus auto genre:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
fast_reauth=1
network={
        ssid="WifiNaison"
        scan_ssid=1
        auth_alg=OPEN
        key_mgmt=WPA-PSK
        psk=la_cle_code_avec_wpa_passphrase
        priority=2
}

Pour le psk, utilise: wpa_passphrase <ssid> [passphrase]


--- There's no place like 127.0.0.1 ---

Hors ligne