Problems with wifi on fedora 36 workstation

This started happening like a week ago right before i went on a trip so i cant tell you what i might have changed that might have caused this.
The problem is that when i connect to wifi it thinks that theres no internet. The wifi icon has a red dot next to it and when i try to ping another system in my network it says “Destination Host Unreachable” and when i try to ping the ip of my router it doesnt do anything at all (seems to just time out).
If i restart my laptop the internet works fine for a bit, but after a few minutes everything starts timing out, dns stops working and a red dot appears next to the wifi icon. Sometimes when i change what internet access point in my house i am connected to it will start working but thats not the solution i would want.
This whole issue is very unpredictable in general and i really cant see any pattern in when or why the internet stops working.

And yes, the wifi works completely fine on any other device.


192.168.1.1 is my router/gateway and
192.168.1.98 is another system in my network

Please post in preformatted </> text tags the output of ip a and inxi -Fzx so we can see what the hardware and current config is.

Yep, here you go!

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether e0:70:ea:ae:52:c3 brd ff:ff:ff:ff:ff:ff
    altname enp2s0
    inet 192.168.1.14/24 brd 192.168.1.255 scope global dynamic noprefixroute eno1
       valid_lft 86352sec preferred_lft 86352sec
    inet6 fe80::c190:1d60:aa9b:3d86/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: wlo1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f8:89:d2:b3:47:7f brd ff:ff:ff:ff:ff:ff
    altname wlp3s0
    inet 192.168.1.69/24 brd 192.168.1.255 scope global noprefixroute wlo1
       valid_lft forever preferred_lft forever
    inet6 fe80::4362:7055:2a25:3968/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
$ inxi -Fzx
System:
  Kernel: 5.18.13-200.fc36.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.37-27.fc36 Desktop: GNOME v: 42.3.1
    Distro: Fedora release 36 (Thirty Six)
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec1xxx v: N/A
    serial: <superuser required>
  Mobo: HP model: 87B2 v: 31.23 serial: <superuser required> UEFI: AMI
    v: F.25 date: 08/18/2021
Battery:
  ID-1: BAT0 charge: 47.7 Wh (100.0%) condition: 47.7/47.7 Wh (100.0%)
    volts: 12.5 min: 11.6 model: Hewlett-Packard Primary status: discharging
CPU:
  Info: 6-core model: AMD Ryzen 5 4600H with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 2 rev: 1 cache: L1: 384 KiB L2: 3 MiB L3: 8 MiB
  Speed (MHz): avg: 1397 high: 1398 min/max: 1400/3000 boost: enabled
    cores: 1: 1397 2: 1397 3: 1397 4: 1397 5: 1397 6: 1397 7: 1397 8: 1398
    9: 1397 10: 1397 11: 1397 12: 1397 bogomips: 71866
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile]
    vendor: Hewlett-Packard driver: nvidia v: 515.57 arch: Turing
    bus-ID: 01:00.0
  Device-2: AMD Renoir vendor: Hewlett-Packard driver: amdgpu v: kernel
    arch: GCN 5.1 bus-ID: 05:00.0
  Device-3: IMC Networks HP TrueVision HD Camera type: USB driver: uvcvideo
    bus-ID: 3-3:2
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 22.1.3 driver: X:
    loaded: amdgpu,nvidia unloaded: fbdev,modesetting,nouveau,vesa gpu: amdgpu
    resolution: 1920x1080~60Hz
  OpenGL:
    renderer: AMD RENOIR (LLVM 14.0.0 DRM 3.46 5.18.13-200.fc36.x86_64)
    v: 4.6 Mesa 22.1.4 direct render: Yes
Audio:
  Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    bus-ID: 01:00.1
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
    driver: N/A bus-ID: 05:00.5
  Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel bus-ID: 05:00.6
  Sound Server-1: ALSA v: k5.18.13-200.fc36.x86_64 running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.56 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel port: e000 bus-ID: 02:00.0
  IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw_8822ce v: N/A port: d000
    bus-ID: 03:00.0
  IF: wlo1 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek 802.11ac WLAN Adapter type: USB driver: btusb v: 0.8
    bus-ID: 1-4:3
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 192.58 GiB (40.4%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ512HALU-000H1
    size: 476.94 GiB temp: 38.9 C
Partition:
  ID-1: / size: 325.75 GiB used: 192.56 GiB (59.1%) fs: ext4
    dev: /dev/nvme0n1p7
  ID-2: /boot/efi size: 619.8 MiB used: 14 MiB (2.3%) fs: vfat
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: partition size: 7.71 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p3
  ID-2: swap-2 type: zram size: 8 GiB used: 0 KiB (0.0%) dev: /dev/zram0
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 46.0 C
  Fan Speeds (RPM): cpu: 0 fan-2: 0
Info:
  Processes: 370 Uptime: 10m Memory: 14.89 GiB used: 4.85 GiB (32.6%)
  Init: systemd target: graphical (5) Compilers: gcc: 12.1.1 Packages: 75
  note: see --pkg Shell: Bash v: 5.1.16 inxi: 3.3.19

One configuration issue that often totally blanks network usage is having 2 different interfaces on the same subnet. You have that with

2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether e0:70:ea:ae:52:c3 brd ff:ff:ff:ff:ff:ff
    altname enp2s0
    inet 192.168.1.14/24 brd 192.168.1.255 scope global dynamic noprefixroute eno1
       valid_lft 86352sec preferred_lft 86352sec
    inet6 fe80::c190:1d60:aa9b:3d86/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: wlo1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f8:89:d2:b3:47:7f brd ff:ff:ff:ff:ff:ff
    altname wlp3s0
    inet 192.168.1.69/24 brd 192.168.1.255 scope global noprefixroute wlo1
       valid_lft forever preferred_lft forever
    inet6 fe80::4362:7055:2a25:3968/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

For network stability it is best to always use only one interface on a subnet unless you are a networking guru and can configure things to play nicely in the same sandbox.

Second issue I see is this.

  Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw_8822ce v: N/A port: d000
    bus-ID: 03:00.0

Some are having issues with the default drivers for that card and searching for the ‘Realtek RTL8822CE’ card, the ‘rtw_8822ce’ drivers, and related issues on this forum will provide several pointers on how others have solved the intermittent connection issues.

1 Like

Its probably the second issue.
the first issue was probably caused by the fact that i had wifi on and i had connected to ethernet at the same time so that i can actually make this post

this is the output without ethernet

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether e0:70:ea:ae:52:c3 brd ff:ff:ff:ff:ff:ff
    altname enp2s0
3: wlo1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether f8:89:d2:b3:47:7f brd ff:ff:ff:ff:ff:ff
    altname wlp3s0
    inet 192.168.1.69/24 brd 192.168.1.255 scope global noprefixroute wlo1
       valid_lft forever preferred_lft forever
    inet6 fe80::4362:7055:2a25:3968/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

ill look into the second issue and see if i can find a fix

Yep, i looked for a bit and found this topic and the solution that worked for me was in this message: Unable to get WiFi working - Realtek 8822CE - #13 by hhlp

1 Like

Great that this solution worked for u.

cz this is solved, I am going to close your thread :slight_smile:

v/r

Andi/andilinux