My TP-LINK Archer T2U Plus doesnt work

Hello, I use a TP-LINK Archer T2U Plus that works fine on my Windows 7 boot; But I couldnt make it work on my EndeavourOS KDE boot since I installed it recently.

Here is my lsusb
[~]$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 046a:0010 Cherry GmbH SmartBoard XX44
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 017: ID 2357:0138 TP-Link 802.11ac NIC
Bus 001 Device 002: ID 18f8:0f99 [Maxxter] Optical gaming mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[
~]$

My systemctl status NetworkManager

● NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/NetworkManager.service.d
└─NetworkManager-ovs.conf
Active: active (running) since Mon 2021-01-25 18:42:18 CET; 3h 33min ago
Docs: man:NetworkManager(8)
Main PID: 560 (NetworkManager)
Tasks: 3 (limit: 9447)
Memory: 15.8M
CGroup: /system.slice/NetworkManager.service
└─560 /usr/bin/NetworkManager --no-daemon

ene 25 21:03:38 ******* NetworkManager[560]: [1611605018.6190] policy: set ‘WIFI-A65C’ (wlan0) as default for IPv4 routing and DNS
ene 25 21:03:38 ******** NetworkManager[560]: [1611605018.6193] dns-mgr: Writing DNS information to /usr/bin/resolvconf
ene 25 21:03:38 ******** NetworkManager[560]: [1611605018.6619] device (wlan0): Activation: successful, device activated.
ene 25 21:03:38 ******* NetworkManager[560]: [1611605018.8791] manager: NetworkManager state is now CONNECTED_GLOBAL
ene 25 22:08:01 ******** NetworkManager[560]: [1611608881.5862] device (wlan0): state change: activated → unmanaged (reason ‘removed’, sys-iface-state>
ene 25 22:08:01 ******** NetworkManager[560]: [1611608881.6048] dhcp4 (wlan0): canceled DHCP transaction
ene 25 22:08:01 ********** NetworkManager[560]: [1611608881.6049] dhcp4 (wlan0): state changed bound → done
ene 25 22:08:01 ******** NetworkManager[560]: [1611608881.6269] dns-mgr: Removing DNS information from /usr/bin/resolvconf
ene 25 22:08:01 ******** NetworkManager[560]: [1611608881.6683] manager: NetworkManager state is now DISCONNECTED
ene 25 22:08:01 ******* NetworkManager[560]: [1611608881.6721] radio killswitch /sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-2/1-2:1.0/iee>
lines 1-22/22 (END)

My ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp9s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether 70:85:c2:3a:50:a5 brd ff:ff:ff:ff:ff:ff

And my journalctl -f when I unplug & plug my TP Link

ene 25 22:19:03 ******* kernel: usb 1-6: USB disconnect, device number 19
ene 25 22:19:09 ******* kernel: usb 1-6: new high-speed USB device number 20 using xhci_hcd
ene 25 22:19:09 ******** kernel: usb 1-6: New USB device found, idVendor=2357, idProduct=0138, bcdDevice= 2.10
ene 25 22:19:09 ******* kernel: usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
ene 25 22:19:09 ******** kernel: usb 1-6: Product: 802.11ac NIC
ene 25 22:19:09 ******** kernel: usb 1-6: Manufacturer: Realtek
ene 25 22:19:09 ******* kernel: usb 1-6: SerialNumber: 123456
ene 25 22:19:09 ******* mtp-probe[39913]: checking bus 1, device 20: “/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-6”
ene 25 22:19:09 ******* mtp-probe[39913]: bus: 1, device: 20 was not an MTP device
ene 25 22:19:10 ***** mtp-probe[39937]: checking bus 1, device 20: “/sys/devices/pci0000:00/0000:00:01.3/0000:03:00.0/usb1/1-6”
ene 25 22:19:10 ******** mtp-probe[39937]: bus: 1, device: 20 was not an MTP device

I did tried blacklist & unblacklist either (and even both) r8168 and r8169. I used rtl88xxau-aircrack too. But neither worked.
PLEASE, HELP ME.

Hello @Omixen88
With the TP-Link plugged in are you able to post your hardware output after booting into EndeavourOS with the following.

inxi -Fxxxz --no-host

Welcome to the community @Omixen88 !

1 Like

Here. If you ask the other WIFI USB (D Link Rangebooster, I think its called) is one I had before, that works for me, but its notably less powerfull than the TP Link one (In Windows 7)
EDIT: I FORGOT TO PLUG THE TP LINK. SO SORRY.

System:
  Kernel: 5.10.10-arch1-1 x86_64 bits: 64 compiler: gcc v: 10.2.1 
  Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM 
  Distro: EndeavourOS base: Arch Linux 
Machine:
  Type: Desktop Mobo: ASRock model: AB350M-HDV serial: <filter> 
  UEFI [Legacy]: American Megatrends v: P3.10 date: 07/17/2017 
CPU:
  Info: Quad Core model: AMD Ryzen 5 1400 bits: 64 type: MT MCP arch: Zen rev: 1 
  L2 cache: 2 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 51113 
  Speed: 1765 MHz min/max: 1550/3200 MHz boost: enabled Core speeds (MHz): 1: 1765 
  2: 1958 3: 2198 4: 1719 5: 1374 6: 1375 7: 1375 8: 1375 
Graphics:
  Device-1: AMD Baffin [Radeon RX 550 640SP / RX 560/560X] 
  vendor: Sapphire Limited driver: amdgpu v: kernel bus ID: 0a:00.0 
  chip ID: 1002:67ff 
  Display: x11 server: X.org 1.20.10 compositor: kwin_x11 driver: 
  loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa 
  resolution: <missing: xdpyinfo> 
  OpenGL: 
  renderer: Radeon RX 560 Series (POLARIS11 DRM 3.40.0 5.10.10-arch1-1 LLVM 11.0.1) 
  v: 4.6 Mesa 20.3.3 direct render: Yes 
Audio:
  Device-1: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / RX 560/560X] 
  vendor: Sapphire Limited driver: snd_hda_intel v: kernel bus ID: 0a:00.1 
  chip ID: 1002:aae0 
  Device-2: AMD Family 17h HD Audio vendor: ASRock driver: snd_hda_intel v: kernel 
  bus ID: 12:00.3 chip ID: 1022:1457 
  Sound Server: ALSA v: k5.10.10-arch1-1 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock 
  driver: r8169 v: kernel port: f000 bus ID: 09:00.0 chip ID: 10ec:8168 
  IF: enp9s0 state: down mac: <filter> 
  Device-2: TP-Link 802.11ac NIC type: USB driver: usb-network bus ID: 1-2:24 
  chip ID: 2357:0138 serial: <filter> 
  Device-3: D-Link System DWA-140 RangeBooster N Adapter(rev.B1) [Ralink RT2870] 
  type: USB driver: rt2800usb bus ID: 1-6:23 chip ID: 07d1:3c09 serial: <filter> 
  IF: wlan0 state: up mac: <filter> 
