Slow internet and wifi

Hello everybody

I’ve been using EndeavourOS on my pc for well over a year now, and so I decided to install it also on my Lenovo laptop. Everything went smoothly, except that post-installation, I seem to be getting abysmal internet speeds over wifi. I can’t remember if this was the case on the live usb or not, as it didn’t really occur to me to check whether wifi works. I saw it connect, and I seemed to have internet, so I thought it was okay.

Nevertheless, here’s me pinging 8.8.8.8 from my laptop, connected to my router via wifi:

ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=111 time=223 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=111 time=1003 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=111 time=1003 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=111 time=816 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=111 time=52.9 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=111 time=46.6 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=111 time=1012 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=111 time=1003 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=111 time=1003 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=111 time=1003 ms
64 bytes from 8.8.8.8: icmp_seq=11 ttl=111 time=1003 ms
64 bytes from 8.8.8.8: icmp_seq=12 ttl=111 time=1003 ms
64 bytes from 8.8.8.8: icmp_seq=13 ttl=111 time=1003 ms
64 bytes from 8.8.8.8: icmp_seq=14 ttl=111 time=1003 ms
64 bytes from 8.8.8.8: icmp_seq=15 ttl=111 time=1004 ms
64 bytes from 8.8.8.8: icmp_seq=16 ttl=111 time=1004 ms
64 bytes from 8.8.8.8: icmp_seq=17 ttl=111 time=1003 ms
64 bytes from 8.8.8.8: icmp_seq=18 ttl=111 time=1003 ms
64 bytes from 8.8.8.8: icmp_seq=19 ttl=111 time=1003 ms
64 bytes from 8.8.8.8: icmp_seq=20 ttl=111 time=1002 ms
64 bytes from 8.8.8.8: icmp_seq=21 ttl=111 time=47.3 ms
64 bytes from 8.8.8.8: icmp_seq=22 ttl=111 time=52.3 ms
64 bytes from 8.8.8.8: icmp_seq=23 ttl=111 time=45.9 ms
64 bytes from 8.8.8.8: icmp_seq=24 ttl=111 time=1005 ms
^C
--- 8.8.8.8 ping statistics ---
25 packets transmitted, 24 received, 4% packet loss, time 24073ms
rtt min/avg/max/mdev = 45.873/764.525/1011.850/399.472 ms, pipe 2

And the same, done on my pc, which is connected to the same router via ethernet:

ping 8.8.8.8                                                                                                                  at 09:34:15 
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=111 time=60.5 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=111 time=57.5 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=111 time=51.4 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=111 time=45.8 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=111 time=48.9 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=111 time=69.9 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=111 time=58.2 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=111 time=54.0 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=111 time=71.4 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=111 time=59.9 ms
64 bytes from 8.8.8.8: icmp_seq=11 ttl=111 time=57.8 ms
64 bytes from 8.8.8.8: icmp_seq=12 ttl=111 time=47.4 ms
64 bytes from 8.8.8.8: icmp_seq=13 ttl=111 time=46.8 ms
64 bytes from 8.8.8.8: icmp_seq=14 ttl=111 time=44.4 ms
64 bytes from 8.8.8.8: icmp_seq=15 ttl=111 time=48.9 ms
64 bytes from 8.8.8.8: icmp_seq=16 ttl=111 time=80.0 ms
64 bytes from 8.8.8.8: icmp_seq=17 ttl=111 time=64.8 ms
64 bytes from 8.8.8.8: icmp_seq=18 ttl=111 time=49.4 ms
64 bytes from 8.8.8.8: icmp_seq=19 ttl=111 time=66.5 ms
64 bytes from 8.8.8.8: icmp_seq=20 ttl=111 time=51.0 ms
64 bytes from 8.8.8.8: icmp_seq=21 ttl=111 time=51.3 ms
64 bytes from 8.8.8.8: icmp_seq=22 ttl=111 time=45.3 ms
64 bytes from 8.8.8.8: icmp_seq=23 ttl=111 time=58.0 ms
64 bytes from 8.8.8.8: icmp_seq=24 ttl=111 time=51.9 ms
64 bytes from 8.8.8.8: icmp_seq=25 ttl=111 time=51.1 ms
64 bytes from 8.8.8.8: icmp_seq=26 ttl=111 time=45.1 ms
64 bytes from 8.8.8.8: icmp_seq=27 ttl=111 time=47.9 ms
^C
--- 8.8.8.8 ping statistics ---
27 packets transmitted, 27 received, 0% packet loss, time 26037ms
rtt min/avg/max/mdev = 44.381/55.001/79.987/8.967 ms

