Problem with activating Ethernet

Hello, I have a problem activating Ethernet on Fedora 39 Workstation with a GNOME 45.4 environment. After booting the system, and account login, Ethernet is not activated, while the router works correctly on other devices and the LAN port is connected to the computer. Instead of the normal icon of the Ethernet, GNOME shows the icon below:
Screenshot from 2024-02-25 14-50-52

Only when I use the command sudo systemctl restart NetworkManager, the Ethernet is activated.

What could be the problem?

Hello @viktorp ,
Welcome to :fedora: !

Before restarting the network manager service after initial login with no network working try typing nmcli in the prompt of a console. This should give a verbose human readable output of the devices that NetworkManager is seeing and configured for. Also their (devices) status.
Also, it would be helpful to know the hardware you’re on, so if you have inxi inxi -v 2 for including info on networking devices.

My inxi output using this command sudo inxi -v 2

System:
  Host: jakfrost.snow Kernel: 6.7.5-200.fc39.x86_64 arch: x86_64 bits: 64
  Console: pty pts/1 Distro: Fedora Linux 39 (Workstation Edition)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: N/A
  Mobo: ASUSTeK model: PRIME B550M-A (WI-FI) v: Rev X.0x
    serial: 201278999805073 UEFI: American Megatrends v: 1401 date: 12/03/2020
CPU:
  Info: 6-core AMD Ryzen 5 5600G with Radeon Graphics [MCP] speed (MHz):
    avg: 2642 min/max: 400/4464
Graphics:
  Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    driver: amdgpu v: kernel
  Display: server: X.Org v: 23.2.4 with: Xwayland v: 23.2.4 driver: X:
    loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
    resolution: 1920x1080~75Hz
  API: OpenGL v: 4.6 vendor: amd mesa v: 23.3.5 renderer: AMD Radeon
    Graphics (radeonsi renoir LLVM 17.0.6 DRM 3.57 6.7.5-200.fc39.x86_64)
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169
Drives:
  Local Storage: total: 4.99 TiB used: 1.75 TiB (35.2%)
Info:
  Memory: total: 32 GiB note: est. available: 30.73 GiB used: 3.27 GiB (10.6%)
  Processes: 435 Uptime: 4h 16m Shell: Sudo inxi: 3.3.33

My nmcli command

virbr0: connected to virbr0
        "virbr0"
        bridge, 32:35:B4:1A:2C:54, sw, mtu 1500
        ip4 default
virbr0: connected to virbr0
        "virbr0"
        bridge, 32:35:B4:1A:2C:54, sw, mtu 1500
        ip4 default
        inet4 192.168.0.105/16
        route4 192.168.0.0/16 metric 425
        route4 default via 192.168.0.1 metric 425
        inet6 fe80::7d57:271b:2aaa:7352/64
        route6 fe80::/64 metric 1024

lo: connected (externally) to lo
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
        inet4 127.0.0.1/8
        inet6 ::1/128

wlp3s0: connected to TP-Link_6E40
        "Intel 6 AX200"
        wifi (iwlwifi), B0:A4:60:33:14:AE, hw, mtu 1500
        inet4 192.168.0.169/24
        route4 192.168.0.0/24 metric 600
        route4 default via 192.168.0.1 metric 600
        inet6 fe80::132:7519:477b:fa2a/64
        route6 fe80::/64 metric 1024

wg0: connected (externally) to wg0
        "wg0"
        wireguard, sw, mtu 1420
        inet4 10.200.200.1/24
        route4 10.200.200.0/24 metric 0

enp4s0: connected to Wired connection 1
        "Realtek RTL8111/8168/8411"
        ethernet (r8169), 32:35:B4:1A:2C:54, hw, mtu 1500
        master virbr0

p2p-dev-wlp3s0: disconnected
        "p2p-dev-wlp3s0"
        wifi-p2p, hw

DNS configuration:
        servers: 192.168.0.1
        interface: wlp3s0

Hello, the output from the nmcli is below:

enp3s0: connected to Wired
	"Marvell Yukon Optima 88E8059"
	ethernet (sky2), 20:CF:30:78:F8:2A, hw, mtu 1500
	ip4 default
	inet4 192.168.1.6/24
	route4 192.168.1.0/24 metric 100
	route4 default via 192.168.1.1 metric 20100

lo: connected (externally) to lo
	"lo"
	loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
	inet4 127.0.0.1/8
	inet6 ::1/128

DNS configuration:
	servers: 192.168.1.1
	interface: enp3s0

Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.

Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.

it shows that it’s connected, however, when I want to load a page from the internet, it doesn’t work…

Systemd-resolved fails on initial load - #10 by grumpey

1 Like

It is now works correctly! Thank you very much!