GoalInstall the Netis wf2190 wifi dongle onto a NUC with Debian.EnvironmentNUC DC3217IYENetis WF2190Debian Linux 3.16-0.bpo.2-amd64 #1 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21) x86_64 GNU/LinuxInstalled build-essentialI 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? ErrorAuthentication 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  modulesmake: *** /lib/modules/3.16-0.bpo.2-amd64/build: No such file or directory.  Stop.make: *** [modules] Error 2##################################################Compile make driver error: 2Please check error Mesg##################################################... after creating the missing build folderit 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  modulesmake[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: 2Please check error Mesg##################################################Here how I have installed the kernelAdded deb http://http.debian.net/debian-backports squeeze-backports(-sloppy) main to source.list and then aptitude -t wheezy-backports install linux-image-amd64How 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-amd64from /lib/modules/3.16-0.bpo.2-amd64  ln -s /usr/src/linux-headers-3.16-0.bpo.2-amd64/ buildand ran install.sh 
Compiling/installing driver for Wifi dongle missing kernel modules?
debian;wifi;compiling;drivers
NOTE: I'm on Fedora 20 but the issue would be the same here, only the pathing and Linux kernel version numbers are different.When I downloaded and attempted to run the install script, bash ./install.sh I noticed this error message as well.make: *** /lib/modules/3.16.3-200.fc20.x86_64/build: No such file or directory.  Stop.The script isn't equipped to make this directory and is expecting that it's already there for it to use:/lib/modules/3.16.3-200.fc20.x86_64/buildChecking shows that it's not there:$ cd /lib/modules/3.16.3-200.fc20.x86_64/buildbash: cd: /lib/modules/3.16.3-200.fc20.x86_64/build: No such file or directoryThis directory can be a bit confusing, but if you change directories 1 level up, the situation is a bit clearer:$ cd /lib/modules/3.16.3-200.fc20.x86_64/$ ls -l | grep buildlrwxrwxrwx.  1 root root     39 Sep 29 14:25 build -> /usr/src/kernels/3.16.3-200.fc20.x86_64So build is a link to another directory. In this case it's a link where the Kernel's development tree would be installed if you had them installed. So to resolve this you simply need to install a package for your distro that includes them.On Fedora these packages go by the name kernel-devel-<kernel version #>, so I suspect that if you simply installed those, you'd be all set.