ZeeRooo / RTL8192EU

Linux driver for Realtek RTL8192EU.
MIT License
53 stars 30 forks source link

test result of TL-WN821N V6 #1

Open msx752 opened 6 years ago

msx752 commented 6 years ago

@ZeeRooo after adding rtl8xxxu driver to blacklist and installing RTL8192EU driver, wifi connection is successful on Linux version 4.15.0-29-generic (buildd@lgw01-amd64-057) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 (Ubuntu 4.15.0-29.31-generic 4.15.18)

extra informations:

1. driver name and chipset nameis not shown on airmon-ng i dont know why, only shows ?????? on driver name (i dont know whether this device support monitor-mode or promiscuous mode)

2. if i do reset the NetworkManager, i have to reboot the linux for using wifi device otherwise it is not working

ZeeRooo commented 6 years ago

1- I will check the driver for monitor support (i think it's compatible). 2- I have experienced the same issue running this driver and kernel drivers for other wlan cards. I think it's a Linux issue (or NetworkManager). My solution is restart the module (sudo modprobe -r 8192eu ; sudo modprobe 8192eu). (tested on Arch 4.18 and Ubuntu 4.15)

msx752 commented 6 years ago
wifix@ubuntu:~$ sudo airmon-ng start wlan0

Found 5 processes that could cause trouble.
If airodump-ng, aireplay-ng or airtun-ng stops working after
a short period of time, you may want to run 'airmon-ng check kill'

  PID Name
 4539 avahi-daemon
 4540 avahi-daemon
 4623 NetworkManager
 4633 wpa_supplicant
 4635 dhclient

PHY Interface   Driver      Chipset

phy1    wlan0       ??????       

ERROR adding monitor mode interface: command failed: Operation not supported (-95)

@ZeeRooo here is my result but i think it is related with software issue.

According to driver description

  1. For TL-WN821N V6/TL-WN822N V5/TL-WN823N V3.
  2. For Linux kernel 2.6.24 ~ 4.9.60.
  3. Support monitor mode on ubuntu and mint.
  4. This is a beta version; unknown bugs may still exist. The formal version is coming soon.
ZeeRooo commented 6 years ago

As they said, it's beta. The only thing i did was fix build errors related to kernel headers. To be honest i never tryied monitor mode. I'll try to fix the issue in my free time :)

On Sun, Sep 23, 2018, 13:17 Mustafa Salih ASLIM notifications@github.com wrote:

wifix@ubuntu:~$ sudo airmon-ng start wlan0 Found 5 processes that could cause trouble.If airodump-ng, aireplay-ng or airtun-ng stops working aftera short period of time, you may want to run 'airmon-ng check kill'

PID Name 4539 avahi-daemon 4540 avahi-daemon 4623 NetworkManager 4633 wpa_supplicant 4635 dhclient PHY Interface Driver Chipset phy1 wlan0 ??????

ERROR adding monitor mode interface: command failed: Operation not supported (-95)

@ZeeRooo https://github.com/ZeeRooo here is my result but i think it is related with software issue.

According to driver description https://www.tp-link.com/en/download/TL-WN821N.html#Driver

  1. For TL-WN821N V6/TL-WN822N V5/TL-WN823N V3.
  2. For Linux kernel 2.6.24 ~ 4.9.60.
  3. Support monitor mode on ubuntu and mint.
  4. This is a beta version; unknown bugs may still exist. The formal version is coming soon.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ZeeRooo/RTL8192EU/issues/1#issuecomment-423828019, or mute the thread https://github.com/notifications/unsubscribe-auth/ASmIAFVAVt1A7v1MnvGiWJBHOSnjEQpUks5ud7QFgaJpZM4W1uiL .

kimocoder commented 5 years ago

@msx752 @ZeeRooo

Hi there guys! I forked it and started working on it, I'll go through the code and fix monitor mode and adding frame injection to it along with lots of other fixes :+1:

msx752 commented 5 years ago

@kimocoder thanks, i will check asap.

kimocoder commented 5 years ago

Added support for monitor mode AND frame injection while added TX queue support for monitor mode and reworked some of the regdom, adding more channels and 80 MHz support.

It lays in the pull requests for those interested.

cognitiveRobot commented 5 years ago

@kimocoder I just compiled with gcc 7.3.0 and tested on ubuntu 18.04 (Linux 4.15.0-45-generic). Now, using TP-Link TL-WN821N(US) V6I can connect to 2.4 GHz network, can't connect to 5 GHz. Is there anything I can do to connect to 5GHz?

Thanks a lot.

dotstal commented 5 years ago

TL-WN822N V5 Debian 9, Linux Server 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 Compilation and installation was successful, received 30.0 dBm 1-11 2.4 GHz, but at 12.0 dBm

caribeedu commented 4 years ago

thank you so much guys, my TL-WN821N V6 is working perfectly in 4.19.0-kali4-amd64

gigiCE commented 4 years ago

thank you so much guys, my TL-WN821N V6 is working perfectly in 4.19.0-kali4-amd64

monitor mode work?

grinwood commented 4 years ago

monitor mode is not working in my kali, Linux kali 5.2.0-kali2-amd64 #1 SMP Debian 5.2.9-2kali1 (2019-08-22) x86_64 GNU/Linux.

should i downgrade it?