Fedora 39 Workstation cant connect to internet via Ethernet after waking up from sleep

I am having an issue with my new installation of fedora. After it goes to sleep/suspend, when I wake it up I am unable to use Ethernet connection for the internet. I am able to ping google.com but when I use a browser it doesn’t work.

I am new to fedora. What commands should I run to provide more information?

Some things that I have tried,

  • Restarting the NetworkManager: When it wakes up it still says the networkManager is active. I restart the network manager and I am still unable to use a browser FF or chromium.

  • I have manually set my DNS for my ipv4 to 8.8.8.8.

  • Wifi works fine, even if the computer sleeps/suspends.

10:47:18  ~ → inxi -Fzxx
System:
  Kernel: 6.7.4-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-14.fc39
  Desktop: GNOME v: 45.4 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 39 (Workstation Edition)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: Pro WS X570-ACE v: Rev X.0x
    serial: <superuser required> part-nu: SKU UEFI: American Megatrends v: 4702
    date: 10/20/2023
CPU:
  Info: 6-core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+
    rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
  Speed (MHz): avg: 2657 high: 3406 min/max: 2200/4650 boost: enabled cores:
    1: 2200 2: 2879 3: 2880 4: 2880 5: 3088 6: 3406 7: 2879 8: 2200 9: 2200
    10: 2877 11: 2200 12: 2200 bogomips: 88799
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3070] vendor: eVga.com. driver: nvidia
    v: 545.29.06 arch: Ampere pcie: speed: 2.5 GT/s lanes: 16 ports:
    active: none off: DP-1,HDMI-A-1 empty: DP-2,DP-3 bus-ID: 0a:00.0
    chip-ID: 10de:2484
  Device-2: Logitech C920 HD Pro Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 6-4:3 chip-ID: 046d:0892
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: DP-1 model: LG (GoldStar) 34GK950F res: 3440x1440 dpi: 109
    diag: 867mm (34.1")
  Monitor-2: HDMI-A-1 model: Asus VG248 res: 1920x1080 dpi: 92
    diag: 609mm (24")
  API: OpenGL v: 4.6.0 vendor: nvidia v: 545.29.06 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2
    display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: eVga.com.
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 0a:00.1 chip-ID: 10de:228b
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 0c:00.4 chip-ID: 1022:1487
  Device-3: XMOS iFi (by AMR) HD USB Audio
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 bus-ID: 4-2:4 chip-ID: 20b1:3008
  Device-4: JMTek LLC. PD100U driver: hid-generic,snd-usb-audio,usbhid
    type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 bus-ID: 6-3:2 chip-ID: 0c76:1717
  Device-5: Logitech C920 HD Pro Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 6-4:3 chip-ID: 046d:0892
  API: ALSA v: k6.7.4-200.fc39.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Wi-Fi 5 Wireless-AC 9x6x [Thunder Peak] driver: iwlwifi
    v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2526
  IF: wlp4s0 state: up mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0 chip-ID: 8086:1539
  IF: enp5s0 state: down mac: <filter>
  Device-3: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: 5 GT/s lanes: 1
    port: d800 bus-ID: 06:00.1 chip-ID: 10ec:8168
  IF: enp6s0f1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 4-4:3 chip-ID: 8087:0025
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.1
    lmp-v: 10
Drives:
  Local Storage: total: 2.05 TiB used: 12.25 GiB (0.6%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 990 PRO 2TB size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 42.9 C
  ID-2: /dev/sda vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB
    speed: 6.0 Gb/s serial: <filter> temp: 28 C
Partition:
  ID-1: / size: 96.66 GiB used: 11.93 GiB (12.3%) fs: btrfs
    dev: /dev/nvme0n1p6
  ID-2: /boot size: 973.4 MiB used: 279.6 MiB (28.7%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-3: /boot/efi size: 96 MiB used: 44.1 MiB (45.9%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 96.66 GiB used: 11.93 GiB (12.3%) fs: btrfs
    dev: /dev/nvme0n1p6
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 45.0 C mobo: 35.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB available: 31.25 GiB used: 4.3 GiB (13.8%)
  Processes: 383 Power: uptime: 1h 10m wakeups: 2 Init: systemd v: 254
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 2 Compilers: gcc: 13.2.1 Shell: Bash v: 5.2.26
    running-in: gnome-terminal inxi: 3.3.32

Which of the 2 ethernet interfaces is used for internet access? When did you run inxi: 1) before or after sleep/suspend, 2) was internet access working. Is one of the ethernet interfaces in a hub? Does wifi also have internet access?

Device 3 is the Ethernet that is plugged in, the other is not. I believe that is a before shot but I will run it again and after below.

  1. Yes the internet was working I can surf the web etc. Both ethernet jacks are on my motherboard, not a hub.

Wifi has internet access and works even if the machine went to sleep.

Before

System:
  Kernel: 6.7.4-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-14.fc39
  Desktop: GNOME v: 45.4 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 39 (Workstation Edition)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: Pro WS X570-ACE v: Rev X.0x
    serial: <superuser required> part-nu: SKU UEFI: American Megatrends v: 4702
    date: 10/20/2023
CPU:
  Info: 6-core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+
    rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
  Speed (MHz): avg: 2568 high: 3732 min/max: 2200/4650 boost: enabled cores:
    1: 2200 2: 2200 3: 3589 4: 2200 5: 2200 6: 3732 7: 2200 8: 2200 9: 2200
    10: 2200 11: 2200 12: 3700 bogomips: 88802
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3070] vendor: eVga.com. driver: nvidia
    v: 545.29.06 arch: Ampere pcie: speed: 16 GT/s lanes: 16 ports: active: none
    off: DP-1,HDMI-A-1 empty: DP-2,DP-3 bus-ID: 0a:00.0 chip-ID: 10de:2484
  Device-2: Logitech C920 HD Pro Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 6-4:6 chip-ID: 046d:0892
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: DP-1 model: LG (GoldStar) 34GK950F res: 3440x1440 dpi: 109
    diag: 867mm (34.1")
  Monitor-2: HDMI-A-1 model: Asus VG248 res: 1920x1080 dpi: 92
    diag: 609mm (24")
  API: OpenGL v: 4.6.0 vendor: nvidia v: 545.29.06 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2
    display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: eVga.com.
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 0a:00.1 chip-ID: 10de:228b
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 0c:00.4 chip-ID: 1022:1487
  Device-3: XMOS iFi (by AMR) HD USB Audio
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 bus-ID: 4-2:3 chip-ID: 20b1:3008
  Device-4: Logitech C920 HD Pro Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 6-4:6 chip-ID: 046d:0892
  API: ALSA v: k6.7.4-200.fc39.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Wi-Fi 5 Wireless-AC 9x6x [Thunder Peak] driver: iwlwifi
    v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2526
  IF: wlp4s0 state: up mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0 chip-ID: 8086:1539
  IF: enp5s0 state: down mac: <filter>
  Device-3: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: 5 GT/s lanes: 1
    port: d800 bus-ID: 06:00.1 chip-ID: 10ec:8168
  IF: enp6s0f1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 4-4:5 chip-ID: 8087:0025
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.1
    lmp-v: 10
Drives:
  Local Storage: total: 2.05 TiB used: 12.36 GiB (0.6%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 990 PRO 2TB size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 43.9 C
  ID-2: /dev/sda vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 96.66 GiB used: 11.99 GiB (12.4%) fs: btrfs
    dev: /dev/nvme0n1p6
  ID-2: /boot size: 973.4 MiB used: 279.6 MiB (28.7%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-3: /boot/efi size: 96 MiB used: 96 MiB (100.0%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 96.66 GiB used: 11.99 GiB (12.4%) fs: btrfs
    dev: /dev/nvme0n1p6
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 42.0 C mobo: 36.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB available: 31.25 GiB used: 3.02 GiB (9.7%)
  Processes: 382 Power: uptime: 6m wakeups: 0 Init: systemd v: 254
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 2 Compilers: gcc: 13.2.1 Shell: Bash v: 5.2.26
    running-in: gnome-terminal inxi: 3.3.32

AFTER

05:53:52  ~ → inxi -Fzxx
System:
  Kernel: 6.7.4-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-14.fc39
  Desktop: GNOME v: 45.4 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
    Distro: Fedora Linux 39 (Workstation Edition)
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: Pro WS X570-ACE v: Rev X.0x
    serial: <superuser required> part-nu: SKU UEFI: American Megatrends v: 4702
    date: 10/20/2023
CPU:
  Info: 6-core model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+
    rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB
  Speed (MHz): avg: 2373 high: 3214 min/max: 2200/4650 boost: enabled cores:
    1: 2200 2: 2200 3: 2200 4: 2200 5: 2200 6: 3214 7: 2377 8: 2200 9: 2200
    10: 3086 11: 2200 12: 2200 bogomips: 88802
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3070] vendor: eVga.com. driver: nvidia
    v: 545.29.06 arch: Ampere pcie: speed: 2.5 GT/s lanes: 16 ports:
    active: none off: DP-1,HDMI-A-1 empty: DP-2,DP-3 bus-ID: 0a:00.0
    chip-ID: 10de:2484
  Device-2: Logitech C920 HD Pro Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 6-4:6 chip-ID: 046d:0892
  Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: DP-1 model: LG (GoldStar) 34GK950F res: 3440x1440 dpi: 109
    diag: 867mm (34.1")
  Monitor-2: HDMI-A-1 model: Asus VG248 res: 1920x1080 dpi: 92
    diag: 609mm (24")
  API: OpenGL v: 4.6.0 vendor: nvidia v: 545.29.06 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2
    display-ID: :0.0
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: NVIDIA GA104 High Definition Audio vendor: eVga.com.
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 0a:00.1 chip-ID: 10de:228b
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 0c:00.4 chip-ID: 1022:1487
  Device-3: XMOS iFi (by AMR) HD USB Audio
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 bus-ID: 4-2:3 chip-ID: 20b1:3008
  Device-4: Logitech C920 HD Pro Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 6-4:6 chip-ID: 046d:0892
  API: ALSA v: k6.7.4-200.fc39.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
  Device-1: Intel Wi-Fi 5 Wireless-AC 9x6x [Thunder Peak] driver: iwlwifi
    v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2526
  IF: wlp4s0 state: down mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: kernel
    pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0 chip-ID: 8086:1539
  IF: enp5s0 state: down mac: <filter>
  Device-3: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: 5 GT/s lanes: 1
    port: d800 bus-ID: 06:00.1 chip-ID: 10ec:8168
  IF: enp6s0f1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: Intel Wireless-AC 9260 Bluetooth Adapter driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 4-4:5 chip-ID: 8087:0025
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.1
    lmp-v: 10
Drives:
  Local Storage: total: 2.05 TiB used: 12.36 GiB (0.6%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 990 PRO 2TB size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 42.9 C
  ID-2: /dev/sda vendor: Samsung model: SSD 850 EVO 250GB size: 232.89 GiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 96.66 GiB used: 11.99 GiB (12.4%) fs: btrfs
    dev: /dev/nvme0n1p6
  ID-2: /boot size: 973.4 MiB used: 279.6 MiB (28.7%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-3: /boot/efi size: 96 MiB used: 96 MiB (100.0%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 96.66 GiB used: 11.99 GiB (12.4%) fs: btrfs
    dev: /dev/nvme0n1p6
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 42.0 C mobo: 36.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB available: 31.25 GiB used: 3.9 GiB (12.5%)
  Processes: 488 Power: uptime: 13m wakeups: 1 Init: systemd v: 254
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 2 Compilers: gcc: 13.2.1 Shell: Bash v: 5.2.26
    running-in: gnome-terminal inxi: 3.3.32

Please search (e.g., with journalctl) for errors similar to Realtek RTL8111/8168/8211/8411 issues. You may find the discussion helpful even if you don’t see the same errors. In that example, the solution was to replace the r8169 module with r8168. Fedora doesn’t provide r8168, but https://discussion.fedoraproject.org/t/rtl8111-8168-8411-realtek-ethernet-controller-not-working-r8169-related/86593 seems similar, and was solved by installing r8168 from a copr repo.

thanks george I will take a look.