rtl8188eu icon indicating copy to clipboard operation
rtl8188eu copied to clipboard

Problem on 18.04

Open hectormartin42 opened this issue 6 years ago • 16 comments

sudo modprobe rtl8188eu modprobe: FATAL: Module rtl8188eu not found in directory /lib/modules/4.15.0-34-generic

hectormartin42 avatar Oct 05 '18 18:10 hectormartin42

There is no driver named rtl8188eu in Linux. What are you trying to do?

lwfinger avatar Oct 05 '18 18:10 lwfinger

Lwfinger, Please contact me so we can work on configuring the driver for 18.04 TP link released a package to make the driver

Cyrex0 avatar Oct 12 '18 18:10 Cyrex0

My regular E-mail address is [email protected]. PLease contact me there, and be mujch clearer on what you want to do.

lwfinger avatar Oct 12 '18 19:10 lwfinger

Hey LwFinger,

Its a shame this went offline as i have the same problem. to be clear on whats happening, there are many online tutorials on installing the correct drivers for various tp-link devices, most of them contain the repository. here is an example: https://askubuntu.com/questions/678134/how-to-install-tp-link-wn725n-wifi-usb-adapter-on-ubuntu-ubuntu-14-04-3-lts there is a step after the make process that requires the mod probe that me and hectormartin42 have been struggling with. is this step necessary and if so how to we get around it?

michael-upton97 avatar Feb 03 '19 18:02 michael-upton97

The standard kernel has two drivers called r8188eu and rtl8xxxu that will conflict with the driver named 8188eu from my repo. You need to blacklist the standard ones. As root, create a file named /etc/modprobe.d/50-rtl8188eu.conf and add two lines

blacklist r8188eu blacklist rtl8xxxu

Once you have done "make" and "sudo make install" and then rebooted, then lsmod | egrep "8188|8xxxu" should only show 8188eu and the device should work.

lwfinger avatar Feb 03 '19 20:02 lwfinger

Hi, I'm trying to use a usb wifi, with this driver.
I've tried the installation method, but didn't work. I also tried this blacklisting you said, and when I run lsmod | egrep "8188|8xxxu" it shows nothing.

To save some time, this is what I'm using:

~$ lsb_release -a  
No LSB modules are available.  
Distributor ID:	Ubuntu  
Description:	Ubuntu 18.04.5 LTS  
Release:	18.04  
Codename:	bionic  
~$ uname -a
Linux username 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
~$ lsusb
[...]
[...] Realtek Semiconductor Corp. # The usb connected and detected
[...]

facug91 avatar Aug 11 '20 14:08 facug91

I need the whole 'lsusb' output, at least for the Realtek line. Those numbers are important.

lwfinger avatar Aug 11 '20 18:08 lwfinger

Sorry, I didn't know that.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 006: ID 04f3:0103 Elan Microelectronics Corp. ActiveJet K-2024 Multimedia Keyboard Bus 001 Device 010: ID 0d8c:0012 C-Media Electronics, Inc. Bus 001 Device 009: ID 0bda:f179 Realtek Semiconductor Corp. Bus 001 Device 007: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

facug91 avatar Aug 11 '20 18:08 facug91

You do have an RTL8188EU device, but it will not be recognized by either rtl8xxxu or r8188eu.

Do a 'make' and 'sudo make install' followed by a reboot. At that point, 'lsmod | grep 8188' should show a driver.

lwfinger avatar Aug 11 '20 19:08 lwfinger

Just in case, I did those 3 steps again, but I have the same result, no output for lsmod | grep 8188

facug91 avatar Aug 11 '20 19:08 facug91

My mistake. That device was in one of my drivers, but not in the ones in this repo. Do a 'git pull', then repeat those 3 steps.

lwfinger avatar Aug 11 '20 19:08 lwfinger

Thank you @lwfinger , now when I execute lsmod | grep 8188, it outputs 8188eu 729088 0, and my computer recognize the wifi usb.
The problem now is that there's no network detected, I don't know if the dongle is not working, or some problem with my configuration/driver. Do you have any idea?

facug91 avatar Aug 12 '20 00:08 facug91

A friend of mine has the same dongle and has the same problem, so it is not something particular to mine.

facug91 avatar Aug 12 '20 12:08 facug91

Is there anything about this in the output of the dmesg command?

Your dongle is an RTL8188FU, not RTL8188EU. The master branch probably does not handle that one very well. Do the following:

git checkout origin/v5.2.2.4 -b v5.2.2.4 make sudo make install reboot

lwfinger avatar Aug 12 '20 17:08 lwfinger

I have the CD of the dongle, and the driver inside says "RTL8188EUS_linux_v4.1.4_6773.20130222". The problem is that when I try to compile it, it throws an error.
I've tried the branch v5.2.2.4, but now the Wi-Fi doesn't detect any adapter connected. Anyway, the output of lsmod | grep 8188 changed:

8188eu               1495040  0
cfg80211              712704  1 8188eu

facug91 avatar Aug 13 '20 01:08 facug91

As you said, I tried one I found for RTL8188FU (https://github.com/kelebek333/rtl8188fu), and it worked. Thank you so much lwfinger!

facug91 avatar Aug 13 '20 01:08 facug91