Install mercusys wifi adapter in Ubuntu

19,603

I just added your device to my fork of Mange's rtl8192eu-linux-driver on github, in terminal

sudo apt-get install git dkms build-essential
git clone https://github.com/jeremyb31/rtl8192eu-linux-driver.git
sudo dkms add ./rtl8192eu-linux-driver
sudo dkms install rtl8192eu/1.0

Reboot

You will have to remove any driver installed with ndisgtk before this will work

Edit I figured out I had a typo

sudo dkms remove rtl8192eu/1.0 --all
sudo dkms uninstall rtl8192eu/1.0
sudo rm -r /usr/src/rtl8192eu-1.0
sudo rm -r /var/lib/dkms/rtl8192eu
cd rtl8192eu-linux-driver
git pull
cd
sudo dkms add ./rtl8192eu-linux-driver
sudo dkms install rtl8192eu/1.0
Reboot
Share:
19,603

Related videos on Youtube

Marcos Alex
Author by

Marcos Alex

Phd Student at Biosystem Engineering. I like programming. At moment I work with Fortran, Python, awk, shellscript, gnuplot

Updated on September 18, 2022

Comments

  • Marcos Alex
    Marcos Alex over 1 year

    I have been trying to install mercusys wifi adpater in ubuntu 16.04. Typing lsusb returns:

    marcos@spac-lia:~$ lsusb 
    Bus 002 Device 004: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
    Bus 002 Device 003: ID 1a2c:0e24 China Resource Semico Co., Ltd 
    Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 004: ID 2c4e:0100  
    Bus 001 Device 003: ID 0951:1625 Kingston Technology DataTraveler 101 II
    Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    

    After testing, I could realize that my wifi adapter information corresponds to:

    Bus 001 Device 005: ID 2c4e:0100
    

    I have tried to install the drivers with ndisgtk but it is not working

    • Jeremy31
      Jeremy31 about 6 years
      What kernel are you using uname -a in terminal
    • Marcos Alex
      Marcos Alex about 6 years
      uname -a Linux spac-lia 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
  • Marcos Alex
    Marcos Alex about 6 years
    Thanks for implementation! I installed as suggested, but still not working. lsusb in terminal still returns only Bus 001 Device 003: ID 2c4e:0100 for the device. An wifi icon in nm-applet has appeared, though.
  • Jeremy31
    Jeremy31 about 6 years
    See askubuntu.com/a/425205/300665 run the wireless-info script and then do cat wireless-info.txt | nc termbin.com 9999 post the URL so I can see some more info. The lsusb results will not change because of a driver but you should see something new in lshw -c net
  • Marcos Alex
    Marcos Alex about 6 years
    See the URL: termbin.com/yo4m
  • Jeremy31
    Jeremy31 about 6 years
    See if it works after sudo apt-get purge ndiswrapper; sudo rm /etc/modprobe.d/ndiswrapper.conf then reboot
  • Marcos Alex
    Marcos Alex about 6 years
    Still not working... Should I also purge ndiswrapper-dkms? I also ran wireless-info script again. See the URL termbin.com/eqqs
  • Jeremy31
    Jeremy31 about 6 years
    What happens if you sudo modprobe -v 8192eu
  • Marcos Alex
    Marcos Alex about 6 years
    It returns: insmod /lib/modules/4.13.0-32-generic/kernel/net/wireless/cfg80211.‌​ko and insmod /lib/modules/4.13.0-32-generic/updates/dkms/8192eu.ko
  • Jeremy31
    Jeremy31 about 6 years
    What about modinfo | grep 0100
  • Marcos Alex
    Marcos Alex about 6 years
    modinfo: ERROR: missing module or filename. Typing only modinfo, returns the same.
  • Jeremy31
    Jeremy31 about 6 years
    Answer edited to fix typo
  • Marcos Alex
    Marcos Alex about 6 years
    Working perfectly now. Thanks for the great work
  • Marcos Alex
    Marcos Alex almost 6 years
    I have tried to install it on a upgraded system: Linux marcos-lia 4.15.0-23-generic #25-Ubuntu SMP Wed May 23 18:02:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, but did not work. Can you help in fixing it and "adjust for the new kernel"?
  • Jeremy31
    Jeremy31 almost 6 years
    Start a new question
  • Marcos Alex
    Marcos Alex almost 6 years