You are not logged in.

#1 2024-05-10 21:37:21

dulhaver
Member
Registered: 2023-08-17
Posts: 14

issue with TP-Link (Realtek RTL8811AU) USB wireless adapter

I have an issue with getting an TP-Link USB Wifi Adapter working on a Latitude Laptop.
I want to get this running, because the builtin WLAN card does apparently only support 2.4 GHz wireless connections.

here some facts to illustrate the situation

❯ lsusb | grep TP-Link
Bus 003 Device 002: ID 2357:011e TP-Link AC600 wireless Realtek RTL8811AU [Archer T2U Nano]
❯ nmcli -f DEVICE,TYPE,STATE dev status
DEVICE        TYPE      STATE                  
wlp2s0b1      wifi      connected              
incusbr0      bridge    connected (externally) 
lo            loopback  connected (externally) 
eno1          ethernet  unavailable      
wlp0s20u2     wifi      unavailable            
veth4e584ff8  ethernet  unmanaged
❯ sudo lshw -C network
  *-network                 
       description: Ethernet interface
       product: 82579LM Gigabit Network Connection (Lewisville)
       vendor: Intel Corporation
       physical id: 19
       bus info: pci@0000:00:19.0
       logical name: eno1
       version: 04
       serial: ec:f4:bb:58:7c:ce
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=6.6.30-1-lts firmware=0.13-3 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:29 memory:f7e00000-f7e1ffff memory:f7e39000-f7e39fff ioport:f080(size=32)
  *-network
       description: Wireless interface
       product: BCM4313 802.11bgn Wireless Network Adapter
       vendor: Broadcom Inc. and subsidiaries
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0b1
       version: 01
       serial: b0:10:41:b3:4f:c0
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=brcmsmac driverversion=6.6.30-1-lts firmware=610.812 ip=192.168.178.21 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:17 memory:f7d00000-f7d03fff
  *-network DISABLED
       description: Wireless interface
       product: 802.11ac WLAN Adapter
       physical id: d
       bus info: usb@3:2
       logical name: wlp0s20u2
       serial: 00:e0:4c:87:00:00
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8812au driverversion=6.6.30-1-lts multicast=yes wireless=unassociated

I have installed a rtl8812au driver which apparently does not work completely yet. Or maybe it is just not close enough (8812au vs 8811au) even though at least the stick is recognized with it.

❯ lsmod | grep 8812au
8812au               1183744  0
cfg80211             1339392  4 b43,8812au,mac80211,brcmsmac

Can anybody kindly point me to where my problem may be rooted? Without being experienced really with nmcli I tried to get this running with various nmcli commands. without any success, i.e.

❯ sudo nmcli -t dev up wlp0s20u2
Error: Failed to add/activate new connection: A 'wireless' setting is required if no AP path was given.

Last edited by dulhaver (2024-05-10 21:38:46)

Offline

#2 2024-05-11 08:30:33

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,287

Re: issue with TP-Link (Realtek RTL8811AU) USB wireless adapter

rfkill
ip a

Offline

#3 2024-05-11 14:06:08

dulhaver
Member
Registered: 2023-08-17
Posts: 14

Re: issue with TP-Link (Realtek RTL8811AU) USB wireless adapter

here you go

❯ rfkill
ID TYPE      DEVICE              SOFT      HARD
 1 wlan      dell-wifi      unblocked unblocked
 2 bluetooth dell-bluetooth unblocked unblocked
 4 wlan      phy0           unblocked unblocked
 5 wlan      phy1           unblocked unblocked
 6 bluetooth hci0           unblocked unblocked
❯ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute 
       valid_lft forever preferred_lft forever
2: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether ec:f4:bb:58:7c:ce brd ff:ff:ff:ff:ff:ff
    altname enp0s25
3: wlp0s20u2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:e0:4c:87:00:00 brd ff:ff:ff:ff:ff:ff
4: wlp2s0b1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether b0:10:41:b3:4f:c0 brd ff:ff:ff:ff:ff:ff
    inet 192.168.178.21/24 brd 192.168.178.255 scope global dynamic noprefixroute wlp2s0b1
       valid_lft 862086sec preferred_lft 862086sec
    inet6 2a03:b580:aa39:a501:cc7c:e623:8a1a:4e0b/64 scope global dynamic noprefixroute 
       valid_lft 6806sec preferred_lft 3206sec
    inet6 fe80::a44:ade7:5be2:13c9/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
5: incusbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:16:3e:68:4a:0e brd ff:ff:ff:ff:ff:ff
    inet 10.18.122.1/24 scope global incusbr0
       valid_lft forever preferred_lft forever
    inet6 fd42:b46c:3361:d231::1/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::216:3eff:fe68:4a0e/64 scope link proto kernel_ll 
       valid_lft forever preferred_lft forever
7: veth90c8f9fa@if6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master incusbr0 state UP group default qlen 1000
    link/ether d6:0f:cb:a2:94:2e brd ff:ff:ff:ff:ff:ff link-netnsid 0

Offline

#4 2024-05-11 14:27:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,287

Re: issue with TP-Link (Realtek RTL8811AU) USB wireless adapter

So nothing is blocked and wlp0s20u2 certainly looks like it's your dongle - you're just not using it? (but wlp2s0b1 has a lease)
What makes you think that it " does not work completely yet"? What happens when you try to connect over it?

Offline

#5 2024-05-11 14:30:50

loqs
Member
Registered: 2014-03-06
Posts: 18,872

Re: issue with TP-Link (Realtek RTL8811AU) USB wireless adapter

❯ sudo nmcli -t dev up wlp0s20u2
Error: Failed to add/activate new connection: A 'wireless' setting is required if no AP path was given.

Is NetworkManager failing because there is no default route to the AP?

Offline

#6 2024-05-11 14:41:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,287

Re: issue with TP-Link (Realtek RTL8811AU) USB wireless adapter

Offline

Board footer

Powered by FluxBB