5Ghz Wifi speed slow using nmcli

I have internet connection of 100mbps, using 5Ghz wifi.
but my PC internet speed is stuck at 4-5mbps.
GitHub - MROvaiz/nixbin Using nixos, this is my config.
Please help me with this as I’m not sure what to check!
image

[mro@nixbin:~]$ lspci -k
00:00.0 Host bridge: Intel Corporation Device a704 (rev 01)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7e01
00:01.0 PCI bridge: Intel Corporation Device a70d (rev 01)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7e01
	Kernel driver in use: pcieport
00:02.0 Display controller: Intel Corporation Raptor Lake-S GT1 [UHD Graphics 770] (rev 04)
	DeviceName: Onboard - Video
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7e01
	Kernel driver in use: i915
	Kernel modules: i915
00:06.0 PCI bridge: Intel Corporation Raptor Lake PCIe 4.0 Graphics Port (rev 01)
	Kernel driver in use: pcieport
00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module (rev 01)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7e01
00:0a.0 Signal processing controller: Intel Corporation Raptor Lake Crashlog and Telemetry (rev 01)
	DeviceName: Onboard - Other
	Kernel driver in use: intel_vsec
	Kernel modules: intel_vsec
00:14.0 USB controller: Intel Corporation Device 7a60 (rev 11)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7e01
	Kernel driver in use: xhci_hcd
	Kernel modules: mei_me, xhci_pci
00:14.2 RAM memory: Intel Corporation Device 7a27 (rev 11)
	DeviceName: Onboard - Other
00:14.3 Network controller: Intel Corporation Device 7a70 (rev 11)
	DeviceName: Onboard - Ethernet
	Subsystem: Intel Corporation Device 0094
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
00:16.0 Communication controller: Intel Corporation Device 7a68 (rev 11)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7e01
	Kernel driver in use: mei_me
	Kernel modules: mei_me
00:17.0 SATA controller: Intel Corporation Device 7a62 (rev 11)
	DeviceName: Onboard - SATA
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7e01
	Kernel driver in use: ahci
	Kernel modules: ahci
00:1c.0 PCI bridge: Intel Corporation Device 7a38 (rev 11)
	Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation Device 7a39 (rev 11)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7e01
	Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device 7a06 (rev 11)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7e01
00:1f.3 Audio device: Intel Corporation Device 7a50 (rev 11)
	DeviceName: Onboard - Sound
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device ee01
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
00:1f.4 SMBus: Intel Corporation Device 7a23 (rev 11)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7e01
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
00:1f.5 Serial bus controller: Intel Corporation Device 7a24 (rev 11)
	DeviceName: Onboard - Other
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7e01
	Kernel driver in use: intel-spi
	Kernel modules: spi_intel_pci
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev 11)
	Kernel driver in use: pcieport
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch (rev 11)
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
	Kernel driver in use: pcieport
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 747e (rev c8)
	Subsystem: Sapphire Technology Limited Device d475
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 HDMI/DP Audio
	Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 HDMI/DP Audio
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
04:00.0 Non-Volatile memory controller: ADATA Technology Co., Ltd. Device 5370 (rev 01)
	Subsystem: ADATA Technology Co., Ltd. Device 5370
	Kernel driver in use: nvme
	Kernel modules: nvme
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
	Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7e01
	Kernel driver in use: r8169
	Kernel modules: r8169

Hey, welcome to NixOS discourse!

Did you check whether your network speed independent of your internet connection is okay?

2 Likes

you mean, in router one device connected? then yes.
please tell me if its different

1 Like

I mean if you transfer data over wifi internally between systems on the same network, what speed do you get? A controlled way to check is iperf but that requires some setup. An easy way would be just to copy a big file from your wifi machine to another machine.

3 Likes

I’m sorry i dont know how to use this.

No problem :slight_smile: basically in your situation you have to make a checklist and try to eliminate all potential causes of your problem. The thing that remains is most likely the cause. So the cause could be

  • some software config on your system using the wifi
  • your hardware wifi card / wifi adapter / wifi antenna
  • your router’s wifi
  • your router’s connection to the internet
  • something on the end of your internet service provider

basically you have to trail and error your way through it.

Do you have another device with 5Ghz wifi? Did you run an internet speedtest on that one?

2 Likes
  1. not sure which config is effecting.
  2. wifi antenna is correct.
  3. router also works with different device.
  4. able to access internet from different device with proper speed
  5. no issues from provider.

i checked with my work laptop ubuntu, 5ghz and works fine.

That’s interesting. So that would point to some potential issue with NixOS.

To confirm that, the next thing I would try is boot your NixOS machine into Fedora 39 from a USB drive and test how the wifi behaves. So same machine that has the problem, just boot into the most recent Fedora via USB flash drive and try it out.

1 Like

I’m trying with nixos graphical iso latest gnome.

the comparison between NixOS and some other distro would be the key thing here. Let us know what the results are. But I might not respond today, due to time constraints.

1 Like

I found the issue, but no solution for this.
My router, My PC and My Mobile are not cooperating with each other.

tested with this conditions and doesn’t work:
my router to my pc speed slow.
my router to my mobile speed slow.
That is my router to my mobile to my pc speed slow.

when it works is:
my router to any of my families mobile to my pc good speed.

I’m not sure what is causing it, but this is only way it works.
My mobile and my PC is the problem, how else can i narrow down the problem to potential fix?

that is strange, yes. It might be an issue with the router. Because the signal quality is good, right?

If you have that available, you might try setting up a second wireless access point and connect that to the router via RJ45 and then use that for your devices.

That might also works.
But can’t buy additional device, I’m thinking to get lan cable instead.
I will also switch the internet provider, stuck with 5 more months plan.
Thank you

You’re welcome! :smile: Hope you find a solution.

what software is featured in this picture?

btop

1 Like

There was a new Linux kernel release recently to help deal with WiFi issues in 6.6.5. This caused someone I know to have really slow WiFi. I don’t know how to help beyond that but it may be somewhere to start looking. Linux 6.6.6 Released Due To WiFi Regression - Phoronix