And so I decided to ping my router itself, which produced the normal speeds you’d expect for my pc (avg 0.4ms) and pretty fine speeds for the laptop, with a few hiccups:

ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=2.26 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=9.46 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=2.13 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=9.07 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=2.07 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=2.44 ms
64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=2.03 ms
64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=2.29 ms
64 bytes from 192.168.1.1: icmp_seq=9 ttl=64 time=1.99 ms
64 bytes from 192.168.1.1: icmp_seq=10 ttl=64 time=2.09 ms
64 bytes from 192.168.1.1: icmp_seq=11 ttl=64 time=2.18 ms
64 bytes from 192.168.1.1: icmp_seq=12 ttl=64 time=2.10 ms
64 bytes from 192.168.1.1: icmp_seq=13 ttl=64 time=2.20 ms
64 bytes from 192.168.1.1: icmp_seq=14 ttl=64 time=14.8 ms
64 bytes from 192.168.1.1: icmp_seq=15 ttl=64 time=2.14 ms
64 bytes from 192.168.1.1: icmp_seq=16 ttl=64 time=5.88 ms
64 bytes from 192.168.1.1: icmp_seq=17 ttl=64 time=33.4 ms
64 bytes from 192.168.1.1: icmp_seq=18 ttl=64 time=2.34 ms
64 bytes from 192.168.1.1: icmp_seq=19 ttl=64 time=2.35 ms
64 bytes from 192.168.1.1: icmp_seq=20 ttl=64 time=5.93 ms
64 bytes from 192.168.1.1: icmp_seq=21 ttl=64 time=1.90 ms
64 bytes from 192.168.1.1: icmp_seq=22 ttl=64 time=2.12 ms
64 bytes from 192.168.1.1: icmp_seq=23 ttl=64 time=2.02 ms
^C
--- 192.168.1.1 ping statistics ---
23 packets transmitted, 23 received, 0% packet loss, time 22033ms
rtt min/avg/max/mdev = 1.896/5.006/33.412/6.848 ms

I then decided to ping my pc from my laptop:

ping 192.168.1.101
PING 192.168.1.101 (192.168.1.101) 56(84) bytes of data.
64 bytes from 192.168.1.101: icmp_seq=1 ttl=64 time=109 ms
64 bytes from 192.168.1.101: icmp_seq=2 ttl=64 time=1.95 ms
64 bytes from 192.168.1.101: icmp_seq=3 ttl=64 time=829 ms
64 bytes from 192.168.1.101: icmp_seq=4 ttl=64 time=1.59 ms
64 bytes from 192.168.1.101: icmp_seq=5 ttl=64 time=1.75 ms
64 bytes from 192.168.1.101: icmp_seq=6 ttl=64 time=1.88 ms
64 bytes from 192.168.1.101: icmp_seq=7 ttl=64 time=2.09 ms
64 bytes from 192.168.1.101: icmp_seq=8 ttl=64 time=1.52 ms
64 bytes from 192.168.1.101: icmp_seq=9 ttl=64 time=1.54 ms
64 bytes from 192.168.1.101: icmp_seq=10 ttl=64 time=1.48 ms
64 bytes from 192.168.1.101: icmp_seq=11 ttl=64 time=1.97 ms
64 bytes from 192.168.1.101: icmp_seq=12 ttl=64 time=2.00 ms
64 bytes from 192.168.1.101: icmp_seq=13 ttl=64 time=1.95 ms
64 bytes from 192.168.1.101: icmp_seq=14 ttl=64 time=1.54 ms
64 bytes from 192.168.1.101: icmp_seq=15 ttl=64 time=1.58 ms
64 bytes from 192.168.1.101: icmp_seq=16 ttl=64 time=14.3 ms
64 bytes from 192.168.1.101: icmp_seq=17 ttl=64 time=1.47 ms
64 bytes from 192.168.1.101: icmp_seq=18 ttl=64 time=1.63 ms
64 bytes from 192.168.1.101: icmp_seq=19 ttl=64 time=1.51 ms
64 bytes from 192.168.1.101: icmp_seq=20 ttl=64 time=1.95 ms
64 bytes from 192.168.1.101: icmp_seq=21 ttl=64 time=2.24 ms
64 bytes from 192.168.1.101: icmp_seq=22 ttl=64 time=2.09 ms
^C
--- 192.168.1.101 ping statistics ---
22 packets transmitted, 22 received, 0% packet loss, time 21013ms
rtt min/avg/max/mdev = 1.472/44.814/828.873/172.548 ms

