MediaTek USB WLAN adapter on Raspberry Pi

We’ve got a few Raspberry Pi’s to use in different projects, and for theese pi’s we got a couple of different WLAN adapters. In our search for a cheap and simple system we’ve tried a few differend brands of adapters, with different results. This document will describe how to get the MediaTek USB WLAN adapter to work with the Raspberry Pi.


This is what the adapter looks like, and when you run lsusb in raspberian it says something like:

Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp.

but ifconfig doesn’t show the device and dmesg says something like:

Direct firmware load for mt7601u.bin failed with error -2
mt7601u: probe of 1-1.4:1.0 failed with error -2

To get this adapter to work you need the 4.x kernel which is easilly obtained by:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get rpi-update

lsmod shows that the mt7601u driver is installed in the 4.1.6 kernel that the current raspbian uses but the .bin file for the driver is not installed.

The solution is really simple:
You need to get the driver CD that came with the adapter and find the .bin file, i my case it was:

/MTK WlanU/DPO_MT7601U_LinuxSTA_3.0.0.4_x.tar.bz2/

Copy this file to


on your raspbian.

Now ifconfig will show the wlan0 interface, your adapter is working.
To connect to a network, edit the /etc/wpa_supplicant/wpa_supplicant.conf file to include your WLAN.

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev


Restart the interface..

sudo wpa_action wlan0 stop
sudo ifup wlan0

Verify that you’re connected

sudo wpa_cli status


Marcus Runsten Skrivet av:

Kommentarerna är stängda.