How to compile a driver for MT7610u wifi dongle ?

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
maple121
Posts: 1
Joined: Wed Dec 07, 2016 5:45 am

How to compile a driver for MT7610u wifi dongle ?

Post by maple121 »

Hello,

I'm trying to connect ASUS USB-AC5 dongle (MT7610U) chipset to Dietpi (Odroid C2 version).

I found some topic that MT7610u chipset could be ran after compiling & installing the code on https://github.com/Myria-de/mt7610u_wif ... o_20130916.

so, I want to ask what is needed to compile this code.


Question1 : When compiling the "PLATFORM = PC", the below directories has to be set up correctly.
---------------------------------------
ifeq ($(PLATFORM),PC)
# Linux 2.6
LINUX_SRC = /lib/modules/$(shell uname -r)/build
# Linux 2.4 Change to your local setting
#LINUX_SRC = /usr/src/linux-2.4
LINUX_SRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/
CROSS_COMPILE =
endif
--------------------------------------

but I found threre's no Dietpi source code for doing a cross-compiling.
(I'm using the kernel version "3.14.79+", but there's no directory named "/lib/modules/3.14.79+/build/")

How could I get the proper source code for compiling the https://github.com/Myria-de/mt7610u_wif ... o_20130916 ?


Question2 : is there any other way for installing MT7610u driver on my Odroid with Dietpi ?
Post Reply