[Wifi]Impossible de se connecter (résolu)

Applications, problèmes de configuration réseau
chindit
Daikyu
Messages : 76
Inscription : dim. 07 oct. 2012, 15:56

[Wifi]Impossible de se connecter (résolu)

Message par chindit »

Bonjour à tous

Je viens d'installer Arch sur mon eeePC et d'y mettre gnome3.
Le problème que j'ai est que je n'arrive pas à me connecter au wifi.

/var/log/messages.log dit ceci :
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) starting connection 'MyWiFi automática'
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0/wireless): access point 'MyWiFi automática' has security, but secrets are required.
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0/wireless): connection 'MyWiFi automática' has security, and secrets exist. No new secrets needed.
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Config: added 'ssid' value 'MyWiFi'
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Config: added 'scan_ssid' value '1'
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Config: added 'psk' value '<omitted>'
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Config: set interface ap_scan to 1
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): supplicant interface state: disconnected -> authenticating
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): supplicant interface state: authenticating -> associating
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): supplicant interface state: associating -> 4-way handshake
Oct 7 17:48:49 (none) dhcpcd[327]: wlan0: carrier acquired
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'MyWiFi'.
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0]
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Oct 7 17:48:49 (none) dhcpcd[800]: sending commands to master dhcpcd process
Oct 7 17:48:49 (none) NetworkManager[403]: <info> dhcpcd started with pid 800
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): DHCPv4 client pid 800 exited with status 0
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 4 of 5 (IPv4 Configure Timeout) started...
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Marking connection 'MyWiFi automática' invalid.
Oct 7 17:48:49 (none) NetworkManager[403]: <warn> Activation (wlan0) failed for connection 'MyWiFi automática'
Oct 7 17:48:49 (none) NetworkManager[403]: <info> Activation (wlan0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): deactivating device (reason 'none') [0]
Oct 7 17:48:49 (none) dhcpcd[327]: wlan0: sending IPv6 Router Solicitation
Oct 7 17:48:49 (none) dhcpcd[327]: wlan0: rebinding lease of 192.168.1.12
Oct 7 17:48:49 (none) dhcpcd[327]: control command: /usr/sbin/dhcpcd -B -K -L -G -c /usr/lib/networkmanager/nm-dhcp-client.action wlan0
Oct 7 17:48:49 (none) kernel: [ 102.176639] cfg80211: Calling CRDA to update world regulatory domain
Oct 7 17:48:49 (none) dhcpcd[327]: wlan0: carrier lost
Oct 7 17:48:49 (none) NetworkManager[403]: <info> (wlan0): supplicant interface state: completed -> disconnected
Oct 7 17:48:53 (none) dhcpcd[327]: wlan0: sending IPv6 Router Solicitation
Oct 7 17:48:54 (none) dhcpcd[327]: wlan0: broadcasting for a lease
Oct 7 17:48:56 (none) dbus[377]: [system] Failed to activate service 'org.freedesktop.Avahi': timed out
Oct 7 17:48:57 (none) dhcpcd[327]: wlan0: sending IPv6 Router Solicitation
Oct 7 17:49:01 (none) dhcpcd[327]: wlan0: sending IPv6 Router Solicitation
Oct 7 17:49:01 (none) dhcpcd[327]: wlan0: no IPv6 Routers available
Bien entendu, j'ai été lire la doc sur le Wifi.
J'ai notamment regardé le résultat de iwconfig:

Code : Tout sélectionner

wlan0     IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
D'après des recherches, je sais qu'il à un problème parce que "Not-Associated" n'est pas normal" mais je ne sais pas comment le résoudre.

J'ai également essayé ceci wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf (mon wifi est en WPA2-TKIP et, oui, j'ai pensé à configurer le fichier avant de lancer la commande) mais ça a échoué :

Code : Tout sélectionner

Line 729: unknown EAP method 'SIM'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 729: failed to parse eap 'SIM'.
Line 732: failed to parse network block.
Line 739: unknown EAP method 'PSK'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 739: failed to parse eap 'PSK'.
Line 743: failed to parse network block.
Line 775: unknown EAP method 'IKEV2'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 775: failed to parse eap 'IKEV2'.
Line 778: failed to parse network block.
Line 784: unknown EAP method 'FAST'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 784: failed to parse eap 'FAST'.
Line 790: failed to parse network block.
Line 795: unknown EAP method 'FAST'
You may need to add support for this EAP method during wpa_supplicant
build time configuration.
See README for more information.
Line 795: failed to parse eap 'FAST'.
Line 801: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
En outre, lorsque j'essaie graphiquement, je n'ai pas accès aux options du wifi (généralement, je peux y aller une fois puis le bouton apparaît grisé jusqu'à ce que je redémarre).
Image

J'avoue être perdu. Que dois-je faire pour que le wifi fonctionne?
Merci d'avance à tous :D

P.S.: ma carte Wifi est une Atheros AR9… Et j'ai vérifié, le driver ath9k est bien présent
chindit
Daikyu
Messages : 76
Inscription : dim. 07 oct. 2012, 15:56

Re: [RÉSOLU][Wifi]Impossible de se connecter

Message par chindit »

D'après le LOG, j'avais deviné que c'était l'IPv6 qui posait problème.
J'avais coché «Ignore» mais ça n'avait pas fonctionner.

En fait, en choisissant "Lien à «Local»", ça fonctionne.

Persévérance, what else? :D
Alplob
archer
Messages : 127
Inscription : ven. 02 nov. 2007, 18:30

Re: [Wifi]Impossible de se connecter (résolu)

Message par Alplob »

Salut,

J'ai quasiment le meme probleme, mais je ne trouve pas le choix "Lien à", peux-tu me dire où il se trouve?

Mervi d'avance!

Alplob
Alplob
archer
Messages : 127
Inscription : ven. 02 nov. 2007, 18:30

Re: [Wifi]Impossible de se connecter (résolu)

Message par Alplob »

Finalement, j'ai également trouvé par moi-même ^_^

Le choix "Lien à" peut être fait grâce à NetworkManager (j'utilise Wicd) mais cela n'a pas résolu mon problème (j'obtenais bien une IP mais impossible d'aller sur internet). En revanche, utiliser une IP statique me permet bien d'accéder sur internet.
Répondre