muratdemirtas / MT7601u

Ubuntu and Embedded Linux(Raspberry Pi, Banana Pi etc.) drivers for MediaTek MT7601u Wireless Chipset. Support Access Point(AP) and Station Mode(STA). Tested on 32-64 Bit Ubuntu and Raspberry Pi 2 with all kernels since v4.0.0+. You can use this driver for internet sharing(hotspot), robotic, file transfer or ssh.
Other
93 stars 44 forks source link

No such file or directory #2

Closed Oddnoun closed 6 years ago

Oddnoun commented 6 years ago

I am using the Tenda W311MI device and it is using the MT7061u driver. I am trying to use your driver but stuck on this step.

sudo cp -v /lib/modules/$(uname -r)/build/Module.symvers src/os/linux My version is 4.9.41+ and I am getting an error that says No such file or directory. I am using raspbian stretch and pi zero w.

Any advice on a workaround would be greatly appreciated and thank you for this solution.

JoanTheSpark commented 6 years ago

I think the creator of this kernel module is cross compiling this on a Ubuntu machine for the RPi. The steps to do this can be found here (answer by Diederik de Haas): https://raspberrypi.stackexchange.com/questions/36900/how-do-i-get-the-configuration-and-module-symvers-for-a-raspbian-kernel-to-compi Seems quite involved and not for the faint of heart.