Looking for some advice troubleshooting my slow wifi connection.
I have a desktop and a raspberrypi both connected to a router via wifi.
When downloading a file from a remote server (rsync via ssh in case it’s important), raspberrypi gets about 5-5.5 MB/s, but on the PC the speed won’t go above 500 kB/s.
Things I have tried without any noticeable difference:
- Switching from
wpa_supplicant
toiwd
- Using 2.4Ghz instead of 5Ghz on the PC (pi uses 2.4GHz)
- Fiddling with iwlwifi settings:
cat /etc/modprobe.d/iwlwifi.conf
options iwlwifi swcrypto=1 11n_disable=1 bt_coex_active=0
Anything else I can check to troubleshoot this?
inxi -N
Network:
Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8168
lshw -C network
*-network
description: Wireless interface
product: Dual Band Wireless-AC 3168NGW [Stone Peak]
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:29:00.0
logical name: wlan0
version: 10
serial: 9c:29:76:c1:cf:32
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=6.1.25-1-MANJARO firmware=29.198743027.0 3168-29.ucode ip=192.168.1.77 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:82 memory:fc600000-fc601fff
inxi -Fazy
System:
Kernel: 6.1.25-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
root=UUID=41842a12-6b2a-4b25-b1af-237f1d287cf0 rw quiet apparmor=1
security=apparmor udev.log_priority=3
Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: B550M PRO-VDH WIFI (MS-7C95) v: 1.0
serial: <superuser required> UEFI: American Megatrends LLC. v: 2.A0
date: 03/16/2022
CPU:
Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
model-id: 0x21 (33) stepping: 0 microcode: 0xA201016
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB
desc: 1x32 MiB
Speed (MHz): avg: 2727 high: 3700 min/max: 2200/4650 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 3599 2: 3700
3: 2877 4: 2200 5: 2200 6: 2200 7: 3600 8: 2200 9: 2200 10: 2876 11: 2880
12: 2200 bogomips: 88827
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GP108 [GeForce GT 1030] vendor: ASUSTeK driver: nvidia
v: 530.41.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
status: current (as of 2023-03) arch: Pascal code: GP10x process: TSMC 16nm
built: 2016-21 pcie: gen: 3 speed: 8 GT/s lanes: 4 bus-ID: 2b:00.0
chip-ID: 10de:1d01 class-ID: 0300
Display: x11 server: X.Org v: 21.1.8 compositor: kwin_x11 driver: X:
loaded: nvidia gpu: nvidia display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 92 s-size: 1060x301mm (41.73x11.85")
s-diag: 1102mm (43.38")
Monitor-1: DVI-D-0 pos: left res: 1920x1080 hz: 60 dpi: 93
size: 527x296mm (20.75x11.65") diag: 604mm (23.8") modes: N/A
Monitor-2: HDMI-0 pos: primary,right res: 1920x1080 hz: 60 dpi: 93
size: 527x296mm (20.75x11.65") diag: 604mm (23.8") modes: N/A
API: OpenGL v: 4.6.0 NVIDIA 530.41.03 renderer: NVIDIA GeForce GT
1030/PCIe/SSE2 direct-render: Yes
Audio:
Device-1: NVIDIA GP108 High Definition Audio vendor: ASUSTeK
driver: snd_hda_intel bus-ID: 3-2:3 v: kernel chip-ID: 045e:070f pcie:
class-ID: 0300 gen: 3 speed: 8 GT/s lanes: 4 bus-ID: 2b:00.1
chip-ID: 10de:0fb8 class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 2d:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: Microsoft LifeChat LX-3000 Headset type: USB
driver: hid-generic,snd-usb-audio,usbhid
API: ALSA v: k6.1.25-1-MANJARO status: kernel-api with: aoss
type: oss-emulator tools: alsamixer,amixer
Server-1: JACK v: 1.9.22 status: off tools: N/A
Server-2: PipeWire v: 0.3.70 status: off with: pipewire-media-session
status: active tools: pw-cli
Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-jack
type: module tools: pacat,pactl
Network:
Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 29:00.0
chip-ID: 8086:24fb class-ID: 0280
IF: wlan0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8168 v: 8.050.03-NAPI modules: r8169 pcie:
gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 2a:00.0
chip-ID: 10ec:8168 class-ID: 0200
IF: enp42s0 state: down mac: <filter>
Bluetooth:
Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 1-9:4 chip-ID: 8087:0aa7 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 1 state: up address: see --recommends
Drives:
Local Storage: total: 2.73 TiB used: 1.87 TiB (68.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT1000P1SSD8
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: P3CR013 temp: 30.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
type: HDD rpm: 7200 serial: <filter> rev: 0001 temp: 28.0 C
Partition:
ID-1: / raw-size: 931.01 GiB size: 915.33 GiB (98.32%)
used: 529.02 GiB (57.8%) fs: ext4 dev: /dev/nvme0n1p3 maj-min: 259:2
ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
used: 6.8 MiB (1.3%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: N/A mobo: N/A
Fan Speeds (RPM): cpu: 1082 fan-2: 0 fan-3: 1045 fan-4: 1021 fan-5: 0
fan-6: 0 fan-7: 0 fan-8: 0 fan-9: 0 fan-10: 0
Info:
Processes: 306 Uptime: 15m wakeups: 0 Memory: 31.27 GiB
used: 5.11 GiB (16.3%) Init: systemd v: 252 default: graphical
tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7 Packages: pm: pacman
pkgs: 1914 libs: 492 tools: pamac,yay pm: appimage pkgs: 0 pm: flatpak
pkgs: 0 Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.26