[Résolu] Problème de connexion wifi (wpa)

Bonjour,
je rencontre quelques difficultés pour utiliser la carte wifi de mon nouveau portable (Asus F3SV AK143C). J’ai installé sans problème le driver iwlwifi, mais je n’arrive pas à me connecter à mon AP wifi.

$ uname -a
Linux Neptune 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007 i686 GNU/Linux

J’ai d’abord essayé de me connecter avec network-admin:

ifconfig wlan0 down

network-admin

là j’indique l’essid, le mot de passe, qu’il doit se connecter en dhcp puis clic sur “activer”.

Je n’ai pas de message d’erreur, cependant ça n’a pas marché pour autant :

ifconfig

eth1      Lien encap:Ethernet  HWaddr 00:1D:60:0F:B0:0E  
          inet adr:192.168.1.14  Bcast:192.168.1.255  Masque:255.255.255.0
          adr inet6: fe80::21d:60ff:fe0f:b00e/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:5369 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5299 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 lg file transmission:1000 
          RX bytes:4893979 (4.6 MiB)  TX bytes:891880 (870.9 KiB)

lo        Lien encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:48 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:6701 (6.5 KiB)  TX bytes:6701 (6.5 KiB)

wlan0     Lien encap:Ethernet  HWaddr 00:13:E8:83:ED:AD  
          UP BROADCAST MULTICAST  MTU:1500  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 lg file transmission:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wmaster0  Lien encap:UNSPEC  HWaddr 00-13-E8-83-ED-AD-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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 lg file transmission:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

iwconfig

lo        no wireless extensions.

eth1      no wireless extensions.

wmaster0  no wireless extensions.

wlan0     IEEE 802.11g  ESSID:"The Pirate Bay" 
          Mode:Managed  Frequency:2.417 GHz  Access Point: 00:10:C6:F2:16:84   
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B   
          Encryption key:6D61-7468-6961-7331-3233
          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

dmesg

iwl3945: Copyright(c) 2003-2007 Intel Corporation
iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.0.0d
iwl4965: Copyright(c) 2003-2007 Intel Corporation
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:03:00.0 to 64
iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Channel 14 [2.4GHz] is Tx only -- skipping.
iwl4965: Channel 183 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 184 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 185 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 187 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 188 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 189 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 192 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 196 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 7 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 8 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 11 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 12 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 16 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 34 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 38 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 42 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 46 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 145 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 149 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 153 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 157 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 161 [5.2GHz] is Tx only -- skipping.
iwl4965: Channel 165 [5.2GHz] is Tx only -- skipping.
iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
wmaster0: Selected rate control algorithm 'iwl-4965-rs'
iwl4965: Unhandled INTA bits 0x04000000
iwl4965: Disabled INTA bits 0x04000000 were pending
iwl4965:    with FH_INT = 0x00010000
iwl4965: REPLY_CT_KILL_CONFIG_CMD succeeded
ADDRCONF(NETDEV_UP): wlan0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
iwl4965: REPLY_ADD_STA failed
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:10:c6:f2:16:84
wlan0: RX authentication from 00:10:c6:f2:16:84 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: association with AP 00:10:c6:f2:16:84 timed out
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:10:c6:f2:16:84
wlan0: RX authentication from 00:10:c6:f2:16:84 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: association with AP 00:10:c6:f2:16:84 timed out
iwl4965: REPLY_ADD_STA failed
ADDRCONF(NETDEV_UP): wlan0: link is not ready
iwl4965: REPLY_ADD_STA failed
wlan0: RX disassociation from 00:10:c6:f2:16:84 (reason=7)
iwl4965: REPLY_ADD_STA failed
wlan0: RX disassociation from 00:10:c6:f2:16:84 (reason=7)
iwl4965: REPLY_ADD_STA failed
ADDRCONF(NETDEV_UP): wlan0: link is not ready
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:10:c6:f2:16:84
wlan0: RX authentication from 00:10:c6:f2:16:84 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: association with AP 00:10:c6:f2:16:84 timed out
iwl4965: REPLY_ADD_STA failed
ADDRCONF(NETDEV_UP): wlan0: link is not ready
iwl4965: REPLY_ADD_STA failed
wlan0: RX disassociation from 00:10:c6:f2:16:84 (reason=7)
iwl4965: REPLY_ADD_STA failed
ADDRCONF(NETDEV_UP): wlan0: link is not ready
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:10:c6:f2:16:84
wlan0: RX authentication from 00:10:c6:f2:16:84 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: association with AP 00:10:c6:f2:16:84 timed out
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:10:c6:f2:16:84
wlan0: RX authentication from 00:10:c6:f2:16:84 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: associate with AP 00:10:c6:f2:16:84
wlan0: invalid aid value 0; bits 15:14 not set
wlan0: RX AssocResp from 00:10:c6:f2:16:84 (capab=0x431 status=12 aid=0)
wlan0: AP denied association (code=12)
wlan0: association with AP 00:10:c6:f2:16:84 timed out
atl1 0000:02:00.0: eth1 link is up 100 Mbps full duplex
eth1: no IPv6 routers present

(les lignes avec eth1 et atl1 concernent la carte réseau…)

J’ai obtenu les même résultat à la main (sans network-manager, avec ifconfig/iwconfig).
Voilà, un peu d’aide ne serait pas de refus. Merci !

Si tu te connecte avec un cryptage quelconque retire le pour les tests si tu arrive à te connecter sans cryptage c’est que ça viens de là.

Vérifie aussi que ton routeur accepte bien ton adresse MAC.

Effectivement ça venait du wpa… Je ne savai pas qu’il n’était pas supporté par défaut, désolé…

Au cas ou d’autre personne auraient le même problème, il suffit de commencer par tester sans cryptage ou en wep puis d’installer NetworkManager pour le WPA.

Merci :slightly_smiling:

Merci pour ce post, j’allais poster quand je suis tombé là dessus et mon wifi marche maintenant sans aucun problème…
Ce forum est efficace, on a la réponse à la question avant de la poser…

Ça en devient même des fois chiant si on veux augmenter notre nombre de posts, et merde j’ai déjà ma réponse rapidement flute alors c’est pas encore maintenant que je vais réussir à dépasser MattOTop au niveau nombre de posts :smiley: