How to install RTL8188EU wireless drivers in 3.8 kernel Ubuntu based distros

update and dist-upgrade all done
ver 1.0.9 x64

REBOOT … then post the output from:

uname -a

It’s IMPORTANT that you reboot first.

output from uname -a if in the first post
reboot was done few hours ago

my mistake :slight_smile:
after reboot

Linux ema 3.18.0-kali1-amd64 #1 SMP Debian 3.18.3-1~kali4 (2015-01-22) x86_64 GNU/Linux

OK, NOW you have the 3.18 kernel, so try:

sudo apt-get install linux-headers-$(uname -r)

again.

yes, now all works correctly
so it was all my fault
my distro was well upgraded but without reboot :wink:

Sorry for disturbing and tnx for the advice

No problem … kernel updates won’t get loaded until after a reboot, so if you’re telling it to get the headers for the CURRENT kernel… :wink:

I’m having trouble compiling this driver. Here is my distro information:
3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

When I run make, this is what I receive:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.16.0-30-generic/build M=/root/RTL8188EU/rtl8188eu  modules
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-30-generic'
  CC [M]  /root/RTL8188EU/rtl8188eu/core/rtw_ap.o
In file included from /root/RTL8188EU/rtl8188eu/include/rtw_ht.h:24:0,
                 from /root/RTL8188EU/rtl8188eu/include/drv_types.h:36,
                 from /root/RTL8188EU/rtl8188eu/core/rtw_ap.c:23:
/root/RTL8188EU/rtl8188eu/include/wifi.h:636:29: error: field ‘mcs’ has incomplete type
   struct ieee80211_mcs_info mcs;
                             ^
make[2]: *** [/root/RTL8188EU/rtl8188eu/core/rtw_ap.o] Error 1
make[1]: *** [_module_/root/RTL8188EU/rtl8188eu] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.16.0-30-generic'
make: *** [modules] Error 2

Any help is greatly appreciated!

How can you get the driver to stick upon reboot? I have the rtl8188ee driver working pretty well, but upon reboot or cold start, I have to open a terminal and run sudo modprobe rtl8188ee to get wireless working again on my Toshiba Satellite laptop.

Add it to the “modules” file, so it’s loaded each boot

Open a terminal and run:

sudo gedit /etc/modules

then add a single new line at the bottom that reads:-

rtl8188ee

SAVE the file … reboot to test

Thanks. Solved the problem. Linux rules! Realtek not so much.

LOL … you’re welcome :slight_smile:

hi mark I am facing the problem while installing RTL8188EU wireless drivers in 3.19 kernel Ubuntu based distros. I am using ubuntu 15.04 32 bit and i have tried whatever you have suggested in this post. Please suggest me something.

With your PC connected to your router via an ethernet cable, open a terminal and run these commands in sequence:

sudo apt-get install linux-headers-generic build-essential dkms git

then

mkdir ~/rtl8188eu

then

cd ~/rtl8188eu

then

git clone git://github.com/lwfinger/rtl8188eu

then

sudo cp -v rtl8188eu/rtl8188eufw.bin /lib/firmware/rtlwifi/

then

sudo dkms add ./rtl8188eu

then

sudo dkms build 8188eu/1.0

then

sudo dkms install 8188eu/1.0

if any of that throws an error STOP and say which command caused the error, and what the error was.

if it all went well, reboot

then if necessary modprobe the driver

sudo modprobe 8188eu

if still nothing, post the output from:

sudo lshw -C network

and

modinfo 8188eu | grep filename

I have formatted my laptop and installed kubuntu14.04 in it and followed the same you told me now. I also tried the commands in the beginning of this thread but nothing happed. The output as asked by you are

dheer@dheer-HP-Compaq-nc6220-ER512EP-UUF:~$ sudo lshw -C network
[sudo] password for dheer:
*-network
description: Ethernet interface
product: NetXtreme BCM5751M Gigabit Ethernet PCI Express
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:10:00.0
logical name: eth0
version: 11
serial: 00:14:c2:e4:09:ff
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.134 duplex=full firmware=5751m-v3.29a ip=192.168.11.95 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:16 memory:d0000000-d000ffff
dheer@dheer-HP-Compaq-nc6220-ER512EP-UUF:~$ modinfo 8188eu | grep filename
modinfo: ERROR: Module 8188eu not found.

if the 8188eu module wasn’t compiled and installed, then (at least) one of the commands MUST have thrown an error … I cannot help you if you don’t say which command, and what the error was.

Sorry I have done these steps again and now the output it is showing is

dheer@dheer-HP-Compaq-nc6220-ER512EP-UUF:~/rtl8188eu$ sudo lshw -C network
*-network
description: Ethernet interface
product: NetXtreme BCM5751M Gigabit Ethernet PCI Express
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:10:00.0
logical name: eth0
version: 11
serial: 00:14:c2:e4:09:ff
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.134 duplex=full firmware=5751m-v3.29a ip=192.168.11.95 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:16 memory:d0000000-d000ffff
dheer@dheer-HP-Compaq-nc6220-ER512EP-UUF:~/rtl8188eu$ modinfo 8188eu | grep filename
filename: /lib/modules/3.13.0-51-generic/updates/dkms/8188eu.ko
dheer@dheer-HP-Compaq-nc6220-ER512EP-UUF:~/rtl8188eu$

Now it is showing the wireless networks but I am unable to make a hotspot in it for my mobile. Can you tell me how to make it? I am using kubuntu 14.04

I have no idea about hotspots, I’ve never tried to set one up

It is however worrying that the lshw output deosn’t show a wireless adapter at all ???

i don’t know about it that why it is showing no adapter but i am able to connect to wifi networks but unable to make any hotspot though