Ethernet cable Unplugged

Hello,

Today, ethernet stopped to work.
Gnome settings shows Cable unplugged in the wired connection.

I am on an iMac (27-inch, Late 2013) - Technical Specifications with Fedora 38.

Any idea on how I can fix this problem please?

Than you


lspci -v

00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
	Subsystem: Apple Inc. Device 0123
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: hsw_uncore

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06) (prog-if 00 [Normal decode])
	Subsystem: Apple Inc. Device 0123
	Flags: bus master, fast devsel, latency 0, IRQ 26
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 3000-3fff [size=4K] [16-bit]
	Memory behind bridge: b0000000-b10fffff [size=17M] [32-bit]
	Prefetchable memory behind bridge: 90000000-a1ffffff [size=288M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05) (prog-if 30 [XHCI])
	Subsystem: Intel Corporation Device 7270
	Flags: bus master, medium devsel, latency 0, IRQ 42
	Memory at b1d00000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 05)
	Subsystem: Intel Corporation Device 7270
	Flags: bus master, fast devsel, latency 0, IRQ 48
	Memory at b1d15900 (64-bit, non-prefetchable) [size=16]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
	Subsystem: Intel Corporation Device 7270
	Flags: bus master, fast devsel, latency 0, IRQ 65
	Memory at b1d10000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5) (prog-if 00 [Normal decode])
	Subsystem: Intel Corporation Device 7270
	Flags: bus master, fast devsel, latency 0, IRQ 27
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 2000-2fff [size=4K] [16-bit]
	Memory behind bridge: b1c00000-b1cfffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5) (prog-if 00 [Normal decode])
	Subsystem: Intel Corporation Device 7270
	Flags: bus master, fast devsel, latency 0, IRQ 28
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: b1800000-b1afffff [size=3M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5) (prog-if 00 [Normal decode])
	Subsystem: Intel Corporation Device 7270
	Flags: bus master, fast devsel, latency 0, IRQ 29
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: [disabled] [32-bit]
	Prefetchable memory behind bridge: b1b00000-b1bfffff [size=1M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5) (prog-if 00 [Normal decode])
	Subsystem: Intel Corporation Device 7270
	Flags: bus master, fast devsel, latency 0, IRQ 30
	Bus: primary=00, secondary=05, subordinate=6b, sec-latency=0
	I/O behind bridge: 5000-7fff [size=12K] [16-bit]
	Memory behind bridge: b1e00000-be1fffff [size=196M] [32-bit]
	Prefetchable memory behind bridge: be200000-ca2fffff [size=193M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Z87 Express LPC Controller (rev 05)
	Subsystem: Intel Corporation Device 7270
	Flags: bus master, medium devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05) (prog-if 01 [AHCI 1.0])
	Subsystem: Intel Corporation Device 7270
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 40
	I/O ports at 4088 [size=8]
	I/O ports at 4094 [size=4]
	I/O ports at 4080 [size=8]
	I/O ports at 4090 [size=4]
	I/O ports at 4060 [size=32]
	Memory at b1d15000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
	Subsystem: Intel Corporation Device 7270
	Flags: medium devsel, IRQ 18
	Memory at b1d15800 (64-bit, non-prefetchable) [size=256]
	I/O ports at efa0 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