And my laptop from my Pc, which went much worse:

ping 192.168.1.107                                                                                                            at 09:21:54 
PING 192.168.1.107 (192.168.1.107) 56(84) bytes of data.
64 bytes from 192.168.1.107: icmp_seq=3 ttl=64 time=1.59 ms
64 bytes from 192.168.1.107: icmp_seq=4 ttl=64 time=1.44 ms
64 bytes from 192.168.1.107: icmp_seq=5 ttl=64 time=1.65 ms
64 bytes from 192.168.1.107: icmp_seq=6 ttl=64 time=3.05 ms
64 bytes from 192.168.1.107: icmp_seq=7 ttl=64 time=14.6 ms
64 bytes from 192.168.1.107: icmp_seq=8 ttl=64 time=5.00 ms
64 bytes from 192.168.1.107: icmp_seq=9 ttl=64 time=1.48 ms
64 bytes from 192.168.1.107: icmp_seq=12 ttl=64 time=170 ms
64 bytes from 192.168.1.107: icmp_seq=14 ttl=64 time=169 ms
64 bytes from 192.168.1.107: icmp_seq=17 ttl=64 time=175 ms
64 bytes from 192.168.1.107: icmp_seq=18 ttl=64 time=1193 ms
64 bytes from 192.168.1.107: icmp_seq=19 ttl=64 time=146 ms
64 bytes from 192.168.1.107: icmp_seq=20 ttl=64 time=1175 ms
64 bytes from 192.168.1.107: icmp_seq=21 ttl=64 time=128 ms
64 bytes from 192.168.1.107: icmp_seq=22 ttl=64 time=1160 ms
64 bytes from 192.168.1.107: icmp_seq=23 ttl=64 time=114 ms
64 bytes from 192.168.1.107: icmp_seq=24 ttl=64 time=1139 ms
64 bytes from 192.168.1.107: icmp_seq=25 ttl=64 time=93.0 ms
64 bytes from 192.168.1.107: icmp_seq=26 ttl=64 time=1122 ms
64 bytes from 192.168.1.107: icmp_seq=27 ttl=64 time=75.8 ms
64 bytes from 192.168.1.107: icmp_seq=28 ttl=64 time=1104 ms
64 bytes from 192.168.1.107: icmp_seq=29 ttl=64 time=59.7 ms
64 bytes from 192.168.1.107: icmp_seq=30 ttl=64 time=1.40 ms
64 bytes from 192.168.1.107: icmp_seq=31 ttl=64 time=1.43 ms
64 bytes from 192.168.1.107: icmp_seq=32 ttl=64 time=1.48 ms
64 bytes from 192.168.1.107: icmp_seq=33 ttl=64 time=1.81 ms
64 bytes from 192.168.1.107: icmp_seq=34 ttl=64 time=1.61 ms
^C
--- 192.168.1.107 ping statistics ---
35 packets transmitted, 27 received, 22.8571% packet loss, time 34562ms
rtt min/avg/max/mdev = 1.397/298.586/1193.118/458.533 ms, pipe 2

