lwfinger / rtl8188eu

Repository for stand-alone RTL8188EU driver.
Other
1.67k stars 592 forks source link

Problem on 18.04 #263

Open hectormartin42 opened 5 years ago

hectormartin42 commented 5 years ago

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

lwfinger commented 5 years ago

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

Cyrex0 commented 5 years ago

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

lwfinger commented 5 years ago

My regular E-mail address is Larry.Finger@lwfinger.net. PLease contact me there, and be mujch clearer on what you want to do.

michael-upton97 commented 5 years ago

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?

lwfinger commented 5 years ago

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.

facug91 commented 4 years ago

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
[...]
lwfinger commented 4 years ago

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

facug91 commented 4 years ago

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

lwfinger commented 4 years ago

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.

facug91 commented 4 years ago

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

lwfinger commented 4 years ago

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.

facug91 commented 4 years ago

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 commented 4 years ago

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

lwfinger commented 4 years ago

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

facug91 commented 4 years ago

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 commented 4 years ago

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