01:00.0 VGA compatible controller: NVIDIA Corporation GK104M [GeForce GTX 780M Mac Edition] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Apple Inc. Device 0121
	Flags: bus master, fast devsel, latency 0, IRQ 45
	Memory at b0000000 (32-bit, non-prefetchable) [size=16M]
	Memory at 90000000 (64-bit, prefetchable) [size=256M]
	Memory at a0000000 (64-bit, prefetchable) [size=32M]
	I/O ports at 3000 [size=128]
	Expansion ROM at b1000000 [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nouveau
	Kernel modules: nouveau

01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at b1080000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

02:00.0 SATA controller: Marvell Technology Group Ltd. 88SS9183 PCIe SSD Controller (rev 14) (prog-if 01 [AHCI 1.0])
	Subsystem: Marvell Technology Group Ltd. 88SS9183 PCIe SSD Controller
	Flags: bus master, fast devsel, latency 0, IRQ 41
	I/O ports at 2028 [size=8]
	I/O ports at 2034 [size=4]
	I/O ports at 2020 [size=8]
	I/O ports at 2030 [size=4]
	I/O ports at 2000 [size=32]
	Memory at b1c00000 (32-bit, non-prefetchable) [size=512]
	Expansion ROM at b1c20000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter (rev 03)
	Subsystem: Apple Inc. Device 0111
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at b1a00000 (64-bit, non-prefetchable) [size=32K]
	Memory at b1800000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: <access denied>
	Kernel driver in use: wl
	Kernel modules: bcma, wl

04:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57766 Gigabit Ethernet PCIe (rev 01)
	Subsystem: Broadcom Inc. and subsidiaries NetXtreme BCM57766 Gigabit Ethernet PCIe
	Flags: bus master, fast devsel, latency 0, IRQ 19
	Memory at b1b00000 (64-bit, prefetchable) [size=64K]
	Memory at b1b10000 (64-bit, prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: tg3
	Kernel modules: tg3

04:00.1 SD Host controller: Broadcom Inc. and subsidiaries BCM57765/57785 SDXC/MMC Card Reader (rev 01) (prog-if 01)
	Subsystem: Broadcom Inc. and subsidiaries Device 0000
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at b1b20000 (64-bit, prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci

05:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03) (prog-if 00 [Normal decode])
	Subsystem: Device 2222:1111
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=05, secondary=06, subordinate=6b, sec-latency=0
	I/O behind bridge: 5000-6fff [size=8K] [16-bit]
	Memory behind bridge: b1e00000-ba1fffff [size=132M] [32-bit]
	Prefetchable memory behind bridge: be200000-c62fffff [size=129M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

06:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03) (prog-if 00 [Normal decode])
	Subsystem: Device 2222:1111
	Flags: bus master, fast devsel, latency 0, IRQ 31
	Bus: primary=06, secondary=07, subordinate=07, sec-latency=0
	I/O behind bridge: [disabled] [32-bit]
	Memory behind bridge: b1e00000-b1efffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

06:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03) (prog-if 00 [Normal decode])
	Subsystem: Device 2222:1111
	Physical Slot: 2
	Flags: bus master, fast devsel, latency 0, IRQ 32
	Bus: primary=06, secondary=08, subordinate=38, sec-latency=0
	I/O behind bridge: 5000-5fff [size=4K] [16-bit]
	Memory behind bridge: b1f00000-b5ffffff [size=65M] [32-bit]
	Prefetchable memory behind bridge: be200000-c21fffff [size=64M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

06:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03) (prog-if 00 [Normal decode])
	Subsystem: Device 2222:1111
	Physical Slot: 3
	Flags: bus master, fast devsel, latency 0, IRQ 33
	Bus: primary=06, secondary=39, subordinate=69, sec-latency=0
	I/O behind bridge: [disabled] [32-bit]
	Memory behind bridge: b6000000-ba1fffff [size=66M] [32-bit]
	Prefetchable memory behind bridge: c2200000-c62fffff [size=65M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

06:05.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03) (prog-if 00 [Normal decode])
	Subsystem: Device 2222:1111
	Physical Slot: 4
	Flags: bus master, fast devsel, latency 0, IRQ 34
	Bus: primary=06, secondary=6a, subordinate=6a, sec-latency=0
	I/O behind bridge: [disabled] [32-bit]
	Memory behind bridge: [disabled] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

06:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03) (prog-if 00 [Normal decode])
	Subsystem: Device 2222:1111
	Physical Slot: 5
	Flags: bus master, fast devsel, latency 0, IRQ 35
	Bus: primary=06, secondary=6b, subordinate=6b, sec-latency=0
	I/O behind bridge: [disabled] [32-bit]
	Memory behind bridge: [disabled] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

07:00.0 System peripheral: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
	Subsystem: Device 2222:1111
	Physical Slot: 1
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at b1e00000 (32-bit, non-prefetchable) [size=256K]
	Memory at b1e40000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt


