[Timeout au démarrage] sys-subsystem-net-device-wlp2s0 timeout (résolu)

Applications, problèmes de configuration réseau
DragonRock
Hankyu
Messages : 24
Inscription : mer. 21 mai 2014, 12:52

[Timeout au démarrage] sys-subsystem-net-device-wlp2s0 timeout (résolu)

Message par DragonRock »

Salut tout le monde.

Depuis quelque temps, quand j'allume mon pc, au moment du boot, il attend 1 min 30 qu'un service se termine :

Code : Tout sélectionner

A start job is running for sys-subsystem-net-devices-wlp2s0.device (57s/1min 30s)
Du coup, j'ai essayé de récupérer son status, et j'ai (selon si je lance la commande en root ou pas) :

Code : Tout sélectionner

$ systemctl status sys-subsystem-net-devices-wlp2s0.device
● sys-subsystem-net-devices-wlp2s0.device
   Loaded: loaded
   Active: inactive (dead)

Code : Tout sélectionner

$ sudo systemctl status sys-subsystem-net-devices-wlp2s0.device
● sys-subsystem-net-devices-wlp2s0.device
   Loaded: loaded
   Active: inactive (dead)

juin 13 08:57:52 thomas-laptop systemd[1]: sys-subsystem-net-devices-wlp2s0.device: Job sys-subsystem-net-devices-wlp2s0.device/start timed out.
juin 13 08:57:52 thomas-laptop systemd[1]: Timed out waiting for device sys-subsystem-net-devices-wlp2s0.device.
juin 13 08:57:52 thomas-laptop systemd[1]: sys-subsystem-net-devices-wlp2s0.device: Job sys-subsystem-net-devices-wlp2s0.device/start failed with result 'timeout'.
J'ai (naïvement) voulu le disable, dans la mesure où mon réseau fonctionne correctement, mais quand j'essaie, j'ai un "No such file or directory"

Code : Tout sélectionner

$ systemctl disable sys-subsystem-net-devices-wlp2s0.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-unit-files ===
Authentification requise pour gérer le service système ou ses fichiers unités.
Authenticating as: root
Password: 
==== AUTHENTICATION COMPLETE ===
Failed to disable unit: No such file or directory
Du coup, les questions :
  • est-ce que le disable est la bonne solution ?
  • si oui, comment je peux faire ça ?
  • sinon, comment je peux m'en sortir ?
Merci d'avance !
Dernière modification par DragonRock le mer. 15 juin 2016, 20:51, modifié 1 fois.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17632
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Timeout au démarrage] sys-subsystem-net-device-wlp2s0 timeout

Message par benjarobin »

Bonjour,
Peux tu donner la sortie de la commande : ip a
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
DragonRock
Hankyu
Messages : 24
Inscription : mer. 21 mai 2014, 12:52

Re: [Timeout au démarrage] sys-subsystem-net-device-wlp2s0 timeout

Message par DragonRock »

Code : Tout sélectionner

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp14s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 7c:05:07:cb:44:b1 brd ff:ff:ff:ff:ff:ff
    inet 147.127.121.38/21 brd 147.127.127.255 scope global enp14s0
       valid_lft forever preferred_lft forever
    inet6 fe80::7e05:7ff:fecb:44b1/64 scope link 
       valid_lft forever preferred_lft forever
3: wlp13s0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether 24:fd:52:6d:3e:5b brd ff:ff:ff:ff:ff:ff
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17632
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Timeout au démarrage] sys-subsystem-net-device-wlp2s0 timeout

Message par benjarobin »

L'interface wlp2s0 n'existe pas, donc c'est normal d'avoir ce genre de problème.
Tu as du créer un fichier de configuration avec cette interface...
Quelle est la sortie de :

Code : Tout sélectionner

grep -r wlp2s0 /etc
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
DragonRock
Hankyu
Messages : 24
Inscription : mer. 21 mai 2014, 12:52

Re: [Timeout au démarrage] sys-subsystem-net-device-wlp2s0 timeout

Message par DragonRock »

