Comments (35)
Good morning @neuberfran
Can you tell me where you got the driver you are using? It isn't the driver from this repo.
Regards,
Nick
from 8812au.
Did not intend to chase you off. Knowing what driver you have installed would help me offer advice. If it is the 8812au driver in the Ubuntu repo, stay away from it. It is old and causes problems. If it is the one from aircrack-ng, it is also old but uninstallation would be different.
The driver you want is the one here as it is the newest and by far the best driver for the 8812au. I have no idea why Realtek finally kicked out a half way decent driver for this chipset but they did.
Nick
from 8812au.
hi, @morrownr. Yes, I stay trying aircrack-ng now. Funny, that in ubuntu 20.10 this chipset is working ok.My chipset is 8811au and not 8812au. But the reps for 8812au are known to work on 8811au. Any help from you is welcome.
from 8812au.
Oh, well, if you are sure it is a 8811au chipset then you want this driver:
https://github.com/morrownr/8821au
You really don't want the old aircrack-ng or Ubuntu drivers.
There is a file in the 8821au repo I just provided the link for that has a file called:
supported-device-IDs
Open it and read it so as to check your chipset against the supported chipsets.
Remember to uninstall all old drivers.
Good luck.
P.S. I have several repos here:
One that might be of interest is this one:
https://github.com/morrownr/USB-WiFi
...as it has a lot of information.
from 8812au.
@morrownr Bus 002 Device 005: ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]
Unfortunately, my id is not on the list. You (or me) have a job to do.
https://www.amazon.com.br/ADAPTADOR-USB-AC600-ARCHER-T2UNANO/dp/B07KRCW6LZ
from 8812au.
Yes, your device ID is in the file. I just checked, I think there is some confusion going on. Go to the following link:
https://github.com/morrownr?tab=repositories
Take note that I have several repos available. Each one gives a short rundown of what it is for. The one you want is 8821au.
from 8812au.
@morrownr Sadness still reigns. I followed all the steps, but I was not successful. I'm still excited to debug and keep trying.
from 8812au.
The 8821au driver, this repo, installed successfully. Congrats. Now, it looks to me like another previously installed driver is also trying to do its thing with the same adapter. That is not good.
Run the following and post the results:
$ dkms status
Edit: I should not have said "this repo" above because we are now installing and working on the driver in the 8821au repo but we are still communicating in the 8812au repo. Life is messy.
from 8812au.
@morrownr neuberfran@ubuntu2104:~$ dkms status
rtl8821au, 5.8.2.3, 5.11.0-17-generic, x86_64: installed
from 8812au.
Okay. We are making progress. The driver that dkms is showing is the driver from here. That is the one we want. It will work.
There is another driver, 88XXau, that is loading and causing problems. It wasn't installed with dkms so we need to know what driver that is and how to uninstall it. Since I am not a mind reader, the ball is back in your court. How did you install 88XXau?
from 8812au.
@morrownr lsmod
Module Size Used by
nls_iso8859_1 16384 1
input_leds 16384 0
joydev 28672 0
snd_hda_codec_via 20480 1
snd_hda_codec_generic 81920 1 snd_hda_codec_via
ledtrig_audio 16384 1 snd_hda_codec_generic
snd_hda_codec_hdmi 65536 1
snd_hda_intel 53248 3
snd_intel_dspcfg 28672 1 snd_hda_intel
soundwire_intel 40960 1 snd_intel_dspcfg
soundwire_generic_allocation 16384 1 soundwire_intel
soundwire_cadence 32768 1 soundwire_intel
snd_hda_codec 147456 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_via
snd_hda_core 94208 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_via
snd_hwdep 16384 1 snd_hda_codec
soundwire_bus 77824 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
snd_soc_core 294912 1 soundwire_intel
hid_generic 16384 0
intel_rapl_msr 20480 0
snd_compress 28672 1 snd_soc_core
intel_rapl_common 28672 1 intel_rapl_msr
ac97_bus 16384 1 snd_soc_core
nouveau 2023424 15
usbhid 61440 0
snd_pcm_dmaengine 16384 1 snd_soc_core
hid 135168 2 usbhid,hid_generic
snd_pcm 118784 8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
x86_pkg_temp_thermal 20480 0
intel_powerclamp 20480 0
mxm_wmi 16384 1 nouveau
drm_ttm_helper 16384 1 nouveau
snd_seq_midi 20480 0
coretemp 20480 0
ttm 73728 2 drm_ttm_helper,nouveau
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 36864 1 snd_seq_midi
kvm_intel 286720 0
drm_kms_helper 245760 1 nouveau
snd_seq 73728 2 snd_seq_midi,snd_seq_midi_event
cec 53248 1 drm_kms_helper
rc_core 57344 1 cec
snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
kvm 835584 1 kvm_intel
i2c_algo_bit 16384 1 nouveau
fb_sys_fops 16384 1 drm_kms_helper
syscopyarea 16384 1 drm_kms_helper
snd_timer 40960 2 snd_seq,snd_pcm
sysfillrect 16384 1 drm_kms_helper
sysimgblt 16384 1 drm_kms_helper
crct10dif_pclmul 16384 1
snd 94208 19 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,snd_hda_codec_via,snd_soc_core,snd_pcm,snd_rawmidi
at24 24576 0
ghash_clmulni_intel 16384 0
aesni_intel 372736 0
crypto_simd 16384 1 aesni_intel
cryptd 24576 2 crypto_simd,ghash_clmulni_intel
soundcore 16384 1 snd
glue_helper 16384 1 aesni_intel
eeepc_wmi 16384 0
rapl 20480 0
asus_wmi 40960 1 eeepc_wmi
sparse_keymap 16384 1 asus_wmi
8821au 1957888 0
intel_cstate 20480 0
wmi_bmof 16384 0
efi_pstore 16384 0
mac_hid 16384 0
cfg80211 892928 1 8821au
sch_fq_codel 20480 2
msr 16384 0
parport_pc 45056 0
ppdev 24576 0
lp 20480 0
parport 65536 3 parport_pc,lp,ppdev
drm 552960 10 drm_kms_helper,drm_ttm_helper,ttm,nouveau
ip_tables 32768 0
x_tables 49152 1 ip_tables
autofs4 45056 2
crc32_pclmul 16384 0
r8169 94208 0
ahci 40960 2
i2c_i801 32768 0
libahci 36864 1 ahci
lpc_ich 24576 0
i2c_smbus 20480 1 i2c_i801
realtek 28672 1
wmi 32768 4 asus_wmi,wmi_bmof,mxm_wmi,nouveau
video 49152 2 asus_wmi,nouveau
from 8812au.
@morrownr Not solved. I came to think that the problem may be with my ubuntu 21.04 installation. But I am not available to reinstall now. In addition to what would mess with GRUB2 which is very correct and linked to ubuntu 20.10 and Open Core (hackintosh BS 11.1)****
from 8812au.
That extra usb wifi driver seems to be gone. Still no wifi?
Have you tried moving the adapter to another usb port?
What does ( $ iw dev ) say?
You might be better off checking on the Ubuntu forums with installation issues.
from 8812au.
@morrownr iw dev
phy#0
Interface wlxd03745db188a
ifindex 3
wdev 0x1
addr d0:37:45:db:18:8a
type managed
txpower 12.00 dBm
- Have you tried moving the adapter to another usb port?
Yes
In ubuntu 20.10 it's works, ok
from 8812au.
You have a wifi interface. So... what's the problem?
from 8812au.
@morrownr I don't have pablo ssid. Look photo below from ubuntu 20.10.
from 8812au.
Okay but have you selected it and put in the passphrase? It doesn't happen automatically until you have used it once.
from 8812au.
@morrownr passphrase? It's not possible. Both via cli command and via gui command (dashboard)
from 8812au.
So... what could cause this?
The driver is installed properly and you have a wifi interface. Let's try these:
$ sudo iw reg get
$ sudo rfkill unblock wlan
from 8812au.
from 8812au.
Go to the main page of this repo and scroll down to the following section:
Set regulatory domain to correct setting in OS
Read it, do it and reboot.
from 8812au.
@morrownr not solved yet with commands sudo iw reg set BR and
sudo nano /etc/default/crda (REGDOMAIN=BR) and restart PC.
Do you have good knowledge of NetworkManager?
from 8812au.
My knowledge of Network Manager is not that high. I spend a lot of my time in distros that don't use it... like RasPiOS.
I like to solve problems but this one is probably to the point where posting in...
...in the Networking and Wireless forum is going to get better results.
What I know is that the driver is loading and a wifi network interface is being created. Why network manager is not finding your ap is unknown.
from 8812au.
@morrownr https://askubuntu.com/questions/1341262/dongle-wifi-tp-link-ac600-archer-t2u-8811au-not-working-in-ubuntu-21-04
from 8812au.
Quote:
lsmod
8821au 1957888 0 cfg80211 892928 2 8821au,88XXau
Reply: That 88XXau is still installed and is probably causing problems because that driver includes support for 8811au. The Aircrack driver has drivers for multiple chipsets in one driver. The drivers here don't do that.
I thought we got that 88XXau uninstalled. I am confused.
from 8812au.
@morrownr
neuberfran@ubuntu2104:$ sudo rmmod 88XXau$ lsmod 88XXau
[sudo] senha para neuberfran:
neuberfran@ubuntu2104:
Usage: lsmod
neuberfran@ubuntu2104:$ dkms status$ ls /usr/src
Error! Could not locate dkms.conf file.
File: /var/lib/dkms/rtl8821au/5.8.2.3/source/dkms.conf does not exist.
neuberfran@ubuntu2104:
linux-headers-5.11.0-16 linux-headers-5.11.0-16-generic linux-headers-5.11.0-17 linux-headers-5.11.0-17-generic
ls /lib/modules
5.11.0-16-generic 5.11.0-17-generi
from 8812au.
@morrownr Whenever I restart the PC the 88XXau appears again
from 8812au.
88XXau appears again because it is not being uninstalled.
Let's see the results of the following again:
$ sudo dkms status
FWIW: This thread is a great example of the problems that Linux users have with Realtek chipset based USB WiFi adapters. Good alternatives are available:
https://github.com/morrownr/USB-WiFi
from 8812au.
@morrownr sudo dkms status
[sudo] senha para neuberfran:
sudo: dkms: not found command
I deleted things manually. Including dkms. I want to start 8821au again. But first, I need to clean up 88XXau and the 8821au itself from the lsmod list. But I can't do it now. I don't know why
from 8812au.
@morrownr sudo dmesg |grep core
I have good news and bad news. The good thing is that (as per the photo of the sudo dmesg |grep core command) I only have the 8821au module installed now. I managed to uninstall them all. The bad thing is that I still have no wifi and no wlan0.
https://forums.linuxmint.com/viewtopic.php?t=335444
https://www.oueta.com/linux/how-to-connect-to-a-wi-fi-network-via-command-line-in-linux/
from 8812au.
I do enjoy solving a good mystery but I think it is time to step back and assess the situation. At this point, if I were in your shoes, I would save my important documents to an external drive and do a fresh clean installation of Ubuntu 21.04. There are a couple of ways to get the Ubuntu installer to format the installation partition during installation.
I think earlier in this thread I mentioned that sudo is a weapon of mass destruction. Well, it is. I think the current situation should just be written off as a learning experience and a fresh start is what is called for.
Something else to discuss while looking at the situation. I work on these Realtek driver as a way to help my fellow Linux users. That does not mean that I like how Realtek does it. I think the way Realtek does their usb wifi support for Linux is terrible. I also have and use usb wifi adapters that use Mediatek and Atheros chipsets. The drivers for these adapters are maintained in the kernel and are Linux Wireless standards compliant. Using Mediatek chipset based adapters on Linux is like a breathe of fresh air. I also maintain a repo with information about adapters that work with in-kernel drivers.
https://github.com/morrownr/USB-WiFi
I invite you to take a look. There are currently 69 links to adapters that "just work."
from 8812au.
You need to learn more about networkmanager
from 8812au.
I agree but there are a lot of things I need to learn more about and I am working on them. Has knowledge about Network Manager fixed this problem?
from 8812au.
@morrownr no yet bro, sorry
from 8812au.
Status?
from 8812au.
Related Issues (20)
- Kali 2020.4 USB3.0 and High power does not work๏ผ HOT 3
- 802.1x dynamic VLANs HOT 6
- (solved) Aircrack-Ng segmentation fault and crash HOT 2
- (solved) Dunno what happened but Im getting weird TX Values on Raspbian managed mode HOT 11
- (solved) Problem with kernel 5.4.83-v7l+ on RPi HOT 16
- (in progress) Could not locate dkms.conf file HOT 4
- (solved) kernel version 5.10.0 HOT 2
- (solved) Error! Could not locate dkms.conf file. File: does not exist. HOT 4
- Original Realtek 5.9.3.2 driver HOT 2
- (solved) unstable driver with last kernel in kali x86 HOT 6
- (in-progress) Driver doesn't seem to support B.A.T.M.A.N adv setup HOT 3
- (in-progress) Installation issue: An error occurred. dkms build error = 10 HOT 4
- (in-progress) Access Point: Clinets do not get an IP address HOT 11
- Some thoughts on Kernel 5.10
- Injection not functional on 5ghz HOT 5
- Please do not post issues in this repo. Please see README for a link to the proper repo.
- Where to find old versions? HOT 16
- . HOT 2
- Info: Running **hostapd**, Access Point, with this driver... HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 8812au.