I bought a TP-Link TL-WN822N v4 wi-fi dongle, based upon a Realtek RTL8192EU chipset.

It is recognized out of the box on a Linux system, but would not connect to anything (the connections will be very weak, even though the adapter has external antennas).

What to do?


It can be solved by installing this alternative driver.

You will need an alternate method of internet connection (such as a wired connection or a tethered phone).

  1. Install kernel headers, git and dkms.
  2. Clone the repo: https://github.com/Mange/rtl8192eu-linux-driver.git somewhere in your home directory.
  3. Add it to the DKMS: dkms add ., then build it with dkms install rtl8192eu/1.0.
  4. Try loading the new module 8192eu. If it works, blacklist the broken rtl8xxxu module.
| improve this answer | |
  • I asked this and answered it myself since I wanted to document what I had done. The info around the internet is mostly Ubuntu/Debian-centric (refers to PPAs, apt-get etc...) and this should at least try to be distro-independent. – Renan Feb 17 '18 at 15:44
  • 1
    I advise reading this too; realtek are lacking in quality unix.stackexchange.com/questions/252210/… – Rui F Ribeiro Feb 17 '18 at 16:02
  • how to get 4th step done? – Marek Urbanowicz Jul 21 '18 at 11:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.