Installing a Mediatek Wi-Fi driver successfully restores or enables wireless connectivity on devices using Mediatek network adapters, especially on Linux systems where stock kernels may lack full support. This guide covers manual installation using official or community-maintained drivers—no driver is needed for Windows, as Microsoft provides it via Update. You must be on a Linux system (e.g., Ubuntu, Fedora, Debian) and have root (sudo) access and an active internet connection for most methods.

What You'll Need

  • A Linux-based operating system (Ubuntu, Debian, Fedora, Arch, etc.)
  • Root (sudo) access on the target machine
  • Active internet connection (wired or via USB tethering if Wi-Fi is nonfunctional)
  • Kernel headers and build tools (e.g., build-essential, linux-headers-$(uname -r))
  • Mediatek Wi-Fi device (e.g., MT76xx, MT79xx series chipsets)
  • Optional: Official Mediatek firmware package (e.g., firmware-misc-nonfree or mediatek-firmware)

Step-by-Step

  1. Identify your exact Mediatek Wi-Fi chipset. Open a terminal and run: lspci -nn | grep -i network or lsusb for USB adapters. Look for entries containing "MediaTek Inc." and note the device ID (e.g., 14c3:7662). This tells you if it's MT76x0, MT76x2, MT7915, MT7921, etc.
  2. Check if the driver is already present but disabled. Run: dmesg | grep -i mt or dmesg | grep -i wifi after booting. If you see errors like "failed to load firmware" or "firmware missing", the driver exists but needs firmware. If you see no MediaTek messages, the kernel may lack support.
  3. Update your system and install prerequisites. On Debian/Ubuntu: sudo apt update && sudo apt install build-essential linux-headers-$(uname -r) firmware-misc-nonfree On Fedora: sudo dnf install gcc make kernel-devel kernel-headers firmware-mediatek On Arch: sudo pacman -S base-devel linux-headers mediatek-firmware
  4. Verify firmware is installed. Check /lib/firmware/mediatek/ for files like mt7650.bin, mt7662.bin, mt7921_rom_patch.bin, etc. If missing, reinstall the firmware package or download manually (see Troubleshooting).
  5. For newer chipsets (MT7921/MT7915), the driver is in mainline Linux kernels ≥5.10. Confirm your kernel version with uname -r. If it's older than 5.10, upgrade the kernel (e.g., on Ubuntu: sudo apt install linux-generic-hwe-22.04 for HWE stack).
  6. For older kernels or unsupported devices, install the mt76 driver (open-source). Clone the repository: git clone https://github.com/openwrt/mt76.git Then build and install: cd mt76 && make && sudo make install Reload the module: sudo modprobe -r mt76* 2>/dev/null; sudo modprobe mt76
  7. Test the adapter. After installation, run ip link show to see if a new wlan0 or wlpXsY interface appears. Use nmcli device wifi list or your desktop GUI (e.g., GNOME Network Settings) to scan for networks.
  8. Enable automatic loading at boot. Ensure the driver is blacklisted from conflicts (e.g., blacklist mt76x2u in /etc/modprobe.d/blacklist.conf if needed), and confirm mt76 loads automatically after reboot.

Common Mistakes

Not installing kernel headers before building modules is the top error—make fails silently with "no such file or directory". Always run uname -r to match headers. Another frequent issue is using outdated firmware: e.g., MT7921 requires mt7921_rom_patch.bin and mt7921_wm.bin, both only in recent firmware packages (Ubuntu 22.04+ or Fedora 35+). Attempting to install a driver from an incompatible source (e.g., MediaTek's old Windows driver on Linux) will fail entirely. Also, Secure Boot can block unsigned modules on UEFI systems; disable it in BIOS/UEFI settings if modprobe loads without error but the device doesn't appear.

Tips

Always verify your chipset ID first—MT76x0 and MT76x2 need different firmware, and confusing them wastes time. Use lspci -nn with the device ID to cross-check on the Linux Wireless wiki. For laptops, ensure the Wi-Fi switch or Fn+F2 function key isn’t disabled; hardware kill switches persist even after driver fixes. If using a USB adapter, try different USB ports (avoid hubs) and check dmesg -w in real-time for connection messages. Finally, keep your kernel updated: Mediatek drivers improve rapidly, and newer kernels often include fixes without manual steps.

Troubleshooting

If Wi-Fi still doesn’t work, start with the simplest checks: reboot after driver/firmware changes, and confirm rfkill list shows no "Soft blocked: yes"—if so, run sudo rfkill unblock wifi. Next, verify firmware presence: ls /lib/firmware/mediatek/ should list relevant .bin files. If missing, manually download them: for Ubuntu, get firmware-misc-nonfree from the official repository; for Fedora, use dnf install firmware-mediatek. If building from source fails, ensure make and gcc are installed, and try make clean before retrying. For Secure Boot issues, sign the module using sign-file (requires MOK enrollment) or temporarily disable Secure Boot in BIOS. If the device is USB-based (e.g., MT7610U), check for USB-specific quirks: add usbcore.autosuspend=-1 to GRUB’s GRUB_CMDLINE_LINUX_DEFAULT if the adapter powers down too aggressively. If all else fails, consult the mt76 GitHub Issues page—many chipsets have known workarounds documented there.

Frequently Asked Questions

Do I need a Mediatek driver on Windows?

No—Windows automatically installs Mediatek Wi-Fi drivers via Windows Update. Only manually install drivers if Windows fails to detect the device or shows a yellow exclamation mark in Device Manager.

Is the mt76 driver safe for daily use?

Yes. The mt76 driver is open-source, actively maintained by the Linux community, and included in mainline kernels for supported chipsets. It’s stable for streaming, gaming, and general use on MT76xx/MT79xx devices.

Why does my Wi-Fi disconnect randomly after installing the driver?

This often occurs due to power management. Disable it temporarily with sudo iwconfig wlan0 power off (replace wlan0). For a permanent fix, create a file like /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf with [connection] and wifi.powersave = 2 (2 = disable).

Can I use MediaTek’s official Linux drivers?

No—MediaTek does not release official Linux drivers. All Linux support comes from the open-source mt76 project and kernel firmware. Avoid third-party "driver packs" claiming MediaTek support; they’re often outdated or malicious.

Which Mediatek chipsets are fully supported?

MT7610U, MT7612, MT7650, MT76x2 (PCIe/USB), MT7915, and MT7921 are well-supported in kernels ≥5.10. Older chipsets like MT7601U may require legacy mt7601u drivers. Check dmesg or the Linux Wireless wiki for your exact device ID.

How do I know if Secure Boot is blocking my driver?

Run mokutil --sb-state. If it shows "SecureBoot enabled", and dmesg | grep -i secure shows "Could not get signature id", the module is blocked. Disable Secure Boot in your UEFI settings (usually under Security tab) or enroll the module key using MOK management tools.