Page 1 of 3

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

Posted: Sat Mar 23, 2019 3:47 am
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?

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

Posted: Sat Mar 23, 2019 4:14 am
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?

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

Posted: Sat Mar 23, 2019 3:02 pm
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.

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

Posted: Sat Mar 23, 2019 3:10 pm
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.

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

Posted: Sat Mar 23, 2019 6:56 pm
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

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

Posted: Sat Mar 23, 2019 7:35 pm
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:

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

Posted: Wed Apr 03, 2019 10:25 am
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

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

Posted: Wed Apr 03, 2019 10:27 am
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

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

Posted: Wed Apr 03, 2019 8:36 pm
by Stevo
Did you see post 4 in this thread?

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

Posted: Thu Apr 04, 2019 3:04 am
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.