Drives:
  Local Storage: total: 2.62 TiB used: 1.17 TiB (44.7%) 
  ID-1: /dev/sda vendor: Seagate model: ST2000DM006-2DM164 size: 1.82 TiB 
  speed: 6.0 Gb/s serial: <filter> rev: CC26 
  ID-2: /dev/sdb vendor: Western Digital model: WD6400AAKS-65Z7B0 size: 596.17 GiB 
  speed: 3.0 Gb/s serial: <filter> rev: 3B01 
  ID-3: /dev/sdc vendor: Kingston model: SA400S37240G size: 223.57 GiB 
  speed: 6.0 Gb/s serial: <filter> rev: J4.3 
Partition:
  ID-1: / size: 577.15 GiB used: 444.65 GiB (77.0%) fs: ext4 dev: /dev/sdb1 
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 15.3 MiB (0.2%) priority: -2 
  dev: /dev/sdb2 
Sensors:
  System Temperatures: cpu: 43.6 C mobo: N/A gpu: amdgpu temp: 38.0 C 
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 948 
Info:
  Processes: 259 Uptime: 4h 15m wakeups: 0 Memory: 7.76 GiB used: 2.83 GiB (36.4%) 
  Init: systemd v: 247 Compilers: gcc: 10.2.0 clang: 11.0.1 Packages: pacman: 1373 
  Shell: Bash v: 5.1.4 running in: konsole inxi: 3.2.02

Changed to be more readable / @manuel.

