How to install TP link WN822N on Ubuntu?

26,548

I suggest that, with a temporary working internet connection by ethernet, tethered or whatever means possible, open a terminal and do:

sudo apt update
sudo apt install git
git clone https://github.com/jeremyb31/rtl8192eu-linux-driver
cd rtl8192eu-linux-driver
make
sudo make install
sudo modprobe 8192eu

You wireless should now be working.

When Update Manager installs a later kernel version, also known as linux-image, after the required reboot, then recompile:

cd rtl8192eu-linux-driver
make clean
make
sudo make install
sudo modprobe 8192eu

Please retain the file and these instructions for that time.

Share:
26,548

Related videos on Youtube

Bryan Huang
Author by

Bryan Huang

Updated on September 18, 2022

Comments

  • Bryan Huang
    Bryan Huang over 1 year

    When I type in lsusb, the device appears as ID 2357:0108

    That's right, it's blank at the end. I've updated the usb ids yet its always blank. I have no idea what to install to make this thing work. I'm dual booting on mac osx

    • You'reAGitForNotUsingGit
      You'reAGitForNotUsingGit over 7 years
      lsusb doesn't give the chipset?
    • Bryan Huang
      Bryan Huang over 7 years
      no it just comes up as blank
  • You'reAGitForNotUsingGit
    You'reAGitForNotUsingGit over 7 years
    They have an official driver: static.tp-link.com/res/down/soft/…
  • Bryan Huang
    Bryan Huang over 7 years
    This works! However, now it doesn't recognize the chipset when I type in lsusb; it just shows a blank
  • Emad Arshad Alam
    Emad Arshad Alam over 7 years
    Is "git clone github.com/jeremyb31/rtl8192eu-linux-driver" same as " wget github.com/jeremyb31/rtl8192eu-linux-driver"? What is git clone and how does it work?
  • Admin
    Admin over 7 years
    GIT clone clones a git, i.e., it copies all the contents and folder structure from the remote git site to your local drive.
  • chili555
    chili555 over 7 years
    The wget method you suggest gets an HTML file; not the required driver files.
  • Tom Granot
    Tom Granot over 7 years
    I've put the files from the GitHub repo on a USB stick, copied the files over to a folder on my ubuntu machine, and accessed the folder from the terminal. After make, make install & modprobe I'm still not seeing the wireless signal searching for network. Thoughts?
  • Tom Granot
    Tom Granot over 7 years
    Oh Sweet, I figured it out: When you download from GitHub the branch name is appended to the file name, so rtl8192eu-linux-driver becomes rtl8192eu-linux-driver-master. After mving the folder back to its original name (rtl8192eu-linux-driver) it works like a charm. Thanks so much for this!