[wifi] Problème pour me connecter au wifi

Applications, problèmes de configuration réseau
stephan08
Daikyu
Messages : 93
Inscription : jeu. 19 nov. 2015, 23:18

[wifi] Problème pour me connecter au wifi

Message par stephan08 »

Bonjour,

J'ai essayé de me connecter au wifi avec menu-config. J'ai choisi mon wifi puis j'ai tapé le mot de passe wifi mais ça n'a pas marché.

J'ai le message d'erreur suivant:

Code : Tout sélectionner

Job for netctl@wlp20s0\x2dtoto.service failed because the control process exited with error code. See "systemctl status "netctl@wlp20s0\\x2dtoto.service"" and "journalctl -xe" for details.
Du coup, en lançant: systemctl status "netctl@wlp20s0\\x2dtoto.service",
j'obtiens:

Code : Tout sélectionner

â netctl@wlp20s0\x2dtoto.service - Networking for netctl profile wlp20s0-toto
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2015-11-20 00:23:22 CET; 3min 5s ago
     Docs: man:netctl.profile(5)
  Process: 9271 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 9271 (code=exited, status=1/FAILURE)

Nov 20 00:23:22 archdeepu systemd[1]: Stopped Networking for netctl profile wlp20s0-toto.
Nov 20 00:23:22 archdeepu systemd[1]: Starting Networking for netctl profile wlp20s0-toto...
Nov 20 00:23:22 archdeepu systemd[1]: netctl@wlp20s0\x2dtoto.service: Main process exited, code=exited, status=1/FAILURE
Nov 20 00:23:22 archdeepu systemd[1]: Failed to start Networking for netctl profile wlp20s0-toto.
Nov 20 00:23:22 archdeepu systemd[1]: netctl@wlp20s0\x2dtoto.service: Unit entered failed state.
Nov 20 00:23:22 archdeepu systemd[1]: netctl@wlp20s0\x2dtoto.service: Failed with result 'exit-code'.
Nov 20 00:23:22 archdeepu network[9271]: Starting network profile 'wlp20s0-toto'...
Nov 20 00:23:22 archdeepu network[9271]: The interface of network profile 'wlp20s0-toto' is already up
et journalctl -xe me donne pour le début:

Code : Tout sélectionner

-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@wlp20s0\x2dtoto.service has finished shutting down.
Nov 20 00:15:00 archdeepu polkitd[382]: Registered Authentication Agent for unix-process:9054:632510 (system bus name :1.26 [/usr/bin/pkttyagent --notify-fd 4 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationA
Nov 20 00:15:00 archdeepu systemd[1]: Starting Networking for netctl profile wlp20s0-toto...
-- Subject: Unit netctl@wlp20s0\x2dtoto.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@wlp20s0\x2dtoto.service has begun starting up.
Nov 20 00:15:00 archdeepu systemd[1]: netctl@wlp20s0\x2dtoto.service: Main process exited, code=exited, status=1/FAILURE
Nov 20 00:15:00 archdeepu systemd[1]: Failed to start Networking for netctl profile wlp20s0-toto.
-- Subject: Unit netctl@wlp20s0\x2dtoto.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@wlp20s0\x2dtoto.service has failed.
-- 
-- The result is failed.
Nov 20 00:15:00 archdeepu systemd[1]: netctl@wlp20s0\x2dtoto.service: Unit entered failed state.
Nov 20 00:15:00 archdeepu systemd[1]: netctl@wlp20s0\x2dtoto.service: Failed with result 'exit-code'.
Nov 20 00:15:00 archdeepu network[9060]: Starting network profile 'wlp20s0-toto'...
Nov 20 00:15:00 archdeepu network[9060]: The interface of network profile 'wlp20s0-toto' is already up
Nov 20 00:15:00 archdeepu polkitd[382]: Unregistered Authentication Agent for unix-process:9054:632510 (system bus name :1.26, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8) (disconnected from 
Nov 20 00:23:22 archdeepu polkitd[382]: Registered Authentication Agent for unix-process:9256:682741 (system bus name :1.27 [/usr/bin/pkttyagent --notify-fd 4 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationA
Nov 20 00:23:22 archdeepu polkitd[382]: Unregistered Authentication Agent for unix-process:9256:682741 (system bus name :1.27, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8) (disconnected from 
Nov 20 00:23:22 archdeepu systemd[1]: Stopped Networking for netctl profile wlp20s0-toto.
-- Subject: Unit netctl@wlp20s0\x2dtoto.service has finished shutting down
...
...
Pouvez vous m'aider à résoudre ce problème s'il vous plaît?
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17632
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [wifi] Problème pour me connecter au wifi

Message par benjarobin »

Code : Tout sélectionner

The interface of network profile 'wlp20s0-toto' is already up
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
stephan08
Daikyu
Messages : 93
Inscription : jeu. 19 nov. 2015, 23:18

Re: [wifi] Problème pour me connecter au wifi

Message par stephan08 »

Re,

J'ai finalement résolu mon problème.

Je suis reparti de 0. J'ai supprimé le profil que j'avais crée dans /etc/netctl puis j'en ai recréé un.

J'ai remarqué dans le profil que j'avais copié de l'exemple Interface=wlan0.

Or en lançant:

Code : Tout sélectionner

ip link
J'obtenais:

Code : Tout sélectionner

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp20s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 00:22:fa:0a:bf:f8 brd ff:ff:ff:ff:ff:ff
3: enp14s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:23:5a:02:63:19 brd ff:ff:ff:ff:ff:ff
Mon interface wifi ne s’appelait pas wlan0 mais wlp20s0. En changeant, ce paramètre dans le profil que j'avais crée, le problème s'est résolu.
Répondre