When you post the output it best to encapsulate it with ``` before and after so it is easier to read. This is a Ralink RT2870 which uses the rt2800usb kernel module. So it should load when it boots. May need to blacklist some modules.

what does lsmod show

Module                  Size  Used by
wl                   6467584  0
88XXau               2043904  0
ccm                    20480  6
rt2800usb              28672  0
rt2x00usb              28672  1 rt2800usb
rt2800lib             139264  1 rt2800usb
rt2x00lib              90112  3 rt2800usb,rt2x00usb,rt2800lib
mac80211             1110016  3 rt2x00lib,rt2x00usb,rt2800lib
libarc4                16384  1 mac80211
cfg80211              987136  4 wl,rt2x00lib,mac80211,88XXau
rfkill                 28672  5 cfg80211
joydev                 28672  0
mousedev               24576  0
usbhid                 65536  0
snd_hda_codec_realtek   143360  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     73728  1
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_intel          57344  7
snd_intel_dspcfg       24576  1 snd_hda_intel
soundwire_intel        45056  1 snd_intel_dspcfg
soundwire_generic_allocation    16384  1 soundwire_intel
soundwire_cadence      36864  1 soundwire_intel
snd_hda_codec         172032  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core          106496  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
edac_mce_amd           32768  0
amdgpu               6578176  36
kvm_amd               114688  0
snd_hwdep              16384  1 snd_hda_codec
soundwire_bus          90112  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
kvm                   933888  1 kvm_amd
snd_soc_core          323584  1 soundwire_intel
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  1
snd_compress           32768  1 snd_soc_core
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
ac97_bus               16384  1 snd_soc_core
snd_pcm_dmaengine      16384  1 snd_soc_core
aesni_intel           372736  4
ppdev                  24576  0
snd_pcm               147456  9 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
wmi_bmof               16384  0
mxm_wmi                16384  0
gpu_sched              45056  1 amdgpu
crypto_simd            16384  1 aesni_intel
i2c_algo_bit           16384  1 amdgpu
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
ttm                   114688  1 amdgpu
glue_helper            16384  1 aesni_intel
snd_timer              45056  2 snd_pcm
drm_kms_helper        274432  1 amdgpu
rapl                   16384  0
snd                   114688  22 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
cec                    69632  1 drm_kms_helper
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
r8168                 565248  0
soundcore              16384  1 snd
fb_sys_fops            16384  1 drm_kms_helper
ccp                   118784  1 kvm_amd
r8169                  98304  0
realtek                24576  1
mdio_devres            16384  1 r8169
rng_core               16384  1 ccp
libphy                151552  3 r8169,mdio_devres,realtek
pinctrl_amd            32768  0
parport_pc             53248  0
parport                69632  2 parport_pc,ppdev
sp5100_tco             20480  0
wmi                    36864  2 wmi_bmof,mxm_wmi
mac_hid                16384  0
k10temp                16384  0
i2c_piix4              28672  0
gpio_amdpt             20480  0
pcspkr                 16384  0
gpio_generic           20480  1 gpio_amdpt
acpi_cpufreq           28672  0
pkcs8_key_parser       16384  0
crypto_user            20480  0
fuse                  163840  5
drm                   569344  16 gpu_sched,drm_kms_helper,amdgpu,ttm
agpgart                53248  2 ttm,drm
bpf_preload            16384  0
ip_tables              32768  0
x_tables               53248  1 ip_tables
ext4                  933888  1
crc32c_generic         16384  0
crc16                  16384  1 ext4
mbcache                16384  1 ext4
jbd2                  151552  1 ext4
crc32c_intel           24576  2
sr_mod                 28672  0
cdrom                  77824  1 sr_mod
xhci_pci               20480  0
xhci_pci_renesas       20480  1 xhci_pci

Sorry,
I see you have two wifi? So the one that is working is the D-link?

Yes.

Okay that is the Ralink that uses the rt2800usb. I can’t tell what the chip is for the TP-Link? and i assume it’s not working at all?

Nope. It nevers detects any Wifi from my modem or other, and I tried multiple things, with its reboots.

I think it is a Realtek chip that might use rtl8812au? You could try the dkms version from the AUR. I would try the bottom one.

Edit: This is just a guess.

Did you not have the TP-Link plugged in when posting the hardware? maybe you can look at it again and see if it shows?

If you mean at the
inxi -Fxxxz --no-host

I edited the post.

Installed it, but no change. Maybe I should blacklist r8168/8169, or try to make the TP Link take the installed drivers (tell me how)

Did you reboot after installing it?

no, I will do it.

Nothing…

● NetworkManager.service - Network Manager
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; vendor preset: disabled)
    Drop-In: /usr/lib/systemd/system/NetworkManager.service.d
             └─NetworkManager-ovs.conf
     Active: active (running) since Mon 2021-01-25 23:33:13 CET; 3min 13s ago
       Docs: man:NetworkManager(8)
   Main PID: 565 (NetworkManager)
      Tasks: 3 (limit: 9447)
     Memory: 17.3M
     CGroup: /system.slice/NetworkManager.service
             └─565 /usr/bin/NetworkManager --no-daemon

ene 25 23:33:15 ******* NetworkManager[565]: <info>  [1611613995.1465] dhcp-init: Using DHCP client 'internal'
ene 25 23:33:15 ***** NetworkManager[565]: <info>  [1611613995.4469] settings: Loaded settings plugin: keyfile (internal)
ene 25 23:33:16 ******* NetworkManager[565]: <info>  [1611613996.0423] device (lo): carrier: link connected
ene 25 23:33:16 ******* NetworkManager[565]: <info>  [1611613996.0428] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
ene 25 23:33:16 ****** NetworkManager[565]: <info>  [1611613996.0443] manager: (enp9s0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
ene 25 23:33:16 ******* NetworkManager[565]: <info>  [1611613996.0648] settings: (enp9s0): created default wired connection 'Conexión cableada 1'
ene 25 23:33:16 ****** NetworkManager[565]: <info>  [1611613996.0655] device (enp9s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
ene 25 23:33:16 ****** NetworkManager[565]: <info>  [1611613996.4436] ovsdb: No se pudo conectar: No existe el fichero o el directorio
ene 25 23:33:22 ****** NetworkManager[565]: <info>  [1611614002.2854] manager: startup complete
ene 25 23:33:55 ****** NetworkManager[565]: <info>  [1611614035.1561] agent-manager: agent[284c6040bc44c911,:1.22/org.kde.plasma.networkmanagement/1000]: agent registered


lsmod
Module                  Size  Used by
rfkill                 28672  3
mousedev               24576  0
joydev                 28672  0
snd_hda_codec_realtek   143360  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
snd_hda_codec_hdmi     73728  1
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_intel          57344  4
snd_intel_dspcfg       24576  1 snd_hda_intel
edac_mce_amd           32768  0
kvm_amd               114688  0
kvm                   933888  1 kvm_amd
soundwire_intel        45056  1 snd_intel_dspcfg
amdgpu               6578176  22
irqbypass              16384  1 kvm
soundwire_generic_allocation    16384  1 soundwire_intel
soundwire_cadence      36864  1 soundwire_intel
crct10dif_pclmul       16384  1
snd_hda_codec         172032  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
crc32_pclmul           16384  0
snd_hda_core          106496  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
ghash_clmulni_intel    16384  0
aesni_intel           372736  0
snd_hwdep              16384  1 snd_hda_codec
soundwire_bus          90112  3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
ppdev                  24576  0
crypto_simd            16384  1 aesni_intel
snd_soc_core          323584  1 soundwire_intel
wmi_bmof               16384  0
mxm_wmi                16384  0
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
glue_helper            16384  1 aesni_intel
gpu_sched              45056  1 amdgpu
r8168                 565248  0
snd_compress           32768  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
i2c_algo_bit           16384  1 amdgpu
snd_pcm_dmaengine      16384  1 snd_soc_core
rapl                   16384  0
snd_pcm               147456  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
ttm                   114688  1 amdgpu
ccp                   118784  1 kvm_amd
drm_kms_helper        274432  1 amdgpu
r8169                  98304  0
snd_timer              45056  1 snd_pcm
cec                    69632  1 drm_kms_helper
snd                   114688  18 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
soundcore              16384  1 snd
realtek                24576  1
fb_sys_fops            16384  1 drm_kms_helper
mdio_devres            16384  1 r8169
libphy                151552  3 r8169,mdio_devres,realtek
sp5100_tco             20480  0
rng_core               16384  1 ccp
mac_hid                16384  0
parport_pc             53248  0
parport                69632  2 parport_pc,ppdev
k10temp                16384  0
i2c_piix4              28672  0
pinctrl_amd            32768  0
wmi                    36864  2 wmi_bmof,mxm_wmi
pcspkr                 16384  0
gpio_amdpt             20480  0
gpio_generic           20480  1 gpio_amdpt
acpi_cpufreq           28672  0
pkcs8_key_parser       16384  0
crypto_user            20480  0
fuse                  163840  3
drm                   569344  10 gpu_sched,drm_kms_helper,amdgpu,ttm
agpgart                53248  2 ttm,drm
bpf_preload            16384  0
ip_tables              32768  0
x_tables               53248  1 ip_tables
usbhid                 65536  0
ext4                  933888  1
crc32c_generic         16384  0
crc16                  16384  1 ext4
mbcache                16384  1 ext4
jbd2                  151552  1 ext4
crc32c_intel           24576  2
sr_mod                 28672  0
cdrom                  77824  1 sr_mod
xhci_pci               20480  0
xhci_pci_renesas       20480  1 xhci_pci

ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp9s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 70:85:c2:3a:50:a5 brd ff:ff:ff:ff:ff:ff

You can try uninstalling the r8168 package.

sudo pacman -R r8168

Edit: are you also able to remove the AUR package you tried?

“Couldnt be find” So I possibly deleted it before.

If you installed rtl8812au… as @ricklinux hinted, you could then try to blacklist rtl8xxxu and reboot.

  • blacklist module
    sudo nano /etc/modprobe.d/rtl8xxxu.conf
# Do not load the 'rtl8xxxu' module on boot.
blacklist rtl8xxxu