Instala esto desde una terminal como root:
# apt install build-essential bc git wget
Get kernel source code
(yo lo he usado con una raspberry , pero lo comprobe en ubuntu y funcionaba tambien)
# cd /usr/src
# ln -s linux $(uname -r)
# ln -s /usr/src/linux /lib/modules/$(uname -r)/build
Prepare linux build headers
# cd linux
# KERNEL=kernel7
# make bcm2709_defconfig
# make prepare
# make modules_prepare
Download driver and build, (replace the module with the one you want build)
# cd ~
# git clone
https://github.com/lwfinger/rtl8188eu# cd rtl8188eu
# KERNEL=kernel7
# make
Install
# make install
Con esto debería funcionarte, ya que compre la misma antena esta semana y asi lo logré.