Goal
Install the Netis wf2190
wifi dongle onto a NUC with Debian.
Environment
- NUC DC3217IYE
- Netis WF2190
- Debian Linux
3.16-0.bpo.2-amd64 #1 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21) x86_64 GNU/Linux
- Installed
build-essential
I got the driver from the website, and all I am supposed to do is run a script install.sh
which throws me this error when trying to compile. I do have the /lib/modules/3.16-0.bpo.2-amd64/
directory, but no build
folder. I have tried adding this folder, but the script is apparently looking for some source files and I don't know what they are and where to get them.
Any tip?
Error
Authentication requested [root] for make driver:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.16-0.bpo.2-amd64/build M=/root/netis-wf2190/driver/rtl8812AU_linux_v4.3.8_12175.20140902 modules
make: *** /lib/modules/3.16-0.bpo.2-amd64/build: No such file or directory. Stop.
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
... after creating the missing build
folder
it is looking for rules (??)
Authentication requested [root] for make driver:
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.16-0.bpo.2-amd64/build M=/root/netis-wf2190/driver/rtl8812AU_linux_v4.3.8_12175.20140902 modules
make[1]: Entering directory `/lib/modules/3.16-0.bpo.2-amd64/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/3.16-0.bpo.2-amd64/build'
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
Here how I have installed the kernel
Added deb http://http.debian.net/debian-backports squeeze-backports(-sloppy) main
to source.list
and then
aptitude -t wheezy-backports install linux-image-amd64
How do install kernel source for 3.16-0.bpo.2-amd64
kernel?
I tried this which RESOLVED!
# apt-get install linux-headers-3.16-0.bpo.2-amd64
from /lib/modules/3.16-0.bpo.2-amd64
ln -s /usr/src/linux-headers-3.16-0.bpo.2-amd64/ build
and ran install.sh