DLINK DWA-131 rev E how to install driver

Can anyone help me or refer me to info to get this WIFI dongle to work on RPI running dietpi.

It is based on rtl8192EU.

Downloaded the zipfile from Dlink website , unzipped it, followed instructions in the readme but got stuck at the point where I needed to run ‘make’
Got notion ‘command not found’

As far I as I understand I must compile an obtain rtl8192EU.ko file.

Looking forward to any help


Followed the 'Add support for Edimax EW-7811UAC community manual from FOURDEE.

Installed build-essential-raspberryp-kernel-headers.

Upon issueing the make command I get

root@DietPi:~/Downloads/rtl8192eu/20140812_rtl8192EU_linux_v4.3.1.1_11320# make
make ARCH=armv7l CROSS_COMPILE= -C /lib/modules/4.9.33-v7+/build M=/root/Downloads/rtl8192eu/20140812_rtl8192EU_linux_v4.3.1.1_11320 modules
make[1]: *** /lib/modules/4.9.33-v7+/build: No such file or directory. Stop.
Makefile:1323: recipe for target ‘modules’ failed
make: *** [modules] Error 2

In /lib/modules

root@DietPi:/lib/modules/4.9.33-v7+# ls -l
total 1848
drwxr-xr-x 11 root root 4096 Jun 21 19:51 kernel
-rw-r–r-- 1 root root 478139 Jun 21 19:51 modules.alias
-rw-r–r-- 1 root root 492852 Jun 21 19:51 modules.alias.bin
-rw-r–r-- 1 root root 4778 Jun 21 19:51 modules.builtin
-rw-r–r-- 1 root root 6290 Jun 21 19:51 modules.builtin.bin
-rw-r–r-- 1 root root 153132 Jun 21 19:51 modules.dep
-rw-r–r-- 1 root root 222028 Jun 21 19:51 modules.dep.bin
-rw-r–r-- 1 root root 302 Jun 21 19:51 modules.devname
-rw-r–r-- 1 root root 61224 Jun 21 19:51 modules.order
-rw-r–r-- 1 root root 55 Jun 21 19:51 modules.softdep
-rw-r–r-- 1 root root 198792 Jun 21 19:51 modules.symbols
-rw-r–r-- 1 root root 245292 Jun 21 19:51 modules.symbols.bin

So the build directory is missing

How can I fix this ??

Problem solved thanks to mr Engman.

Found on the Raspberry pi forum

Driver has been compiled and works fine.