Wifi is not working on fresh install

This is about a problem with the wifi connection on a fresh install of Manjaro KDE Plasma with kernel 5.13. On a fresh install of Manjaro KDE on this Thinkpad T14 Gen 2, there was no wifi connection option. My

inxi -N output is

Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
           Device-2: Realtek driver: N/A
           Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169

lspci -vv | egrep "r8" output is

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0e)
        Kernel driver in use: r8169
        Kernel modules: r8169, r8168
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
        Kernel driver in use: r8169
        Kernel modules: r8169, r8168

Finally, sudo dmesg | egrep "r8" gives

[    0.038866] percpu: Embedded 61 pages/cpu s212992 r8192 d28672 u262144
[    0.038870] pcpu-alloc: s212992 r8192 d28672 u262144 alloc=1*2097152
[    1.429863] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[    1.455681] libphy: r8169: probed
[    1.455874] r8169 0000:02:00.0 eth0: RTL8168ep/8111ep, 84:a9:38:ba:61:df, XID 502, IRQ 84
[    1.455879] r8169 0000:02:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[    1.455926] r8169 0000:05:00.0: can't disable ASPM; OS doesn't have ASPM control
[    1.455935] r8169 0000:05:00.0: enabling device (0000 -> 0003)
[    1.470856] libphy: r8169: probed
[    1.471036] r8169 0000:05:00.0 eth1: RTL8168h/8111h, 84:a9:38:ba:61:de, XID 541, IRQ 86
[    1.471040] r8169 0000:05:00.0 eth1: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[    1.547795] r8168: loading out-of-tree module taints kernel.
[    1.563629] r8168: module verification failed: signature and/or required key missing - tainting kernel
[    2.076277] r8169 0000:02:00.0 enp2s0f0: renamed from eth0
[    2.096872] r8169 0000:05:00.0 enp5s0: renamed from eth1
[    2.152417] Generic FE-GE Realtek PHY r8169-0-200:00: attached PHY driver (mii_bus:phy_addr=r8169-0-200:00, irq=MAC)
[    2.274528] r8169 0000:02:00.0 enp2s0f0: Link is Down
[    2.305800] Generic FE-GE Realtek PHY r8169-0-500:00: attached PHY driver (mii_bus:phy_addr=r8169-0-500:00, irq=MAC)
[    2.495873] r8169 0000:05:00.0 enp5s0: Link is Down

The ISO file I flashed came with a 5.13 kernel but I upgraded it to a 5.14 and then 5.15. I am currently using USB tethering to get Internet access on this device.

So far I have tried :

  • Blacklisting the r8169 driver and using r8168 and doing mkinitcpio -p linux515 This didn’t work.
  • Booting into Fedora on a live disk. Even this couldn’t pick up the driver
  • Changing to an LTS kernel (5.10) and rebooting.

The machine initially had Windows on it and I managed to use wifi so I am quite sure it is not some hardware issue.

Could someone please point out a solution ? Thanks in advance.

Hi @kjmoraes31, and welcome!

Please see How to provide good information and, if applicable, [HowTo] post screenshots and links.

Hello ! As per the instructions, the output of

inxi --admin --verbosity=7 --filter --width

System:
  Kernel: 5.15.6-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
  root=UUID=7df62b42-5599-4cb5-afb0-71e4b9b51640 rw quiet apparmor=1
  security=apparmor resume=UUID=d1093637-f280-4516-b5c9-9afab785e850
  udev.log_priority=3
  Desktop: KDE Plasma 5.23.4 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1
  dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20XKCTO1WW v: ThinkPad T14 Gen 2a
  serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: LENOVO model: 20XKCTO1WW serial: <superuser required> UEFI: LENOVO
  v: R1MET42W (1.12 ) date: 09/29/2021
Battery:
  ID-1: BAT0 charge: 10.6 Wh (21.0%) condition: 50.5/50.5 Wh (100.0%)
  volts: 11.2 min: 11.6 model: LGC 5B10W51826 type: Li-poly serial: <filter>
  status: Discharging cycles: 3
