Bonjour,
Je me heurte au problème suivant après avoir installé Ubuntu 20.04 sur un ordinateur neuf (sans Windows).
Tout fonctionne si je le branche directement après la livebox 🙂 ... mais il doit être installé à l'étage et là plus de connexion réseau:( ... donc il y a un problème de câblage !
Mais... si je place un vieux switch 10/100 entre la prise réseau de l'étage et le PC, il se connecte en 100Mbps !
- Il faut sans doute remplacer le câble réseau existant (cat5) par un câble cat6 ? (mais c'est un peu galère 20 m à travers 3 pièces de la maison)
-Puisque le PC fonctionne lorsque je place le switch, peut-on limiter la connexion à 100 Mbps dans la configuration et enlever le switch (qui me sert ailleurs) ?
Merci d'avance
Quelques précisions sur le matériel :
Installation
Ubuntu 20.04.1 LTS focal
Noyau 5.4.0-58-generic
Machine
Micro-Star International Co., Ltd.
Carte mère : A320M-A PRO MAX (MS-7C52)
Mémoire Système : 16GiB
Carte réseau
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
nom logique: enp37s0
capacité: 1Gbit/s
fonctionnalités: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration : autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2
Connecté derrière le switch
dmesg | grep -i r816
[ 1.201046] libphy: r8169: probed
[ 1.201188] r8169 0000:25:00.0 eth0: RTL8168h/8111h, 2c:f0:5d:84:7a:b2, XID 541, IRQ 58
[ 1.201189] r8169 0000:25:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 1.201712] r8169 0000:25:00.0 enp37s0: renamed from eth0
[ 5.378321] Generic FE-GE Realtek PHY r8169-2500:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-2500:00, irq=IGNORE)
[ 5.488877] r8169 0000:25:00.0 enp37s0: Link is Down
[ 7.062756] r8169 0000:25:00.0 enp37s0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 1.201046] libphy: r8169: probed
[ 1.201188] r8169 0000:25:00.0 eth0: RTL8168h/8111h, 2c:f0:5d:84:7a:b2, XID 541, IRQ 58
[ 1.201189] r8169 0000:25:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 1.201712] r8169 0000:25:00.0 enp37s0: renamed from eth0
[ 5.378321] Generic FE-GE Realtek PHY r8169-2500:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-2500:00, irq=IGNORE)
[ 5.488877] r8169 0000:25:00.0 enp37s0: Link is Down
[ 7.062756] r8169 0000:25:00.0 enp37s0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 1.201046] libphy: r8169: probed
[ 1.201188] r8169 0000:25:00.0 eth0: RTL8168h/8111h, 2c:f0:5d:84:7a:b2, XID 541, IRQ 58
[ 1.201189] r8169 0000:25:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 1.201712] r8169 0000:25:00.0 enp37s0: renamed from eth0
[ 5.378321] Generic FE-GE Realtek PHY r8169-2500:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-2500:00, irq=IGNORE)
[ 5.488877] r8169 0000:25:00.0 enp37s0: Link is Down
[ 7.062756] r8169 0000:25:00.0 enp37s0: Link is Up - 100Mbps/Full - flow control rx/tx
lspci -k -nn | grep -A 3 -i net
25: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:7c52]
Kernel driver in use: r8169
Kernel modules: r8169
Sans le switch :
dmesg | grep -i r816
[ 0.762526] libphy: r8169: probed
[ 0.762662] r8169 0000:25:00.0 eth0: RTL8168h/8111h, 2c:f0:5d:84:7a:b2, XID 541, IRQ 58
[ 0.762663] r8169 0000:25:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 0.765862] r8169 0000:25:00.0 enp37s0: renamed from eth0
[ 4.795313] Generic FE-GE Realtek PHY r8169-2500:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-2500:00, irq=IGNORE)
[ 4.913201] r8169 0000:25:00.0 enp37s0: Link is Down
[ 53.429167] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 54.307791] r8169 0000:25:00.0 enp37s0: Link is Down
[ 60.684363] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 61.557736] r8169 0000:25:00.0 enp37s0: Link is Down
[ 71.597502] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 72.481141] r8169 0000:25:00.0 enp37s0: Link is Down
[ 86.311058] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 87.189394] r8169 0000:25:00.0 enp37s0: Link is Down
[ 100.980572] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 101.864820] r8169 0000:25:00.0 enp37s0: Link is Down
[ 115.936985] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 116.820191] r8169 0000:25:00.0 enp37s0: Link is Down
[ 130.649010] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 131.523181] r8169 0000:25:00.0 enp37s0: Link is Down
[ 145.429359] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 146.302283] r8169 0000:25:00.0 enp37s0: Link is Down
[ 160.116948] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 160.979370] r8169 0000:25:00.0 enp37s0: Link is Down
[ 174.755242] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 175.623596] r8169 0000:25:00.0 enp37s0: Link is Down
[ 185.575904] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 186.444077] r8169 0000:25:00.0 enp37s0: Link is Down
[ 200.497282] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 201.349852] r8169 0000:25:00.0 enp37s0: Link is Down
[ 207.544358] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 208.423009] r8169 0000:25:00.0 enp37s0: Link is Down
[ 222.181613] r8169 0000:25:00.0 enp37s0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 223.059726] r8169 0000:25:00.0 enp37s0: Link is Down
lspci -k -nn | grep -A 3 -i net
25: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:7c52]
Kernel driver in use: r8169
Kernel modules: r8169