Wifi dongle driver (rtl8192eu) - Kernel headers issue

Dear,

I have installed latest version of OSMC (July '17 release) on my Raspberry Pi.

I am now trying to install driver for my wifi dongle (D-LINK DWA-131), but get an issue.

I execute following commands:

sudo apt-get install git build-essential dkms => OK
sudo apt-get install rbp1-headers-4.9.29-11-osmc => OK
sudo git clone https://github.com/CGarces/rtl8192eu-linux-driver.git => OK
sudo dkms add ./rtl8192eu-linux-driver => OK
sudo dkms install rtl8192eu/1.0 => KO, cf. error below

“Your kernel headers for kernel 4.9.29-11-osmc cannot be found at
/lib/modules/4.9.29-11-osmc/build or /lib/modules/4.9.29-11-osmc/source.”

I do not understand this error message as I’ve previously installed the headers for 4.9.29-11-osmc.

Could you please help me to solve this issue ?

Thanks a lot,

Regards,

8192eu driver is already included in OSMC.

If VID/PID is missing, then we should add it instead of using a different driver.