I noticed this first when trying to update the system, and saw that pacman couldn’t sync, so I thought maybe it was an internet issue. Weird thing is, when I connected the laptop to my phone’s hotspot instead, I got my normal internet speed without any hiccups. So, is this a router problem?

Here’s my laptop info:

System:
  Kernel: 6.18.1-arch1-2 arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
  Desktop: KDE Plasma v: 6.5.4 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 80TH v: Lenovo V110-15IKB
    serial: <superuser required> Chassis: type: 10 v: Lenovo V110-15IKB
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40697 WIN
    serial: <superuser required> part-nu: LENOVO_MT_80TH_BU_idea_FM_V110-15IKB
    Firmware: UEFI vendor: LENOVO v: 2TCN37WW date: 06/03/2020
Battery:
  ID-1: BAT0 charge: 22.3 Wh (84.9%) condition: 26.3/30.1 Wh (87.3%)
    volts: 15.66 min: 14.4 model: SANYO L15S4A02 serial: <filter> charging:
    status: discharging cycles: N/A
CPU:
  Info: dual core model: Intel Core i5-7200U bits: 64 type: MT MCP
    arch: Amber/Kaby Lake note: check rev: 9 cache: L1: 128 KiB L2: 512 KiB
    L3: 3 MiB
  Speed (MHz): avg: 800 min/max: 400/3100 cores: 1: 800 2: 800 3: 800 4: 800
    bogomips: 21599
  Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: Intel HD Graphics 620 vendor: Lenovo driver: i915 v: kernel
    arch: Gen-9.5 ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0
    chip-ID: 8086:5916
  Device-2: IMC Networks EasyCamera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 1-5:2 chip-ID: 13d3:5745
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
    compositor: kwin_wayland driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: 0
  Monitor-1: eDP-1 model: BOE Display 0x067c res: 1366x768 hz: 60 dpi: 101
    diag: 395mm (15.5")
  API: EGL v: 1.5 platforms: device: 0 drv: iris device: 1 drv: swrast gbm:
    drv: iris surfaceless: drv: iris wayland: drv: iris x11: drv: iris
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 25.3.1-arch1.2
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 620 (KBL GT2)
    device-ID: 8086:5916 display-ID: :1.0
  API: Vulkan Message: No Vulkan data available.
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3 chip-ID: 8086:9d71
  API: ALSA v: k6.18.1-arch1-2 status: kernel-api
  Server-1: PipeWire v: 1.4.9 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8821AE 802.11ac PCIe Wireless Network Adapter
    vendor: Lenovo driver: rtl8821ae v: kernel pcie: speed: 2.5 GT/s lanes: 1
    port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8821
  IF: wlan0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: c000
    bus-ID: 03:00.0 chip-ID: 10ec:8168
  IF: enp3s0 state: down mac: <filter>
Drives:
  Local Storage: total: 238.47 GiB used: 8.58 GiB (3.6%)
  ID-1: /dev/sda model: SSD 256GB size: 238.47 GiB speed: 6.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 223.04 GiB used: 8.57 GiB (3.8%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 2 GiB used: 328 KiB (0.0%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda3
Sensors:
  System Temperatures: cpu: 33.0 C pch: 28.5 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 8 GiB note: est. available: 7.45 GiB used: 1.3 GiB (17.4%)
  Processes: 165 Power: uptime: 14m wakeups: 0 Init: systemd v: 258
    default: graphical
  Packages: pm: pacman pkgs: 1050 Compilers: gcc: 15.2.1 Shell: Bash
    v: 5.3.9 running-in: konsole inxi: 3.3.40

And the bootlog from the latest boot (-b 0):
https://0x0.st/Ps83.txt