17

I plan to install Ubuntu soon on my PC. I currently use a TP-LINK TL-WN822N wireless adapter. I want to know if it will work without additional setup.

fstanis
  • 215

3 Answers3

20

It should work with Ubuntu without additional setup. But kernel driver for this adapter may work unstable. I suggest to install a better driver from source.

sudo apt-get install git
git clone https://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
make
sudo make install

This answer is applicable to hardware version 3.0 of this adapter with a Realtek chip. Previous versions should work well out of the box.

I packaged this driver to DKMS format and added it to ppa. If you instal it from there, you will not need to re-install it after kernel upgrades. It can be installed by

sudo add-apt-repository ppa:hanipouspilot/rtlwifi
sudo apt-get update
sudo apt-get install rtl8192cu-dkms
Pilot6
  • 92,041
5

Take a look at

https://help.ubuntu.com/community/HardwareSupportComponentsWirelessNetworkCardsTP-Link

Look for TL-WN822N


TL-WN822N

Please ensure that you also install linux-firmware package after installing Ubuntu.

If you still have issues please post results of lspci and lsusb commands.

Rajat Pandita
  • 214
  • 5
  • 14
5

There are 4 different versions of this wireless adapter and they use different chipsets:

  • Versions 1 and 2 use Atheros AR7010.
  • Version 3 uses Realtek RTL8192CU.
  • Version 4 uses Realtek RTL8192EU.

To find out which version you have, take a look at the back of the adapter - it will say something like "Ver:3.0". Alternatively, use lsusb - my TP-LINK WN822N V3 identifies as "Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter".


If you have the Atheros-based one, the driver used is ath9k_htc and it should work out-of-the-box.

This page lists the drivers currently used for Realtek chipsets - essentially, they will all be replaced with rtl8xxxu at some point.

That said, while version 3 works out-of-the-box with the rtl8192cu driver, that driver is really bad (slow speed, disconnects occasionally). You'll want to install rtl8192cu-fixes to make it usable (which will also blacklist rtl8192cu).

I have no information about version 4, but RTL8192EU should work out-of-the-box with the rtl8xxxu driver on newer distros.

fstanis
  • 215