Hi community!
I have a problem with my USB-Wifi-Antenna (RTL8812BU), which seems to be correctly set up, but my connection is terrible; ping times > 1000ms where they should be around 20ms und a lot of connection breaks.
My computer is a desktop box without an onboard wifi chip. I can only access the net via wifi, however, so I had to get a USB solution. As the signal strength is rather weak in my office place, I chose a high gain antenna.
All my other devices do not have such wifi problems in this place (Windows Laptop, Ubuntu Laptop, Android Smartphone). And even the same machine - which is a dual boot system with Windows 10 and Manjaro KDE - has no problems accessing the net on Windows. Ping time on Windows is around 20ms, and rather close 1000ms on Linux …
So, I guess the whole setup is OK on the physical signalling level, and the hardware should be fine in itself (it’s a newly built machine). The problem must be somewhere in software. I also tried Ubuntu on the same machine, just to see if there is any difference. Same problem there…
**So, I am at the end of my knowledge with this and could use some guidance by the community. The whole debugging effort left a huge, dark knot in my brain^^ **
PS:
I am running kernel 5-10-23.1 and am using the driver from
https://github.com/morrownr/88x2bu
I installed the appropriate linux headers, therefore. I can also update my system and install packages offline via the URLs pacman gives me and wget on another machine.
Hi @tomhawk , welcome to the forum.
Could you post the output of the following terminal commands on this post?
inxi -Fazy
nmcli connection all
dmesg | grep rtl88
You can follow this post in order to provide the answers.
‘How to provide good information ’
Hope this help, regards
Hi @j8a ,
Here is what the commands give me:
inxi -Fazy:
Kernel: 5.10.23-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64
root=UUID=8300e2f2-0d2a-413a-9881-763b9ac29212 rw quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: KDE Plasma 5.21.3 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Gigabyte model: H410M S2H v: x.x serial: <filter>
UEFI: American Megatrends v: F3 date: 08/28/2020
CPU:
Info: Quad Core model: Intel Core i3-10100F bits: 64 type: MT MCP
arch: Comet Lake family: 6 model-id: A5 (165) stepping: 3 microcode: E0
cache: L2: 6 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
bogomips: 57616
Speed: 800 MHz min/max: 800/4300 MHz Core speeds (MHz): 1: 800 2: 800 3: 800
4: 800 5: 800 6: 800 7: 800 8: 800
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590]
vendor: ASUSTeK driver: amdgpu v: kernel bus-ID: 01:00.0 chip-ID: 1002:67df
class-ID: 0300
Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver:
loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa
display-ID: :0 screens: 1
Screen-1: 0 s-res: 3120x1920 s-dpi: 96 s-size: 824x507mm (32.4x20.0")
s-diag: 967mm (38.1")
Monitor-1: HDMI-A-0 res: 1920x1080 hz: 60 dpi: 82
size: 598x336mm (23.5x13.2") diag: 686mm (27")
Monitor-2: DVI-D-0 res: 1200x1920 hz: 60
OpenGL: renderer: Radeon RX 570 Series (POLARIS10 DRM 3.40.0
5.10.23-1-MANJARO LLVM 11.1.0)
v: 4.6 Mesa 20.3.4 direct render: Yes
Audio:
Device-1: Intel vendor: Gigabyte driver: snd_hda_intel v: kernel
alternate: snd_sof_pci bus-ID: 00:1f.3 chip-ID: 8086:a3f0 class-ID: 0403
Device-2: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
vendor: ASUSTeK driver: snd_hda_intel v: kernel bus-ID: 01:00.1
chip-ID: 1002:aaf0 class-ID: 0403
Sound Server-1: ALSA v: k5.10.23-1-MANJARO running: yes
Sound Server-2: JACK v: 0.125.0 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Sound Server-4: PipeWire v: 0.3.23 running: no
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Gigabyte driver: r8169 v: kernel port: 3000 bus-ID: 03:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp3s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Device-2: Realtek RTL88x2bu [AC1200 Techkey] type: USB driver: rtl88x2bu
bus-ID: 1-9:3 chip-ID: 0bda:b812 class-ID: 0000 serial: <filter>
IF: wlp0s20f0u9 state: up mac: <filter>
Drives:
Local Storage: total: 4.1 TiB used: 14.33 GiB (0.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Patriot model: Viper M.2 VPN100
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 rotation: SSD serial: <filter> rev: ECFM22.7 temp: 27.9 C
scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DM008-2FR102
size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
rotation: 7200 rpm serial: <filter> rev: 0001 scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DM008-2FR102
size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
rotation: 7200 rpm serial: <filter> rev: 0001 scheme: GPT
Partition:
ID-1: / raw-size: 238.47 GiB size: 233.67 GiB (97.99%) used: 9.19 GiB (3.9%)
fs: ext4 dev: /dev/nvme0n1p5 maj-min: 259:5
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 31.7 MiB (33.0%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 1.82 TiB size: 1.79 TiB (98.37%) used: 5.11 GiB (0.3%)
fs: ext4 dev: /dev/sda1 maj-min: 8:1
Swap:
Alert: No Swap data was found.
Sensors:
System Temperatures: cpu: 16.8 C mobo: 16.8 C gpu: amdgpu temp: 42.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 1018
Info:
Processes: 255 Uptime: 1h 19m wakeups: 0 Memory: 15.57 GiB
used: 1.94 GiB (12.5%) Init: systemd v: 247 tool: systemctl Compilers:
gcc: 10.2.0 Packages: pacman: 1216 lib: 325 flatpak: 0 Shell: Bash v: 5.1.0
running-in: konsole inxi: 3.3.03
nmcli connection (terminal didn’t like the ‘all’ parameter):
Kabelgebundene Verbindung 1 695f0d88-83a8-3f0c-ac27-e7dede2b5997 ethernet enp3s0
FRITZ!Box 6490 Cable 0637faf9-ee66-424b-9d8e-e775f11c1a58 wifi wlp0s20f0u9
(The German part is the name of the connection, so LANG=C would not translate it, meaning: cable connection 1.)
dmesg | grep rtl88:
[ 4712.383453] usbcore: registered new interface driver rtl88x2bu
[ 4712.388231] rtl88x2bu 1-9:1.0 wlp0s20f0u9: renamed from wlan0
I am currently circumventing the problem with a wifi-ethernet bridge that I build with a Pi2. The antenna solution would be great, though…
tomhawk:
RTL8812BU
Hi @tomhawk ,
Did you install the linux501-headers as suggested on the following post?
‘Driver for Archer T3U no more in AUR repo - #7 by Lolix ’
Otherwise, you can run the following terminal command in order to see what is happening on the wpa_supplicant interface.
journalctl | grep wpa_supplicant
Regards