Skip to content

Linux support for MT7612U based products

Compatibility information

Chipset VID&PID 0e8d:7612
Related products AWUS036ACM
Linux Hardware https://linux-hardware.org/index.php?id=usb:0e8d-7612

Support status:

Kali 2022.2 Works out-of-the-box
Kali 2021.3 Works out-of-the-box
Ubuntu 22.04 Works out-of-the-box
Ubuntu 20.10 Works out-of-the-box
Debian 11.0.3 Works
Debian 10.7.0 Works
Raspberry Pi OS (32-bit) (rev 2020-08-20) Works out-of-the-box
Raspberry Pi OS (32-bit) (rev 2022-04-04) Works out-of-the-box

Drivers

Linux kernel mainline

LKDDb https://cateee.net/lkddb/web-lkddb/MT76_CORE.html
Support kernel versions >= 4.19
Linux Wireless Wiki https://wireless.wiki.kernel.org/en/users/drivers/mediatek

Note

Test result of aireplay-ng --test -i wlan0 wlan1:

Attach -0 OK
Attach -1 (open) OK
Attach -1 (psk) OK
Attach -2/-3/-4/-6 OK
Attack -5/-7 OK

Driver installation

Kali

The device is plug and play, needn't do anything.

Ubuntu

The device is plug and play, needn't do anything.

Debian

step 1: Add non-free APT source

Append following configuration to the file /etc/apt/sources.list or a file under /etc/apt/sources.list.d/

deb http://deb.debian.org/debian/ bullseye non-free

Note

Replace bullseye to your system's code name

step 2: Run commands to install firmware

sudo apt update
sudo apt install firmware-misc-nonfree

Raspberry Pi OS

The device is plug and play, needn't do anything.

For OS version older than 2020-08-20, please see notes below:

for Raspbian 10 (buster) cases:

Please follow the Raspberry Pi OS official upgrade instructions:

https://www.raspberrypi.com/documentation/computers/os.html#updating-and-upgrading-raspberry-pi-os

Per our tests, the device starts to work after sudo apt upgrade and reboot.

for Raspbian 9 (stretch) cases:

Please follow the Raspberry Pi OS official upgrade instructions:

https://www.raspberrypi.com/documentation/computers/os.html#updating-and-upgrading-raspberry-pi-os

The device need to perform full upgrade, including:

sudo apt upgrade
sudo apt full-upgrade
sudo rpi-update

Besides, it also required to run following command to install newer firmware package:

URL="http://raspbian.raspberrypi.org/raspbian/pool/non-free/f/firmware-nonfree/firmware-misc-nonfree_20210818-1_all.deb"
wget $URL
sudo apt install ./$(basename $URL)

Per our tests, the device started to work after upgrading completed and reboot.

Known issues

LED doesn't turn on

Currently the driver(mt76) doesn't turn on the LED automatically. To turn on the LED, please follow instructions below:

STEP 1 : Open Terminal Emulator

STEP 2 : Change to root user

STEP 3 :

Run commands below:

cd /sys/kernel/debug/ieee80211/phy0/mt76
echo 0x770 > regidx

STEP 4 :

And then run commands below to change LED status in advance:

echo 0x800000 > regval # Turn LED ON
echo 0x820000 > regval # Turn LED OFF
echo 0x840000 > regval # Make LED BLINK

References