I
I
Ilya Pavlov2017-04-04 18:18:05
linux
Ilya Pavlov, 2017-04-04 18:18:05

USB - mt7601u in Orange Pi Zero?

I flashed Ubuntu-Server 16 in Orange Pi Zero.
I insert USB-WiFi - nothing appears in iwconfig.
I scoured the internet and found the following:

git clone https://github.com/flexiti/mt7601.git
cd mt7601
make

and...
After make :
[email protected]:~/mt7601# ls
ate     include           Makefile  os         README.md          RT2870STA.dat             tools
chips   iwpriv_usage.txt  mcu       phy        README_STA_usb     sta
common  mac               mgmt      rate_ctrl  RT2870STACard.dat  sta_ate_iwpriv_usage.txt
[email protected]:~/mt7601# make
make -C tools
make[1]: Entering directory '/root/mt7601/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/root/mt7601/tools'
/root/mt7601/tools/bin2h
cp -f os/linux/Makefile.6 /root/mt7601/os/linux/Makefile
make -C /lib/modules/3.4.39/build SUBDIRS=/root/mt7601/os/linux modules
make[1]: *** /lib/modules/3.4.39/build: No such file or directory.  Stop.
Makefile:394: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
[email protected]:~/mt7601#

And this is where my knowledge ends.
I didn't find anything useful on the Internet.
I also tried to download the driver from the site - the same thing.
I don't know what to do anymore. Where to dig?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Shitskov, 2017-04-04
@Zarom

Try following the steps on this page:
https://github.com/flexiti/mt7601
It looks like you're missing this:

sudo apt-get install linux-headers-generic build-essential git

R
Ruslan, 2019-04-28
@msHack

Phew, I solved this problem here is a video on installing the driver in linux on MT7601U install the Binary firmware package for various drivers in the Linux kernel there are all drivers
https://www.youtube.com/watch?v=73QEliYhVEU
install the Binary firmware package for various drivers in the Linux kernel then Add the following lines to /etc/NetworkManager/NetworkManager.conf
[device]
wifi.scan-rand-mac-address=no

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question