Memory:
  RAM: total: 14.53 GiB used: 3.18 GiB (21.9%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: 6-Core model: AMD Ryzen 5 PRO 5650U with Radeon Graphics bits: 64
  type: MT MCP arch: Zen 3 family: 19 (25) model-id: 50 (80) stepping: 0
  microcode: A50000C cache: L1: 384 KiB L2: 3 MiB L3: 16 MiB bogomips: 55122
  Speed: 1883 MHz min/max: 1600/2300 MHz boost: enabled Core speeds (MHz):
  1: 2178 2: 1579 3: 1621 4: 1613 5: 1776 6: 1485 7: 1451 8: 1952 9: 1635
  10: 2434 11: 1402 12: 1634
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
  bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
  constant_tsc cpb cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total cqm_occup_llc
  cr8_legacy cx16 cx8 de decodeassists erms extapic extd_apicid f16c
  flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht hw_pstate ibpb ibrs ibs
  invpcid irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor
  movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx ospke osvw
  overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core
  perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt pse pse36 rapl rdpid
  rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca smep
  ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock syscall
  tce topoext tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vaes vgif
  vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt xgetbv1 xsave xsavec
  xsaveerptr xsaveopt xsaves
  Vulnerabilities: Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, IBRS_FW,
  STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Cezanne vendor: Lenovo driver: amdgpu v: kernel
  bus-ID: 07:00.0 chip-ID: 1002:1638 class-ID: 0300
  Device-2: Acer Integrated Camera type: USB driver: uvcvideo bus-ID: 1-2:2
  chip-ID: 5986:910c class-ID: 0e02
  Display: x11 server: X.Org 1.21.1.1 compositor: kwin_x11 driver:
  loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa
  display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
  s-diag: 582mm (22.9")
  Monitor-1: eDP res: 1920x1080 hz: 60 dpi: 158 size: 309x174mm (12.2x6.9")
  diag: 355mm (14")
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: AMD vendor: Lenovo driver: snd_hda_intel v: kernel bus-ID: 07:00.1
  chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Lenovo
  driver: snd_rn_pci_acp3x v: kernel alternate: snd_pci_acp3x,snd_pci_acp5x
  bus-ID: 07:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h HD Audio vendor: Lenovo driver: snd_hda_intel
  v: kernel bus-ID: 07:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.6-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.40 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  vendor: Lenovo driver: r8169 v: kernel modules: r8168 port: 4000
  bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0f0 state: down mac: <filter>
  Device-2: Realtek vendor: Lenovo driver: N/A port: 3000 bus-ID: 03:00.0
  chip-ID: 10ec:8852 class-ID: 0280
  Device-3: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
  vendor: Lenovo driver: r8169 v: kernel modules: r8168 port: 2000
  bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp5s0 state: down mac: <filter>
  IF-ID-1: enp7s0f4u2 state: unknown speed: -1 duplex: half mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
  broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Xiaomi Mi/Redmi series (RNDIS) type: USB driver: rndis_host
  v: kernel bus-ID: 5-2:80 chip-ID: 2717:ff80 class-ID: 0a00 serial: <filter>
  Report: This feature requires one of these tools: hciconfig/bt-adapter
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 23.48 GiB (4.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Sabrent model: N/A
  size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
  lanes: 4 type: SSD serial: <filter> rev: RKT343.4 temp: 25.9 C scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 460.72 GiB size: 452.42 GiB (98.20%)
  used: 23.48 GiB (5.2%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  label: N/A uuid: 7df62b42-5599-4cb5-afb0-71e4b9b51640
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
  used: 288 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  label: NO_LABEL uuid: 65DB-98EF
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 15.92 GiB used: 2.2 MiB (0.0%)
  priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3 label: swap
  uuid: d1093637-f280-4516-b5c9-9afab785e850
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-2:2 info: Acer Integrated Camera type: Video driver: uvcvideo
  interfaces: 4 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 5986:910c
  class-ID: 0e02
  Hub-2: 2-0:1 info: Super-speed hub ports: 2 rev: 3.0 speed: 5 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 5-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 5-2:80 info: Xiaomi Mi/Redmi series (RNDIS)
  type: Bluetooth,CDC-Data driver: rndis_host interfaces: 2 rev: 2.1
  speed: 480 Mb/s power: 500mA chip-ID: 2717:ff80 class-ID: 0a00
  serial: <filter>
  Device-2: 5-3:2 info: Synaptics Prometheus MIS Touch Fingerprint Reader
  type: <vendor specific> driver: N/A interfaces: 1 rev: 2.0 speed: 12 Mb/s
  power: 100mA chip-ID: 06cb:00bd class-ID: ff00 serial: <filter>
  Hub-6: 6-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 47.0 C mobo: N/A gpu: amdgpu temp: 43.0 C
  Fan Speeds (RPM): fan-1: 0
Info:
  Processes: 315 Uptime: 1h 31m wakeups: 8636 Init: systemd v: 249
  tool: systemctl Compilers: gcc: 11.1.0 Packages: pacman: 1240 lib: 339
  flatpak: 0 Shell: Zsh v: 5.8 default: Bash v: 5.1.12 running-in: konsole
  inxi: 3.3.09

Additionally, should I follow the instructions given here
https://forum.manjaro.org/t/no-available-wi-fi-network-detected/18272/60?u=kjmoraes31
This thread was for the rtl8821ce driver, so if I could, what changes would I need to make for the r8168 driver ?

First: I have no, nada, 0 experience with anything sound-related, but I have heard these 2 sound-servers can’t work together.

Secondly, regarding your question, dkms drivers for the r8168 driver is in the AUR:

$ pamac search r8168
[...]
r8168-dkms                                                                                                                                                                                              8.049.02-1    AUR
A kernel module for Realtek 8168 network cards (DKMS version)
[...]

So, it can be installed with:

pamac build r8168-dkms

In theory it should work. If it foes, feel free to heap on the praise.

That must be the wifi:

In general it have to be done like that:

Your device is an Realtek Semiconductor RTL8852AE 802.11ax PCIe Wireless Network Adapter

At the end it is:

pamac install linux515-headers
pamac build rtw89-dkms-git

You need to install the headers for each kernel you want to run.

1 Like

Thanks a lot. This worked. Additionally I think the wifi speed is a bit slow (in the Kbps). Should I try something else to maybe get faster speeds ?

Thank you for the reply. I fixed the wifi issue but what should I do about the sound problem - do you know of any other forum posts / wiki posts that I could refer to ?

Maybe disabling aspm could make a difference… have look at the Section option configuration

modinfo rtw89pci

I suspect you’ll have to stop and mask either the PipeWire or the PullseAudio services, but I am obviously not sure.

I THINK:

  • To use pulseaudio, you need to stop and mask Pipewire:
sudo systemctl disable --now --global pipewire
  • To use Pipewire, you need to disable and stop pulseaudio:
sudo systemctl disable --now pulseaudio.socket &&  sudo systemctl disable --now pulseaudio.service

But that’s according to my (very) limited knowledge so it might very well be wrong. In fact, I’d be surprised if it isn’t.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.