Page 2 of 5
Re: How to install Mediatek MT7612U driver for Wifi Adapter
Posted: Wed Sep 21, 2022 9:40 am
by gor9
for the moment ignore ralink firmware. I have editted above post. See if that helps
Re: How to install Mediatek MT7612U driver for Wifi Adapter
Posted: Wed Sep 21, 2022 9:48 am
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.
Re: How to install Mediatek MT7612U driver for Wifi Adapter
Posted: Wed Sep 21, 2022 9:55 am
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
Re: How to install Mediatek MT7612U driver for Wifi Adapter
Posted: Wed Sep 21, 2022 10:02 am
by gor9
oops in post 2, OP already has non-free as well. hmm.
try a manual modprobe?
Re: How to install Mediatek MT7612U driver for Wifi Adapter
Posted: Wed Sep 21, 2022 10:07 am
by gor9
are you using network applet?
bring down all wired and wireless networks, in post 2 wired is down so
then use network applet to create a new wlan connection
Re: How to install Mediatek MT7612U driver for Wifi Adapter
Posted: Wed Sep 21, 2022 10:34 am
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!
Re: How to install Mediatek MT7612U driver for Wifi Adapter
Posted: Wed Sep 21, 2022 10:40 am
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) ...
Re: How to install Mediatek MT7612U driver for Wifi Adapter
Posted: Wed Sep 21, 2022 10:43 am
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
Re: How to install Mediatek MT7612U driver for Wifi Adapter
Posted: Wed Sep 21, 2022 10:47 am
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
?
Re: How to install Mediatek MT7612U driver for Wifi Adapter
Posted: Wed Sep 21, 2022 10:53 am
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