Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

[SOLVED] Lost Connection w/ TP-Link Archer T3U USB Dongle

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
Cruslan
n00b
n00b
Posts: 39
Joined: Sat Jan 06, 2024 4:35 am

[SOLVED] Lost Connection w/ TP-Link Archer T3U USB Dongle

  • Quote

Post by Cruslan » Tue Feb 06, 2024 4:10 am

Hello. I began using Gentoo over two months. I loved Gentoo due its flexible nature. I have TP-Link's Archer T3U USB Wi-Fi dongle that uses Realtek's RTL8822BU chip. I have frequent lost connection problem in this dongle. Wi-Fi connection loses by every one minute period by 2-3 seconds, it reconnects and loses again one minute. Its unnoticable while casual web usage but while in live conditions such as gaming or video conference it makes experince awful. I am not sure why it happens. I tried bunch of combinations Network Managers and Authentication Managers but none of them solves issue. Network Manager with wpa-supplicant has least issues in my fixing attempts. I mixed with Network Manager and iwd but i can't connect any Wi-Fi source or just dhcpcd with wpa-supplicant but connection problem still persists. I ran of my ideas about what can cause issue or how i can fix it. If you need any output, please tell me that. I am not sure which output should required.

I am using 6.7.3 kernel compiled with Genkernel. 1000 Hz, AMD P-state, Nuvoton 6683D Hardware Monitor for fans, RTL8822BU driver included in linux-firmware selected by hand
I use SystemD as init system and KDE Plasma as Desktop Environment
I have NetworkManager with wpa-supplicant

My computer is Desktop form, its specs are;
AMD Ryzen R5 5600,
16 GB 2x8 form 3600 MT/s RAM,
Sapphire Pulse AMD Radeon RX 6700 XT GPU,
ADATA's Legend 700 500 GB PCI-e SSD,
MSI B550-A Pro motherboard with 2023-November BIOS,

dmesg output about issue;

Code: Select all

...
[ 3749.063343] rtw_8822bu 1-2.4:1.0: timed out to flush queue 1
[ 3749.173346] rtw_8822bu 1-2.4:1.0: timed out to flush queue 1
...
[ 3823.802966] wlan0: authenticate with <mac-adress> (local address=<mac-adress>)
[ 3823.868389] wlan0: send auth to <mac-adress> (try 1/3)
[ 3823.869661] wlan0: authenticated
[ 3823.870248] wlan0: associate with <mac-adress> (try 1/3)
[ 3823.871376] wlan0: RX AssocResp from <mac-adress> (capab=0x11 status=0 aid=2)
[ 3823.875798] wlan0: associated
[ 3823.906549] wlan0: Limiting TX power to 0 (-128 - 0) dBm as advertised by <mac-adress>
[ 3884.078965] wlan0: deauthenticating from <mac-adress> by local choice (Reason: 3=DEAUTH_LEAVING)
[ 3889.337275] wlan0: authenticate with <mac-adress>(local address=<mac-adress>)
[ 3889.403171] wlan0: send auth to <mac-adress> (try 1/3)
[ 3889.404439] wlan0: authenticated
[ 3889.405026] wlan0: associate with <mac-adress> (try 1/3)
[ 3889.406215] wlan0: RX AssocResp from <mac-adress> (capab=0x11 status=0 aid=2)
[ 3889.410638] wlan0: associated
[ 3889.443028] wlan0: Limiting TX power to 0 (-128 - 0) dBm as advertised by <mac-adress>
...
Top
spica
Guru
Guru
Posts: 382
Joined: Fri Jun 04, 2021 6:12 pm

  • Quote

Post by spica » Tue Feb 06, 2024 6:34 am

show lsusb so people can see devid and vendorid

I run this driver https://github.com/RinCat/RTL88x2BU-Linux-Driver It works with current lts 6.6.13. Will it work with 6.7 – idk.

Before trying this driver, you must ensure your device's devid and vendorid are present here https://github.com/RinCat/RTL88x2BU-Lin ... usb_intf.c If not then the driver will not work.
Top
Cruslan
n00b
n00b
Posts: 39
Joined: Sat Jan 06, 2024 4:35 am

  • Quote

Post by Cruslan » Tue Feb 06, 2024 7:16 am

Here it is, lsusb output;

Code: Select all

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 003: ID 0c45:7643 Microdia Gaming Mouse
Bus 001 Device 005: ID 045e:0750 Microsoft Corp. Wired Keyboard 600
Bus 001 Device 007: ID 1462:7c56 Micro Star International MYSTIC LIGHT 
Bus 001 Device 009: ID 2357:0604 TP-Link TP-Nmnk UB500 Adapter
Bus 001 Device 010: ID 2357:012d TP-Link Archer T3U [Realtek RTL8812BU]
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 04e8:a051 Samsung Electronics Co., Ltd USBC Headset
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Also my device present in code. I compiled it, blocked linux-firmware variant and it works, sort of. It shows some 2.4 GHz and 5 GHz access points but not mine. When changed 2.4 GHz it can connect, while in 5 GHz it wont. I believe its sort of problem by country's standarts. I will dig more.
Top
Cruslan
n00b
n00b
Posts: 39
Joined: Sat Jan 06, 2024 4:35 am

  • Quote

Post by Cruslan » Fri Mar 22, 2024 2:07 am

I finally found a solution for my problem. I am still using linux-firmware included driver. Create a blank file with .conf suffix to /etc/modprobe.d and add this line in file, after that restart your device:

Code: Select all

options cfg80211 ieee80211_regdom=CA
This solution comes from this article, there is other options available if you encounter with different brand of Wi-Fi devices; viewtopic-p-7451652.html
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic