Tp link T2E archer wifi card not working

Hi everyone! I’ve been distributing hopping and need to know how to get my wifi card to work, I’m new to Linux of any kind and this is my first distro that just feels nice, I might want to use this as a main environment over windows. But I can’t seem to get this wifi card working for the life of me,

Hello @Minideath6 and welcome :wink:

Might be related:

i have installed the kernel headers and the air crack and it hasnt worked

Then share some more information:

inxi -Fazy

Network:
Device-1: Realtek driver: N/A pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: e000 bus-ID: 21:00.0 chip-ID: 10ec:b821 class-ID: 0280
Device-2: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1 port: d000 bus-ID: 2a:00.0
chip-ID: 10ec:8125 class-ID: 0200
IF: enp42s0 state: down mac:

use formatting, click this icon in editor: </> and put the output there… also porvide output from:
mhwd-kernel -li
pacman -Qs headers
lspci

mhwd-kernel -li
Currently running: 5.15.50-1-MANJARO (linux515)
The following kernels are installed in your system:

  • linux515

pacman -Qs headers
local/acl 2.3.1-2
Access control list utilities, libraries and headers
local/libcups 1:2.4.2-3
The CUPS Printing System - client libraries and headers
local/linux-api-headers 5.17.5-2
Kernel headers sanitized for use in userspace
local/linux515-headers 5.15.50-1
Header files and scripts for building modules for Linux515 kernel
local/vulkan-headers 1:1.3.217-1 (vulkan-devel)
Vulkan header files
local/xorgproto 2022.1-1
combined X. Org X11 Protocol headers

lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
10:00.0 VGA compatible controller: NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] (rev a1)
10:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
16:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset USB 3.1 XHCI Controller
16:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset SATA Controller
16:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 500 Series Chipset Switch Upstream Port
20:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
20:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43ea
21:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b821
2a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 04)
30:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function (rev c9)
30:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
30:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
30:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
30:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
30:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller

i think you have installed the wrong driver, provide also output from:
lspci -nnk | grep -iA3 net
use formatting! </> - click this icon in editor


lspci -nnk | grep -iA3 net                                                   ✔ 
21:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b821]
        Subsystem: Realtek Semiconductor Co., Ltd. Device [10ec:b821]
2a:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 04)
    Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:7c94]
    Kernel driver in use: r8169
    Kernel modules: r8169

   ~   :heavy_check_mark:

so remove this:
pamac remove rtl88xxau-aircrack-dkms-git
install this:
pamac build rtl8821ce-dkms-git
reboot and test wifi

didn’t work i will have to continue this tomorrow

try different kernel, install the 5.10
sudo mhwd-kernel -i linux510
headers:
sudo pacman -S linux510-headers
reboot and select it in the grub menu, under advanced options

that hasnt worked either
im sorry for being of no help, i bought some cheap usb wifi thing and it works but barely, 100 kbs max

post output from:
inxi -xN

Are you sure you don’t mean T2U?

The inxi doesn’t show any wifi cards only ethernet - if it is T2U it is connected using USB and lspci will not list the card - use lsusb instead

lsusb

I have a couple of those TP-LINK Archer T2U and in my experience it does not work OOB.

I built a custom package for it - let me see if I can dig it up.

Using the provided output - specifically the device id - I did some searching - I was mistaken - the device is a pci device and seems to require special attention to get working with Linux kernel.

From a topic on AskUbuntu

It seems possible using sources from something called rtw89 which can be custom-built from AUR

As this is a dkms package - you must install the kernel headers for your active kernel as part of the process to get it running.

1 Like