Rtw89_8852ae wifi not working fedora 40

After installing fedora 40 the wifi ist working.

I installed GitHub - lwfinger/rtw89: Driver for Realtek 8852AE, an 802.11ax device without errors.

I have only used Debian and not experienced with Fedora.

Any ideas?

inxi -Fzx
Device-2: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter vendor: Lenovo driver: N/A port: 2000 bus-ID: 03:00.0

lspci -nnv
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8852AE 802.11ax PCIe Wireless Network Adapter [10ec:8852]
Subsystem: Lenovo Device [17aa:4852]
Physical Slot: 0
Flags: fast devsel, IRQ 255, IOMMU group 12
I/O ports at 2000 [disabled] [size=256]
Memory at fd500000 (64-bit, non-prefetchable) [disabled] [size=1M]
Capabilities:
Kernel modules: rtw89_8852ae, rtw_8852ae

1 Like

Added f40, kernel-modules, realtek, wifi

Job for systemd-modules-load.service failed because the control process exited with error code.
See “systemctl status systemd-modules-load.service” and “journalctl -xeu systemd-modules-load.service” for details.

Apr 24 05:29:51 fedora systemd[1]: Stopping systemd-modules-load.service - Load Kernel Modules…
░░ Subject: A stop job for unit systemd-modules-load.service has begun execution
░░ Defined-By: systemd
░░ Support: systemd-devel Info Page
░░
░░ A stop job for unit systemd-modules-load.service has begun execution.
░░
░░ The job identifier is 4464.
Apr 24 05:29:51 fedora systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules…
░░ Subject: A start job for unit systemd-modules-load.service has begun execution
░░ Defined-By: systemd
░░ Support: systemd-devel Info Page
░░
░░ A start job for unit systemd-modules-load.service has begun execution.
░░
░░ The job identifier is 4464.
Apr 24 05:29:51 fedora systemd-modules-load[26361]: Module ‘msr’ is built in
Apr 24 05:29:51 fedora systemd-modules-load[26361]: Failed to insert module ‘rtw_8852ae’: Exec format error
Apr 24 05:29:51 fedora systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: systemd-devel Info Page
░░
░░ An ExecStart= process belonging to unit systemd-modules-load.service has exited.
░░
░░ The process’ exit code is ‘exited’ and its exit status is 1.
Apr 24 05:29:51 fedora systemd[1]: systemd-modules-load.service: Failed with result ‘exit-code’.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: systemd-devel Info Page
░░
░░ The unit systemd-modules-load.service has entered the ‘failed’ state with result ‘exit-code’.
Apr 24 05:29:51 fedora systemd[1]: Failed to start systemd-modules-load.service - Load Kernel Modules.
░░ Subject: A start job for unit systemd-modules-load.service has failed
░░ Defined-By: systemd
░░ Support: systemd-devel Info Page
░░
░░ A start job for unit systemd-modules-load.service has finished with a failure.
░░
░░ The job identifier is 4464 and the job result is failed.

lspci -k -d 10ec:8852

03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852AE 802.11ax PCIe Wireless Network Adapter
Subsystem: Lenovo Device 4852
Kernel modules: rtw89_8852ae, rtw_8852ae

I always do minimal install. I got the same issue with Debian but i only need to execute:

sudo rm /etc/network/interfaces and reboot

I forgot to add “NetworkManager Submodules” during install. I also installed @“Hardware Support”