I run Ubuntu 24.04, I switched from Windows because i got pissed off at a multi billion dollar company that cannot make a proper update. Anyways, I have a TP Link, I tried every driver I could find on GitHub, but nothing worked, I reset the NetworkManager multiple times after every driver install. Still nothing. I found people with the same problem fixed it with one driver which I downloaded and I still have the same issue. The system recognizes the adapter but it doesn't seem to communicate with the router? If anyone could help I would be thankful. Kernel version is 6.8.0.
lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 093a:2530 Pixart Imaging, Inc. Gaming Mouse
Bus 001 Device 003: ID 0d8c:0012 C-Media Electronics, Inc. USB Audio Device
Bus 001 Device 005: ID 03f0:f22a HP, Inc HP Laser MFP 135w
Bus 001 Device 006: ID 0e8d:2004 MediaTek Inc. CRT-LX1
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 258a:0049 BY Tech Gaming Keyboard
Bus 003 Device 003: ID 2357:0120 TP-Link Archer T2U PLUS [RTL8821AU]
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
EDIT: The issue was the .conf file for the driver was not configured good.
Thanks for the help, I figured the .conf was bad in the driver, I changed some values and now it's working. .conf file (I left the comments since I am new to this, they are helpful):