ethernet cable not detected

Bug #2027850 reported by alex valin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

The network card inside my laptop will stop detecting connections after a while whithout having an ethernet cable inserted. in the gnome settings, it will show that there is no cable conected. The lights on the port on the laptop won't light up, but those on the port of the switch will light up when the laptop is connected. I got this problem in kernel 5.15, 5.19 and 6.2(ubuntu 23.04 upgraded from 22.04). the problem won't occur if i use a usb NIC.
I wasn't able to find a true cause for this, but right after reboot, the cable will work with the integrated card.

this is returned when doing ifconfig. as you can see, the card transfered some data before not working.

enp1s0f0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
        ether 9c:2d:cd:d4:c6:45 txqueuelen 1000 (Ethernet)
        RX packets 1626450 bytes 2260480956 (2.2 GB)
        RX errors 0 dropped 0 overruns 0 frame 0
        TX packets 348415 bytes 30674255 (30.6 MB)
        TX errors 1 dropped 0 overruns 0 carrier 0 collisions 0

the fix I found was to run the command `sudo systemctl restart systemd-networkd` to make the interface active again

ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: network-manager 1.42.4-1ubuntu2
ProcVersionSignature: Ubuntu 6.2.0-25.25-generic 6.2.13
Uname: Linux 6.2.0-25-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sat Jul 15 04:00:21 2023
InstallationDate: Installed on 2022-12-03 (224 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
IpRoute:
 default via 192.168.2.1 dev enxa0cec8778fcf proto dhcp src 192.168.2.223 metric 100
 169.254.0.0/16 dev virbr0 scope link metric 1000 linkdown
 192.168.2.0/24 dev enxa0cec8778fcf proto kernel scope link src 192.168.2.223 metric 100
 192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: network-manager
UpgradeStatus: Upgraded to lunar on 2023-07-07 (7 days ago)
nmcli-nm:
 RUNNING VERSION STATE STARTUP CONNECTIVITY NETWORKING WIFI-HW WIFI WWAN-HW WWAN
 running 1.42.4 connected started full enabled enabled disabled missing disabled

Revision history for this message
alex valin (alexoune) wrote :
alex valin (alexoune)
description: updated
alex valin (alexoune)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.