Wifi USB Dongle not detected TP-Link TL-WN821N V6

Message
Author
sagsaw
Posts: 65
Joined: Sat Mar 23, 2019 3:43 am

Wifi USB Dongle not detected TP-Link TL-WN821N V6

#1 Post by sagsaw »

I have installed MX LINUX but during live boot or after installation it did not detect my Wifi USB Dongle TP-Link TL-WN821N V6.

On the TP-Link website they have given drivers but they do not compile on kernel < 4.9.60

I have checked on distros with kernels < 4.9.60 and the Dongle is not detected but the driver compiles from source and works well.

What can be the solution to make it work?

User avatar
JayM
Qualified MX Guide
Posts: 6793
Joined: Tue Jan 08, 2019 4:47 am

Re: Wifi USB Dongle not detected TP-Link TL-WN821N V6

#2 Post by JayM »

When it doesn't compile can you copy the text inside your terminal and paste it here enclosed within code tags (the </> icon in the forum editor's toolbar) so we can see what the compiler errors are?
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: Wifi USB Dongle not detected TP-Link TL-WN821N V6

#3 Post by Stevo »

First, run

Code: Select all

sudo update-usbids
to make sure your USB ID database is fully updated (requires Net connection).

Then give us the result of

Code: Select all

inxi -Nxxz
so our strong Google-Fu has something to work with.

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: Wifi USB Dongle not detected TP-Link TL-WN821N V6

#4 Post by Stevo »

If it's the Realtek 8192eu, this repo has updated drivers source that will build up to the 5.1 kernel: https://github.com/Mange/rtl8192eu-linux-driver Please read the full README to see how to blacklist the existing kernel driver.

User avatar
sunrat
Posts: 636
Joined: Mon Mar 28, 2016 9:54 pm

Re: Wifi USB Dongle not detected TP-Link TL-WN821N V6

#5 Post by sunrat »

Stevo wrote: Sat Mar 23, 2019 3:10 pm If it's the Realtek 8192eu, this repo has updated drivers source that will build up to the 5.1 kernel: https://github.com/Mange/rtl8192eu-linux-driver Please read the full README to see how to blacklist the existing kernel driver.
The install instructions with that driver are for Ubuntu. You will need to install the headers for your actual kernel, not linux-headers-generic.
Is there a metapackage for MX kernels @Stevo?
Also I'm not sure if the TP-Link TL-WN821N V6 is rtl8192eu, I know the V5 is. It would help if we could see the device ID from the command

Code: Select all

lsusb

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: Wifi USB Dongle not detected TP-Link TL-WN821N V6

#6 Post by Stevo »

MX ships with the stock kernel's headers and compilers, plus DKMS, so the "make" command runs out of the box. The other kernel install options in the MX Pkg Installer also install the headers along with the kernel. If you're doing it manually, then you have to install the headers, or just run

"sudo m-a prepare"

since we also ship module-assistant by default. :happy:

sagsaw
Posts: 65
Joined: Sat Mar 23, 2019 3:43 am

Re: Wifi USB Dongle not detected TP-Link TL-WN821N V6

#7 Post by sagsaw »

Stevo wrote: Sat Mar 23, 2019 3:02 pm First, run

Code: Select all

sudo update-usbids
to make sure your USB ID database is fully updated (requires Net connection).

Then give us the result of

Code: Select all

inxi -Nxxz
so our strong Google-Fu has something to work with.
This is the output of the above ...

Code: Select all

Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           v: kernel port: e800 bus ID: 05:00.0 chip ID: 10ec:8168

sagsaw
Posts: 65
Joined: Sat Mar 23, 2019 3:43 am

Re: Wifi USB Dongle not detected TP-Link TL-WN821N V6

#8 Post by sagsaw »

sunrat wrote: Sat Mar 23, 2019 6:56 pm
Stevo wrote: Sat Mar 23, 2019 3:10 pm If it's the Realtek 8192eu, this repo has updated drivers source that will build up to the 5.1 kernel: https://github.com/Mange/rtl8192eu-linux-driver Please read the full README to see how to blacklist the existing kernel driver.
The install instructions with that driver are for Ubuntu. You will need to install the headers for your actual kernel, not linux-headers-generic.
Is there a metapackage for MX kernels @Stevo?
Also I'm not sure if the TP-Link TL-WN821N V6 is rtl8192eu, I know the V5 is. It would help if we could see the device ID from the command

Code: Select all

lsusb
Output of the above

Code: Select all

Bus 005 Device 006: ID 2717:ff88 Xiaomi Inc. Mi/Redmi series (RNDIS + ADB)
Bus 005 Device 004: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2
Bus 005 Device 002: ID 2357:0107 TP-Link TL-WN821N Version 5 RTL8192EU
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
And most important though its seen in the output as version 5 ... v6.0 is clearly written on the USB dongle and its packaging.

Not a single linux out of 8 or 9 I tried detects and starts this dongle out of the box ... I need to compile the driver available on the TP LINK website ...

Which of course only works for kernels < than 4.9

User avatar
Stevo
Developer
Posts: 12774
Joined: Fri Dec 15, 2006 8:07 pm

Re: Wifi USB Dongle not detected TP-Link TL-WN821N V6

#9 Post by Stevo »

Did you see post 4 in this thread?

sagsaw
Posts: 65
Joined: Sat Mar 23, 2019 3:43 am

Re: Wifi USB Dongle not detected TP-Link TL-WN821N V6

#10 Post by sagsaw »

Stevo wrote: Wed Apr 03, 2019 8:36 pm Did you see post 4 in this thread?
The question was more in hope or suggestion if MX could make it work out of the box ... without any compiling or hacking.

Locked

Return to “Hardware /Configuration”