LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   Mediatek mt7921e network card not working (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/mediatek-mt7921e-network-card-not-working-4175724954/)

E-Kami 05-11-2023 01:59 AM

Mediatek mt7921e network card not working
 
I just installed Ubuntu 22.04 desktop on my Zephyrus Duo 16 GX650PY but I can't get my Wifi card to work.

$ lspci -k
04:00.0 Network controller: MEDIATEK Corp. Device 0616
Subsystem: Foxconn International, Inc. Device e0df
Kernel modules: mt7921e

$ sudo lshw -C network
*-network UNCLAIMED
description: Network controller
product: MEDIATEK Corp.
vendor: MEDIATEK Corp.
physical id: 0
bus info: pci@0000:04:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm cap_list
configuration: latency=0
resources: memory:fca00000-fcafffff memory:fcb00000-fcb07fff

$ lsmod | grep mt7921e
mt7921e 28672 0
mt7921_common 90112 1 mt7921e
mt76_connac_lib 65536 2 mt7921e,mt7921_common
mt76 102400 3 mt7921e,mt7921_common,mt76_connac_lib

$ inxi -Fza
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 port: e000 bus-ID: 03:00.0 chip-ID: 10ec:8125 class-ID: 0200
IF: enp3s0 state: down mac: <filter>
Device-2: MEDIATEK vendor: Foxconn driver: N/A modules: mt7921e pcie: gen: 2 speed: 5 GT/s
lanes: 1 port: N/A bus-ID: 04:00.0 chip-ID: 14c3:0616 class-ID: 0280
IF-ID-1: enx7eecb1aea0eb state: up speed: N/A duplex: N/A mac: <filter>
IF-ID-2: tailscale0 state: unknown speed: -1 duplex: full mac: N/A

$ uname -r
5.19.0-41-generic

I tried to look it up and it seems the driver for this network card started having issues from kernel 5.16 onwards and people said a hard reboot was the only solution but it never worked in my case.
Any idea how I can debug/fix this? Thank you.

beachboy2 05-11-2023 02:52 PM

E-Kami,

The Mediatek mt7921e is problematic with many distros.

It is likely that a 5.18 kernel is required to permanently rectify this problem, but you may be able to do a temporary fix:
https://forum.manjaro.org/t/mediatek...r-issue/102197

KC1DI 05-27-2023 06:25 AM

I have seen countless problems listed in many distro forums about mediatek Cards. If it were me I would buy a usb dongle known to work with Linux. Panda makes several but there are others. Stay away from realtek if possible and mediatek. Intel. chips work well.


All times are GMT -5. The time now is 04:02 PM.