How to install Mediatek MT7612U driver for Wifi Adapter

Message
Author
gor9

Re: How to install Mediatek MT7612U driver for Wifi Adapter

#11 Post by gor9 »

for the moment ignore ralink firmware. I have editted above post. See if that helps

User avatar
j2mcgreg
Global Moderator
Posts: 7042
Joined: Tue Oct 23, 2007 12:04 pm

Re: How to install Mediatek MT7612U driver for Wifi Adapter

#12 Post by j2mcgreg »

@PIP436 wrote:
At Huckleberry's suggestion I ran the command: sudo apt update ; sudo apt install firmware-ralink -y. What do I need to do now?
Plug in the Mediatek device and see if it works.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

Huckleberry Finn

Re: How to install Mediatek MT7612U driver for Wifi Adapter

#13 Post by Huckleberry Finn »

In the meantime, yes, no harm (re)installing that, but firmware-misc-nonfree is already installed ootb on MX21:

firmware-misc-nonfree 20210818-1~mx21+1

gor9

Re: How to install Mediatek MT7612U driver for Wifi Adapter

#14 Post by gor9 »

oops in post 2, OP already has non-free as well. hmm.

try a manual modprobe?

Code: Select all

sudo modprobe mt76x2u

gor9

Re: How to install Mediatek MT7612U driver for Wifi Adapter

#15 Post by gor9 »

are you using network applet?

bring down all wired and wireless networks, in post 2 wired is down so

Code: Select all

sudo ifconfig wlan0 down
then use network applet to create a new wlan connection

PIP436
Posts: 54
Joined: Thu Sep 15, 2022 4:56 am

Re: How to install Mediatek MT7612U driver for Wifi Adapter

#16 Post by PIP436 »

Nothing happens when I plug the adopter in. Was there something specific I missed doing with the downloaded file I extracted?

Ran command sudo ifconfig wlan0 down and then restarted wifi network. Plugged in adapter again. Nothing!

Also ran this install command:

$ sudo apt update ; sudo apt install firmware-ralink -y
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian-security buster/updates InRelease
Hit:4 http://deb.debian.org/debian buster-updates InRelease
Hit:5 http://ftp.linux.org.tr/mx/repo/mx/repo bullseye InRelease
Hit:6 http://deb.debian.org/debian bullseye-updates InRelease
Get:7 https://mega.nz/linux/repo/Debian_11 ./ InRelease [2,959 B]
Hit:8 http://deb.debian.org/debian bullseye InRelease
Hit:9 https://dl.google.com/linux/chrome/deb stable InRelease
Fetched 2,959 B in 1s (2,823 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
firmware-ralink is already the newest version (20190114-2).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.


Still nothing. Yikes!

Huckleberry Finn

Re: How to install Mediatek MT7612U driver for Wifi Adapter

#17 Post by Huckleberry Finn »

PIP436 wrote: Wed Sep 21, 2022 10:34 am...
firmware-ralink is already the newest version (20190114-2).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded...
Because you had already installed that:
PIP436 wrote: Wed Sep 21, 2022 9:37 am...
After this operation, 23.6 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/non-free amd64 firmware-ralink all 20190114-2 [17.7 kB]
Fetched 17.7 kB in 0s (72.4 kB/s)
Selecting previously unselected package firmware-ralink.
(Reading database ... 294291 files and directories currently installed.)
Preparing to unpack .../firmware-ralink_20190114-2_all.deb ...
Unpacking firmware-ralink (20190114-2) ...
Setting up firmware-ralink (20190114-2) ...

Huckleberry Finn

Re: How to install Mediatek MT7612U driver for Wifi Adapter

#18 Post by Huckleberry Finn »

If you haven't: Don't forget to disable "Secure Boot" in Bios settings.

Normally it's supported since kernel 4.19 :https://linux-hardware.org/?id=usb:0e8d ... e=2#status

gor9

Re: How to install Mediatek MT7612U driver for Wifi Adapter

#19 Post by gor9 »

not sure what you mean by restarted wifi. we don't want your device from post 2 please

try this in case your existing wifi module is grabbing cfg* module
EDIT oops missing an -r

Code: Select all

sudo modprobe -r mt76x2u
sudo modprobe -r rtw88_8821ce
sudo modprobe  mt76x2u
dmesg
now check the end of your dmesg....does wifi firmware for the mt* show up?

something like.....
firmware: direct-loading firmware mt7662_rom_patch.bin
firmware: direct-loading firmware mt7662.bin
?

gor9

Re: How to install Mediatek MT7612U driver for Wifi Adapter

#20 Post by gor9 »

if that works....you should see my output....but I do not have your device so can not confirm firmware loading

Code: Select all

lsmod | grep mt
mt76x2u                28672  0
mt76x2_common          28672  1 mt76x2u
mt76x02_usb            20480  1 mt76x2u
mt76_usb               36864  2 mt76x02_usb,mt76x2u
mt76x02_lib            86016  3 mt76x02_usb,mt76x2u,mt76x2_common
mt76                   77824  5 mt76_usb,mt76x02_lib,mt76x02_usb,mt76x2u,mt76x2_common
mac80211              995328  5 mt76,mt76_usb,mt76x02_lib,mt76x02_usb,mt76x2u
cfg80211              983040  5 mt76,mt76x02_lib,mac80211,mt76x02_usb,r8188eu
usbcore               331776  7 xhci_hcd,usbhid,mt76_usb,xhci_pci,mt76x02_usb,r8188eu,mt76x2u
we do not want to see cfg associated with your rtw88 kernel module

EDIT

it should be safe to pull out and re-insert usb dongle then check ifconfig to see if wlan* is up for your usb dongle

Post Reply

Return to “Hardware /Configuration”