Fixing Wifi Connection On Lenovo-Arch MediaTek Wifi Card

Table of Contents

Overview

I spend a good amount of time to solve this issue on my particular laptop so hope this helps you.

My setup is arch linux on lenovo thinkbook 14 G7 with this particular wifi card

pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
61:00.0 Network controller: MEDIATEK Corp. MT7925 802.11be 160MHz 2x2 PCIe Wireless Network Adapter [Filogic 360]
	Subsystem: Lenovo Device e0ff
	Kernel driver in use: mt7925e
	Kernel modules: mt7925e

Here are things I did.

The fix

First, clean up the configuration

sudo rm -f /etc/modprobe.d/iwlwifi.conf /etc/modprobe.d/rtw88.conf /etc/modprobe.d/rtw89.conf

Next, create a new file if not exists

sudo vim /etc/modprobe.d/mt7925.conf

Put in the following content

options mt792x_core disable_aspm=1
options mt7925e disable_aspm=1

Save it, create/edit another file

sudo vim /etc/NetworkManager/conf.d/wifi_backend.conf

Put in these content

[device]
wifi.backend=iwd
wifi.scan-rand-mac-address=no

[connection]
wifi.cloned-mac-address=permanent
wifi.powersave=2

Save it and restart, update firmware first if you have internet connection

sudo pacman -Syu linux-firmware linux

That’s it!

Leave a Comment