ifconfig

br-3291dae1a569: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.19.0.1  netmask 255.255.0.0  broadcast 172.19.255.255
        inet6 fe80::42:17ff:fea7:2c1a  prefixlen 64  scopeid 0x20<link>
        ether 02:42:17:a7:2c:1a  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 41  bytes 5296 (5.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 172.17.255.255
        ether 02:42:9b:1d:7d:7a  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp4s0f0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 68:5b:35:92:0e:96  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 19  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 25  bytes 2523 (2.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 25  bytes 2523 (2.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

vethabed6ee: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::492:efff:fecb:6d77  prefixlen 64  scopeid 0x20<link>
        ether 06:92:ef:cb:6d:77  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 64  bytes 8065 (7.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.144.4  netmask 255.255.255.0  broadcast 192.168.144.255
        inet6 fe80::c42a:4887:d467:cad5  prefixlen 64  scopeid 0x20<link>
        ether c8:e0:eb:3e:92:27  txqueuelen 1000  (Ethernet)
        RX packets 3196  bytes 1712343 (1.6 MiB)
        RX errors 0  dropped 10  overruns 0  frame 64
        TX packets 4144  bytes 786181 (767.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 18  

That message usually is caused by

  1. a cable that is actually unplugged (at one or both ends)
  2. A cable that has a open connection in the cable (usually a connector on the end)
  3. The device at the other end of the cable has lost power.

First look at the lights on the port for your pc, and at the port it is connected to on the switch or router.
Second check the cable is properly connected at both ends. Unplug and reconnect each end.
Verify the switch or router is actually powered on.
If the cable is defective that can be verified by using a different cable.

That message usually indicates a hardware issue.

1 Like

Thank you for your answer.

I checked the hardware already.

If I plug the same cable to another computer it works.
If I plug the same cable into the ethernet port of the thunderbolt display it works too.

It just does not work when it is plugged straight to the ethernet port of the computer.

Were there any events (software updates, power outages or lightening strikes, animals) that could be responsible for the failure?

Cables are evil. I have a slightly older iMac, also using the tg3 driver, that does not have this problem, so you should try to rule out a bad cable or network device. Do you have another computer you can use too test the connection? Can you try swapping cables? I you trust the cable and think Fedora is causing the problem, can you boot a different OS or a Live DIstro to see if the wired network is working?

1 Like

I tried the same cable / connection on another computer and in the ethernet input of the thunderbolt display and it works fine.

Yes, there were nearby lightening strikes this afternoon before it stopped to work.

Power surges may cause hardware failure.
The testing you have done seems to indicate it may actually be the ethernet port in the computer itself. Is that an add-in card or the built-in on the motherboard?
What do the lights at that port show?

it is built-in on the motherboard and there is no lghts showing its status.

Decades ago my work had a PC with a satellite receiver that saved data to a file server via NFS. NFS started failing, but other services worked. I ran the vendor’s diagnostics for the network card and they passed, but when I pulled the card, some components were fried. Replacing the card fixed the problem. I grew up in an area with frequent lightening storms – one trick is to put and overhand knot in every power cable. Quality surge protectors and UPS’s also reduce chances of damage, but those measures did not save that network card.

Apple hardware is often fussier about connected hardware than other devices. You could have damage related to lightning either to the iMac or to network hardware on the other end of the cable. At work we had Apple Diagnostic DVD’s (I think they came with Apple Care). Apple Stores and other repair shops have more advanced diagnostic software, but your money may be better spent on a thunderbolt network adapter (and surge protection devices).

2 Likes

No lights with the cable plugged in indicates it was probably fried. One must hope that nothing else was damaged at the same time.

Try installing either a usb dongle for ethernet or an internal adapter.

Please do not link images from other web sites in this forum. That one does not show properly.

I have used many Apple iMacs (we replaced SGI Workstations running Photoshop with iMacs at my work) and have never encountered one with lights for the network ports.

Your experience with the apple product far exceeds mine. I seldom see any ethernet ports without the lights to indicate connection and activity.