How to install driver RALINK 2870 Kali Linux

Ralink Tech Inc.

=======================================================================
ModelName:

RT2870 Wireless Lan Linux Driver

=======================================================================
Driver lName:

rt2870.o/rt2870.ko

=======================================================================
Supporting Kernel:

linux kernel 2.4 and 2.6 series.
Tested in Redhat 7.3 or later.

=======================================================================
Ralink Hardware:

Ralink 802.11n Wireless LAN Card.

=======================================================================
Description:

This is a linux device driver for Ralink RT2870 USB ABGN WLAN Card.

=======================================================================
Contents:

Makefile : Makefile
*.c : c files
*.h : header files

What does lsusb show?

I have this adapter I bought in AliExpress cf-922ac MT7612u comfast, the driver is recognized by Kali Linux but it get hot which means it needs to rebuild the driver
I don’t know how to do it Procesando: IMG_20250529_225949.jpg…

How did you come to that conclusion??

It has electricity running through it. It will get hot.

I’m sorry I don’t know much about Linux or wifi USB adapter
This link is the driver maybe you can help me with this this

I’m adding some instruction the seller gave me I don’t understand the instruction

Does it work? Right now, without doing anything does it work?

The adapter works, but not properly because the wifi network is low speed compared to window. Others problem is the wifi adapter gets hot without connected to wifi and the LED doesn’t work either

Led not working is common with any linux wifi driver, as for speeds, you can set preferred connection speeds, but they often default to 2.4 Ghz which has better range but is slower, opposed to 5Ghz which is faster, but doesn’t travel as far. The driver that is installed by default supports monitor mode, the driver you want to install won’t so you won’t be able to use it for scanning.

https://askubuntu.com/questions/1058622/how-to-force-to-linux-to-connect-only-5ghz-channel

I connected the WiFi adapter to 5ghz and made a test on Kali Linux and Windows, the results were window reached the internet speed of my router and Kali Linux didn’t reach the speed internet of my router.
The wifi adapter is not working properly.
It gets very hot like I have to unplug the adapter because it burns

Are you sure you connected it to 5 Ghz many home routers use the same wifi credentials for both 2.4 GHz and 5GHz the only way to ‘test that theory’ is to set different details for 2.4 GHz and 5 GHz WiFi on the router, I usually name them that way, myhomerouter-2.4 and myhomerouter-5 for example, then I know its only connecting to the correct network.

This chipset MT7612u comfast is already supported in kernel and works with monitor mode etc without needing any other drivers installed at all, I know I have a USB adapter based on that chipset, its plug and play don’t try installing any other driver, that will not be the problem!

Are you using Kali installed direct on hardware, or inside a VM (A guest on Windows)
If in a VM you need to set VM USB to version 3 not version 2 else it cannot function at full speed!
Check VM manager settings.

I’m using Kali Linux installed on HDD. I think the problem is the flash ram is conflicting with Kali Linux.
This USB adapter has a flash ram to install the driver immediately on windows .
This is an USB adapter problem.

https://a.aliexpress.com/_msAW1k3

Then you need to modeswitch it, this should happen automatically on newer Linux kernels, but if its not, you’ll have to do it manually;