J'ai lancé ta commande en root (parce que sinon y'a plein de dossiers où j'ai "Permission non accordée")

Quand j'la lance en root, il trouve rien :(

Code : Tout sélectionner

$ sudo grep -r wlp2s0 /etc
[sudo] Mot de passe de thomas :
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17632
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Timeout au démarrage] sys-subsystem-net-device-wlp2s0 timeout

Message par benjarobin »

C'est fâcheux... Peux tu donner la sortie en root de :

Code : Tout sélectionner

journalctl --no-pager -b | grep -A 4 -B 4 -i wlp2s0
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
DragonRock
Hankyu
Messages : 24
Inscription : mer. 21 mai 2014, 12:52

Re: [Timeout au démarrage] sys-subsystem-net-device-wlp2s0 timeout

Message par DragonRock »

Désolé pour le temps de réponse, j'ai eu pas mal de trucs à faire. Voilà l'output

Code : Tout sélectionner

# journalctl --no-pager -b | grep -A 4 -B 4 -i wlp2s0
juin 15 20:03:23 thomas-laptop avahi-daemon[446]: Registering new address record for 192.168.1.70 on wlp13s0.IPv4.
juin 15 20:03:23 thomas-laptop dhcpcd[737]: forked to background, child pid 787
juin 15 20:03:23 thomas-laptop network[465]: Started network profile 'wlp13s0-Bbox-F'
juin 15 20:03:23 thomas-laptop systemd[1]: Started Automatically generated profile by wifi-menu.
juin 15 20:04:18 thomas-laptop systemd[1]: sys-subsystem-net-devices-wlp2s0.device: Job sys-subsystem-net-devices-wlp2s0.device/start timed out.
juin 15 20:04:18 thomas-laptop systemd[1]: Timed out waiting for device sys-subsystem-net-devices-wlp2s0.device.
juin 15 20:04:18 thomas-laptop systemd[1]: Dependency failed for Automatic wireless network connection using netctl profiles.
juin 15 20:04:18 thomas-laptop systemd[1]: netctl-auto@wlp2s0.service: Job netctl-auto@wlp2s0.service/start failed with result 'dependency'.
juin 15 20:04:18 thomas-laptop systemd[1]: sys-subsystem-net-devices-wlp2s0.device: Job sys-subsystem-net-devices-wlp2s0.device/start failed with result 'timeout'.
juin 15 20:04:18 thomas-laptop systemd[1]: Reached target Network.
juin 15 20:04:18 thomas-laptop systemd[1]: Starting Permit User Sessions...
juin 15 20:04:18 thomas-laptop systemd[1]: Starting PostgreSQL database server...
juin 15 20:04:18 thomas-laptop systemd[1]: Started OpenSSH Daemon.
Avatar de l’utilisateur
benjarobin
Maître du Kyudo
Messages : 17632
Inscription : sam. 30 mai 2009, 15:48
Localisation : Lyon

Re: [Timeout au démarrage] sys-subsystem-net-device-wlp2s0 timeout

Message par benjarobin »

Donne la sortie de :

Code : Tout sélectionner

find /etc -name "*wlp2s0*"
Puis un ls -l sur chaque fichier listé
C'est apparemment la configuration netctl (via wifi-menu ?) qui pose problème
Zsh | KDE | PC fixe : AMD Ryzen 9900X, Radeon RX 7700 XT
Titre d'un sujet : [Thème] Sujet (état) / Règles du forum
DragonRock
Hankyu
Messages : 24
Inscription : mer. 21 mai 2014, 12:52

Re: [Timeout au démarrage] sys-subsystem-net-device-wlp2s0 timeout

Message par DragonRock »

Bingo !

Code : Tout sélectionner

$ sudo find /etc -name "*wlp2s0*"
/etc/systemd/system/multi-user.target.wants/netctl-auto@wlp2s0.service
Et du coup, j'ai pu lancer

Code : Tout sélectionner

$ sudo systemctl disable netctl-auto@.service
Removed /etc/systemd/system/multi-user.target.wants/netctl-auto@wlp2s0.service.
Tout marche ! Merci beaucoup !
Répondre