PDA

View Full Version : TP-Link TL-WN821N Wifi Adaptor no interface



NL2016
2016-12-29, 16:12
Hello,
4 weeks ago I received my TL-WN821N adaptor, of course I tried it immediately. But (like you can guess) it didn't work, it shows up at lsusb but there is no interface at ifconfig or iwconfig. Like always I googled and googled and i have tried more than 20 solutions, unfortunately none of them worked. I also tried my other Realtek adaptor (https://aliexpress.com/item/2-4GHz-ISM-raspberry-pi-2-model-b-b-plus-Wifi-Dongle-150Mbps-wireless-USB-2/32358548008.html?spm=2114.13010608.0.0.rMFAvv&detailNewVersion=&categoryId=70803004) and this worked perfectly so i think that it is a driver issue. The official driver from the site (http://www.tp-link.com/en/download/TL-WN821N.html#Driver) doesn't work because it is only for older kernels.

Here is the output of dmesg, but I think that it is nothing spectaculair.

[ 928.745955] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 931.396045] usb 1-3: new high-speed USB device number 7 using ehci-pci
[ 931.545150] usb 1-3: New USB device found, idVendor=0bda, idProduct=818b
[ 931.545154] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 931.545157] usb 1-3: Product: 802.11n NIC
[ 931.545159] usb 1-3: Manufacturer: Realtek
[ 931.545162] usb 1-3: SerialNumber: 00e04c000001
[ 933.860007] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 938.980009] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 944.100006] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 949.220007] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 954.340010] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 959.460005] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 964.580004] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 969.700009] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 974.820004] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 979.940014] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 985.060005] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 990.185957] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 995.300005] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 1000.420008] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 1005.545973] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 1010.660012] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 1015.780006] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto
[ 1020.900007] de2104x 0000:0a:0c.0 eth0: set link 10baseT auto

I am using the latest version of Kali Rolling so that can't be it, and it works on Windows 10 so it has nothing to do with the adaptor itself.

Please help me with this problem, this is my last option to get it to work.
Sorry if my English is bad :D

_defalt
2016-12-30, 05:19
Can you show output of rfkill list all?

NL2016
2016-12-30, 09:38
It shows me nothing at all, also nothing with the other wifi adaptor. From this (http://askubuntu.com/questions/510642/rfkill-list-all-shows-nothing-in-command-line) article that seems normal.

_defalt
2016-12-30, 17:40
There must be missing drivers of your wifi adapter. Download them and copy them directly in /lib/firmware.
Download this firmware.zip file from http://cdimage.debian.org/cdimage/unofficial/non-free/firmware/jessie/current/
Open it, you may find drivers of your wifi adapter in it with that name.

NL2016
2016-12-31, 09:54
I am very happy to say that it works!!! Unfortunately your solution didn't work for me, but I realy appreciate your help. Here is how i did it:

1. Download this git repository: https://github.com/Mange/rtl8192eu-linux-driver
2. Install it with make and sudo make install
3. blacklist the rtl8192cu driver
- in terminal type: sudo nano /etc/modprobe.d/blacklist.conf
- add the line blacklist rtl8192cu
- save the file
4. Reboot your pc and plug it in
5. For me it didn't work the first time, so try multiple times if it doesn't work directy.

I hope this helps others aswell. :)

_defalt
2017-01-01, 13:22
I am very happy to say that it works!!! Unfortunately your solution didn't work for me, but I realy appreciate your help. Here is how i did it:

blacklist the rtl8192cu driver
- in terminal type: sudo nano /etc/modprobe.d/blacklist.conf
- add the line blacklist rtl8192cu
- save the file


aah blacklist huh..My problem with the wireless adapter was also fixed by blacklisting a driver. Sometimes kernel loads the wrong module of your hardware and sometimes it even loads both right and wrong causing a conflict. That's why I first look in rfkill list to see if there's a conflict in wireless drivers.

noob_big-uncle
2017-07-06, 13:02
I am very happy to say that it works!!! Unfortunately your solution didn't work for me, but I realy appreciate your help. Here is how i did it:

1. Download this git repository: https://github.com/Mange/rtl8192eu-linux-driver
2. Install it with make and sudo make install
3. blacklist the rtl8192cu driver
- in terminal type: sudo nano /etc/modprobe.d/blacklist.conf
- add the line blacklist rtl8192cu
- save the file
4. Reboot your pc and plug it in
5. For me it didn't work the first time, so try multiple times if it doesn't work directy.

I hope this helps others aswell. :)

-------------------

Hi dudes,

Well, tried this solution (too), but when I gonna to the second step, I get this:

root@kaliYuga:~/rtl8192eu-linux-driver# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.6.0-kali1-amd64/build M=/root/rtl8192eu-linux-driver modules
make[1]: *** /lib/modules/4.6.0-kali1-amd64/build: Arquivo ou diretório não encontrado. Pare.
Makefile:1335: recipe for target 'modules' failed
make: *** [modules] Error 2

If anyone can help, i would be really grateful. Iḿ getting late in the art and this little problems totally delay my studies.

TKS

Mister_X
2017-07-07, 16:53
I'm late to the party but _defalt, asking for rfkill list doesn't make sense in that case.

noob_big-uncle, apt-get update && apt-get dist-upgrade then reboot. You have an old kernel. Current one is 4.9 or 4.10.

noob_big-uncle
2017-07-11, 11:17
gonna try it. tks bro.

janjan
2017-11-30, 09:21
did you find a solution? i have the same problem

bigbiz
2017-12-02, 12:28
did you find a solution? i have the same problem

Thank you for this I bought this same for nethunter because of the look. It wasn't loading I will try this. Much appreciated!