Pages : 1
#1 Le 23/11/2021, à 10:58
- fliteo
Pas de connexion filaire
Bonjour,
Nouveau sur Ubuntu et Linux je me heurte depuis ce matin a de nombreux problèmes, le plus important étant la connexion réseau.
Contexte :
Tout allait bien jusqu'à hier, journée où j'ai fait de nombreuses installations en tout genre pour le travail et peut-être cassé certaines choses.
Après avoir redémarré mon ordinateur ce matin j'ai d'abord eu un problème d'écran non reconnu. J'ai alors installé les drivers propriétaire NVIDIA et redémarré, ce qui a corrigé le problème mais entraîné de nouveaux :
- certains logiciels avaient "disparu", notamment Vivaldi (navigateur)
- impossible d'ouvrir Ubuntu Software
- je n'avais plus du tout accès au réseau (uniquement filaire)
Après plusieurs tentatives dont je ne me rappelle plus exactement j'ai réussi à arranger la plupart des problèmes. A vérifier tout de fois car je n'ai pas réussi à installer le .deb de vivaldi depuis ubuntu software, ça n'a fonctionné qu'en ligne de commande donc il y a encore un loup.
J'arrive maintenant à me connecter au réseau de façon "précaire" en lançant la commande
sudo dhclient
en début de session.
Problèmes :
- Je dois relancer sudo dhclient à chaque redémarrage sans comprendre ce que ça fait exactement
- Un certain nombre d'applications ont toujours des problèmes de connexion malgré ça, par exemple Ubuntu Software qui m'affiche "Se connecter pour rechercher des mises à jour" sur l'onglet "Mises à jour", avec un bouton "Paramètres du réseau" qui ne fonctionne pas, est-ce lié à mes problèmes ?
- J'ai parfois un message "filaire non géré" sous le raccourcis d'alimentation, mais je ne l'ai plus au moment où j'écris ces lignes.
Voilà où j'en suis de mes investigations. Je les continue mais je suis dépassé par les problèmes et tente des commandes que je ne comprend pas pour essayer de les résoudre donc je préfère me tourner vers vous dès maintenant.
Merci d'avance pour votre aide
Hors ligne
#2 Le 23/11/2021, à 11:00
- xubu1957
Re : Pas de connexion filaire
Bonjour,
Montre, en te servant du Retour utilisable de commande :
lspci -k -nn | grep -A 3 -i net
ip a
et d'éventuels paquets cassés :
dpkg -l | grep -v ^ii
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#3 Le 23/11/2021, à 11:12
- fliteo
Re : Pas de connexion filaire
Voici (après avoir récupéré le réseau avec les commandes suivantes) :
➜ ~ sudo ip link set enp42s0 down
➜ ~ sudo ip link set enp42s0 up
➜ ~ sudo dhclient enp42s0
➜ ~ lspci -k -nn | grep -A 3 -i net
2a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:7c56]
Kernel driver in use: r8169
Kernel modules: r8169
2b:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:2484] (rev a1)
➜ ~
➜ ~ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
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: enp42s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 2c:f0:5d:e3:a1:e7 brd ff:ff:ff:ff:ff:ff
inet 192.168.50.208/24 brd 192.168.50.255 scope global dynamic enp42s0
valid_lft 86289sec preferred_lft 86289sec
inet6 fe80::2ef0:5dff:fee3:a1e7/64 scope link
valid_lft forever preferred_lft forever
➜ ~
➜ ~ dpkg -l | grep -v ^ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==========================================-===================================-============-======================================================================================================
rc alsa-utils 1.2.2-1ubuntu2.1 amd64 Utilities for configuring and using ALSA
rc brltty 6.0+dfsg-4ubuntu6 amd64 Access software for a blind person using a braille display
rc cups-bsd 2.3.1-9ubuntu1.1 amd64 Common UNIX Printing System(tm) - BSD commands
rc deja-dup 40.7-0ubuntu1 amd64 Backup utility
rc evince 3.36.10-0ubuntu1 amd64 Document (PostScript, PDF) viewer
rc fprintd 1.90.9-1~ubuntu20.04.1 amd64 D-Bus daemon for fingerprint reader access
rc fwupd 1.5.11-0ubuntu1~20.04.2 amd64 Firmware update daemon
rc gamemode 1.5.1-0ubuntu3.1 amd64 Optimise Linux system performance on demand
rc gdb 9.2-0ubuntu1~20.04 amd64 GNU Debugger
rc git 1:2.25.1-1ubuntu3.2 amd64 fast, scalable, distributed revision control system
rc gnome-disk-utility 3.36.3-0ubuntu1 amd64 manage and configure disk drives and media
rc gnome-initial-setup 3.36.2-0ubuntu2 amd64 Initial GNOME system setup helper
rc google-chrome-stable 96.0.4664.45-1 amd64 The web browser from Google
rc libnvidia-compute-460:amd64 460.91.03-0ubuntu0.20.04.1 amd64 NVIDIA libcompute package
rc libxcb-image0:amd64 0.4.0-1build1 amd64 utility libraries for X C Binding -- image
rc linux-image-5.11.0-25-generic 5.11.0-25.27~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.8.0-43-generic 5.8.0-43.49~20.04.1 amd64 Signed kernel image generic
rc linux-image-5.8.0-63-generic 5.8.0-63.71~20.04.1 amd64 Signed kernel image generic
rc linux-modules-5.11.0-25-generic 5.11.0-25.27~20.04.1 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP
rc linux-modules-5.8.0-43-generic 5.8.0-43.49~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc linux-modules-5.8.0-63-generic 5.8.0-63.71~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc linux-modules-extra-5.11.0-25-generic 5.11.0-25.27~20.04.1 amd64 Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP
rc linux-modules-extra-5.8.0-43-generic 5.8.0-43.49~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc linux-modules-extra-5.8.0-63-generic 5.8.0-63.71~20.04.1 amd64 Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc linux-modules-nvidia-460-5.11.0-25-generic 5.11.0-25.27~20.04.1+3 amd64 Linux kernel nvidia modules for version 5.11.0-25
rc linux-modules-nvidia-460-5.11.0-27-generic 5.11.0-27.29~20.04.1 amd64 Linux kernel nvidia modules for version 5.11.0-27
rc linux-modules-nvidia-460-5.8.0-43-generic 5.8.0-43.49~20.04.1 amd64 Linux kernel nvidia modules for version 5.8.0-43
rc linux-modules-nvidia-460-5.8.0-63-generic 5.8.0-63.71~20.04.1 amd64 Linux kernel nvidia modules for version 5.8.0-63
rc linux-objects-nvidia-460-5.11.0-25-generic 5.11.0-25.27~20.04.1+3 amd64 Linux kernel nvidia modules for version 5.11.0-25 (objects)
rc linux-objects-nvidia-460-5.8.0-63-generic 5.8.0-63.71~20.04.1 amd64 Linux kernel nvidia modules for version 5.8.0-63 (objects)
rc network-manager-gnome 1.8.24-1ubuntu3 amd64 network management framework (GNOME frontend)
rc nvidia-compute-utils-460 460.91.03-0ubuntu0.20.04.1 amd64 NVIDIA compute utilities
rc nvidia-kernel-common-460 460.91.03-0ubuntu0.20.04.1 amd64 Shared files used with the kernel module
rc plymouth-theme-spinner 0.9.4git20200323-0ubuntu6.2 amd64 boot animation, logger and I/O multiplexer - spinner theme
rc rsyslog 8.2001.0-1ubuntu1.1 amd64 reliable system and kernel logging daemon
rc shotwell 0.30.10-0ubuntu0.1 amd64 digital photo organizer
rc spice-vdagent 0.19.0-2ubuntu0.2 amd64 Spice agent for Linux
rc tmux 3.0a-2ubuntu0.3 amd64 terminal multiplexer
rc ubuntu-advantage-tools 27.2.2~20.04.1 amd64 management tools for Ubuntu Advantage
rc x11-apps 7.7+8 amd64 X applications
rc x11-session-utils 7.7+4 amd64 X session utilities
rc xbrlapi 6.0+dfsg-4ubuntu6 amd64 Access software for a blind person using a braille display - xbrlapi
rc xinit 1.4.1-0ubuntu2 amd64 X server initialisation tool
➜ ~
Hors ligne
#4 Le 23/11/2021, à 11:21
- xubu1957
Re : Pas de connexion filaire
Pour nettoyer :
Pour supprimer tous ces fichiers de configuration devenus sans objets et marqués "rc", et uniquement ces fichiers, exécute :
dpkg -l | awk '/^rc/{print $2}' | xargs -r sudo dpkg -P
Pour info, les précisions de nany, pour la commande de nettoyage et une possibilité d'automatisation.
_ _ _
Donne le retour de :
sudo apt update
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#5 Le 23/11/2021, à 11:31
- fliteo
Re : Pas de connexion filaire
Merci, j'ai vu que j'avais deux paquets (mesa-va-drivers et vivaldy-stable) à upgrade, ce que j'ai fait avant de refaire un update :
➜ ~ sudo apt update
Hit:1 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Hit:4 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://packages.microsoft.com/repos/code stable InRelease
Ign:6 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:7 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:8 http://repo.vivaldi.com/stable/deb stable Release
Get:9 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:10 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu bionic InRelease [5,179 B]
Get:12 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu bionic InRelease [5,143 B]
Fetched 124 kB in 1s (200 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
➜ ~
Hors ligne
#6 Le 23/11/2021, à 11:44
- xubu1957
Re : Pas de connexion filaire
Il y avait eu cette solution, proposée par ylag > [RESOLU] Connexion Internet via Ethernet et WIFI Impossible MAJ 18.04
_ _ _
Montre :
cat /etc/NetworkManager/NetworkManager.conf
Dernière modification par xubu1957 (Le 23/11/2021, à 11:45)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#7 Le 23/11/2021, à 11:48
- nany
Re : Pas de connexion filaire
Bonjour,
… Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:3 http://fr.archive.ubuntu.com/ubuntu focal InRelease …
Il y a un mélange de bionic et de focal dans les sources.
Donne les retours de :
echo "$(lsb_release -sd) $(awk -F"[()]" '/VERSION=/{print $2}' /etc/os-release) (migrée depuis $(cat /var/log/installer/media-info)) avec $XDG_CURRENT_DESKTOP sur $XDG_SESSION_TYPE"
find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n\t$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;
Hors ligne
#8 Le 23/11/2021, à 11:52
- iznobe
Re : Pas de connexion filaire
J'arrive maintenant à me connecter au réseau de façon "précaire" en lançant la commande
sudo dhclient
en début de session.
Problèmes :
- Je dois relancer sudo dhclient à chaque redémarrage sans comprendre ce que ça fait exactement
- Un certain nombre d'applications ont toujours des problèmes de connexion malgré ça, par exemple Ubuntu Software qui m'affiche "Se connecter pour rechercher des mises à jour" sur l'onglet "Mises à jour", avec un bouton "Paramètres du réseau" qui ne fonctionne pas, est-ce lié à mes problèmes ?
- J'ai parfois un message "filaire non géré" sous le raccourcis d'alimentation, mais je ne l'ai plus au moment où j'écris ces lignes.
vu dans le retour des paquets cassés :
rc network-manager-gnome 1.8.24-1ubuntu3 amd64 network management framework (GNOME frontend)
que donne :
sudo apt install --reinstall network-manager
Dernière modification par iznobe (Le 23/11/2021, à 11:57)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
En ligne
#9 Le 23/11/2021, à 12:14
- fliteo
Re : Pas de connexion filaire
Bonjour et merci d'être aussi nombreux à m'aider
➜ ~ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
➜ ~ echo "$(lsb_release -sd) $(awk -F"[()]" '/VERSION=/{print $2}' /etc/os-release) (migrée depuis $(cat /var/log/installer/media-info)) avec $XDG_CURRENT_DESKTOP sur $XDG_SESSION_TYPE"
Ubuntu 20.04.2 LTS Focal Fossa (migrée depuis Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)) avec ubuntu:GNOME sur x11
➜ ~
Ubuntu 20.04.2 LTS Focal Fossa (migrée depuis Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1)) avec ubuntu:GNOME sur x11
➜ ~ find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n\t$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;
/etc/apt/sources.list.save
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1)]/ focal main restricted
2
3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
4 # newer versions of the distribution.
5 deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
6 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
11 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://fr.archive.ubuntu.com/ubuntu/ focal universe
17 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal universe
18 deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
19 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
27 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
28 deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
29 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
37 # deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
38
39 ## Uncomment the following two lines to add software from Canonical's
40 ## 'partner' repository.
41 ## This software is not part of Ubuntu, but is offered by Canonical and the
42 ## respective vendors as a service to Ubuntu users.
43 # deb http://archive.canonical.com/ubuntu focal partner
44 # deb-src http://archive.canonical.com/ubuntu focal partner
45
46 deb http://security.ubuntu.com/ubuntu focal-security main restricted
47 # deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
48 deb http://security.ubuntu.com/ubuntu focal-security universe
49 # deb-src http://security.ubuntu.com/ubuntu focal-security universe
50 deb http://security.ubuntu.com/ubuntu focal-security multiverse
51 # deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
52
53 # This system was installed using small removable media
54 # (e.g. netinst, live or single CD). The matching "deb cdrom"
55 # entries were disabled at the end of the installation process.
56 # For information about how to configure apt package sources,
57 # see the sources.list(5) manual.
58 deb http://archive.ubuntu.com/ubuntu bionic main
59 # deb-src http://archive.ubuntu.com/ubuntu bionic main
/etc/apt/sources.list.d/vscode.list.save
/etc/apt/sources.list.d/vscode.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
/etc/apt/sources.list.d/1047481448-2-ubuntu-sergkolo-focal.list
/etc/apt/sources.list.d/vivaldi.list.save
/etc/apt/sources.list.d/rabbitmq.list
1
2 deb [signed-by=/usr/share/keyrings/io.cloudsmith.rabbitmq.E495BB49CC4BBE5B.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu bionic main
3 deb-src [signed-by=/usr/share/keyrings/io.cloudsmith.rabbitmq.E495BB49CC4BBE5B.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu bionic main
4
5 ## Provides RabbitMQ
6 ##
7 deb [signed-by=/usr/share/keyrings/io.cloudsmith.rabbitmq.9F4587F226208342.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu bionic main
8 deb-src [signed-by=/usr/share/keyrings/io.cloudsmith.rabbitmq.9F4587F226208342.gpg] https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu bionic main
/etc/apt/sources.list.d/vivaldi.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb [arch=amd64] http://repo.vivaldi.com/stable/deb/ stable main
/etc/apt/sources.list.d/1047481448-2-ubuntu-sergkolo-focal.list.save
/etc/apt/sources.list.d/deadsnakes-ubuntu-ppa-focal.list.save
/etc/apt/sources.list.d/google-chrome.list.save
/etc/apt/sources.list.d/deadsnakes-ubuntu-ppa-focal.list
1 deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main
2 # deb-src http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main
➜ ~
➜ ~ sudo apt install --reinstall network-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reinstallation of network-manager is not possible, it cannot be downloaded.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Hors ligne
#10 Le 23/11/2021, à 12:21
- nany
Re : Pas de connexion filaire
Donne le retour de :
sudo sed -i '58,$d' /etc/apt/sources.list && sudo apt clean && sudo apt update
Pour le problème Ethernet, je tenterais d’installer r8168-dkms :
sudo apt install -y r8168-dkms
Suivi d’un redémarrage.
Hors ligne
#11 Le 23/11/2021, à 12:31
- fliteo
Re : Pas de connexion filaire
➜ ~ sudo sed -i '58,$d' /etc/apt/sources.list && sudo apt clean && sudo apt update
Hit:1 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://packages.microsoft.com/repos/code stable InRelease
Hit:4 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease
Ign:5 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:6 http://repo.vivaldi.com/stable/deb stable Release
Hit:7 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease
Get:8 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:10 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [35.7 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [64.4 kB]
Get:12 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:13 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-erlang/deb/ubuntu bionic InRelease [5,179 B]
Get:14 https://dl.cloudsmith.io/public/rabbitmq/rabbitmq-server/deb/ubuntu bionic InRelease [5,143 B]
Fetched 227 kB in 1s (183 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
➜ ~ sudo apt install -y r8168-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
r8168-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 98.3 kB of archives.
After this operation, 1,388 kB of additional disk space will be used.
Get:1 http://fr.archive.ubuntu.com/ubuntu focal-updates/universe amd64 r8168-dkms all 8.048.00-1ubuntu0.20.04.2 [98.3 kB]
Fetched 98.3 kB in 0s (742 kB/s)
Selecting previously unselected package r8168-dkms.
(Reading database ... 210089 files and directories currently installed.)
Preparing to unpack .../r8168-dkms_8.048.00-1ubuntu0.20.04.2_all.deb ...
Unpacking r8168-dkms (8.048.00-1ubuntu0.20.04.2) ...
Setting up r8168-dkms (8.048.00-1ubuntu0.20.04.2) ...
Loading new r8168-8.048.00 DKMS files...
Building for 5.11.0-40-generic
Building initial module for 5.11.0-40-generic
Secure Boot not enabled on this system.
Done.
r8168.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.11.0-40-generic/updates/dkms/
depmod...
Backing up initrd.img-5.11.0-40-generic to /boot/initrd.img-5.11.0-40-generic.old-dkms
Making new initrd.img-5.11.0-40-generic
(If next boot fails, revert to initrd.img-5.11.0-40-generic.old-dkms image)
update-initramfs.....
DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.136ubuntu6.6) ...
update-initramfs: Generating /boot/initrd.img-5.11.0-40-generic
Je redémarre et je vous tiens au courant
[edit] Non pas d'amélioration
Dernière modification par fliteo (Le 23/11/2021, à 12:34)
Hors ligne
#12 Le 23/11/2021, à 12:38
- xubu1957
Re : Pas de connexion filaire
@nany
> cet échange avec moko138 pour le r8168-dkms
Lien rétabli > how-to-get-your-realtek-rtl8111rtl8168-working-updated-guide
Dernière modification par xubu1957 (Le 23/11/2021, à 13:16)
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#13 Le 23/11/2021, à 12:44
- nany
Re : Pas de connexion filaire
Alors donne le retour de :
echo "blacklist r8169" | sudo tee /etc/modprobe.d/blacklist-r8169.conf
Puis redémarre et donne le retour de :
lspci -k -nn | grep -A 3 -i net
Hors ligne
#14 Le 23/11/2021, à 13:06
- fliteo
Re : Pas de connexion filaire
➜ ~ echo "blacklist r8169" | sudo tee /etc/modprobe.d/blacklist-r8169.conf
blacklist r8169
➜ ~ lspci -k -nn | grep -A 3 -i net
2a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:7c56]
Kernel driver in use: r8168
Kernel modules: r8168
2b:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:2484] (rev a1)
Hors ligne
#15 Le 23/11/2021, à 13:08
- nany
Re : Pas de connexion filaire
Et es-tu toujours obligé de lancer sudo dhclient ?
Hors ligne
#16 Le 23/11/2021, à 13:15
- fliteo
Re : Pas de connexion filaire
Oui
Hors ligne
#17 Le 23/11/2021, à 13:20
- nany
Re : Pas de connexion filaire
Bon alors c’était une fausse piste. On va remettre comme à l’origine.
Donne les retours de :
cd /etc/modprobe.d && sudo rm -v blacklist-r8169.conf ; cd
sudo apt remove --purge r8168-dkms
Puis redémarre à nouveau et redonne le retour de :
lspci -k -nn | grep -A 3 -i net
Hors ligne
#18 Le 23/11/2021, à 13:34
- fliteo
Re : Pas de connexion filaire
Zut
Voilà le résultat :
➜ ~ lspci -k -nn | grep -A 3 -i net
2a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:7c56]
Kernel driver in use: r8169
Kernel modules: r8169
2b:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:2484] (rev a1)
Hors ligne
#19 Le 23/11/2021, à 13:40
- nany
Re : Pas de connexion filaire
Bon, tout est revenu comme avant. Mais malheureusement je n’ai pas d’autre solution pour l’instant.
Hors ligne
#20 Le 23/11/2021, à 13:50
- fliteo
Re : Pas de connexion filaire
D'accord. Merci quand même pour l'aide.
Hors ligne
#21 Le 23/11/2021, à 13:53
- xubu1957
Re : Pas de connexion filaire
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
En ligne
#22 Le 23/11/2021, à 14:43
- iznobe
Re : Pas de connexion filaire
re essaie la commande suivante , maintenant que les depots ont été corrigé , des fois que ca change quelque chose :
sudo apt install --reinstall network-manager
Mais je n ' y crois pas vraiment , par contre je ne comprends pas pourquoi le retour est : " network-manager ne peut pas etre telechargé " alors que le
sudo apt update
fonctionne , avais tu bien la connexion active en passant la commande ?
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
En ligne
#23 Le 23/11/2021, à 16:28
- fliteo
Re : Pas de connexion filaire
Pour en avoir le coeur net je l'ai supprimé avec :
sudo apt-get remove --purge network-manager
pour le réinstaller proprement. Et j'ai un problème de dépendance :
➜ ~ sudo apt-get install network-manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
network-manager : Depends: libnm0 (= 1.22.10-1ubuntu1) but 1.22.10-1ubuntu2.2 is to be installed
Recommends: network-manager-pptp but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Je l'ai donc désintallée et j'ai pu réinstaller network-manager. Je tente un reboot.
Dernière modification par fliteo (Le 23/11/2021, à 16:31)
Hors ligne
#24 Le 23/11/2021, à 16:35
- iznobe
Re : Pas de connexion filaire
il faut d' abord desactiver les depots " proposed " , je pensais que c ' etait fait avec les commandes de @nany , les as tu reactivés ?
voici comment il faut mettre .
quand c ' est sauvegarder , lance :
sudo apt clean && sudo apt update && sudo apt install -f && sudo apt full-upgrade && sudo apt install network-manager
Dernière modification par iznobe (Le 23/11/2021, à 16:41)
retour COMPLET et utilisable de commande
MSI Z490A-pro , i7 10700 , 32 GB RAM .
En ligne
#25 Le 23/11/2021, à 22:32
- fliteo
Re : Pas de connexion filaire
Bon, suite à de nombreux autres bugs divers et variés je suis venu à la conclusion que mon système était trop en vrac.
J'ai fini par faire une réinstalle clean sur laquelle j'ai refait toutes les manips d'hier sans soucis. C'était finalement plus rapide comme ça . Je ne sais donc pas ce que j'ai pu faire comme fausse manip pour mettre ce bazar.
Par curiosité j'ai refait tous les checks que nous avons fait dans ce fil sans noter la moindre différence. Le mystère reste donc entier.
Merci encore pour votre aide, votre temps et votre réactivité, vous êtes une super communauté
Hors ligne
Pages : 1