WiFi suddenly gets slow / after reconnect its fast again

Hello, i have an old Fujitsu Esprimo Q510 mini pc with Manjaro installed. Everything was running very well, but after some weeks i noticed, that my wifi connection gehts slower and slower.
Im not sure what causes this. :confused: The max connection speed drops from 40/50 mbits to 2 mbits. This seems only to affect the download, upload is always at around 10 mbits.

When i disconnect wifi and connect it again, the speed is good, but decrases with time again.

Some info:

iwconfig                                                                                        ✔ 
lo        no wireless extensions.

enp0s25   no wireless extensions.

wlp2s0    IEEE 802.11  ESSID:"MYSSID"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: F8:2F:65:5D:35:A8   
          Bit Rate=135 Mb/s   Tx-Power=16 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=50/70  Signal level=-60 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:124   Missed beacon:0

With time, the “invalid misc:” counter increases, thats all i noticed.

This should be my wifi card:

09: PCI 200.0: 0200 Ethernet controller
  SysFS ID: /devices/pci0000:00/0000:00:1c.4/0000:02:00.0
  SysFS BusID: 0000:02:00.0
  Hardware Class: network
  Model: "Intel Centrino Wireless-N 2230 BGN"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x0887 "Centrino Wireless-N 2230"
  SubVendor: pci 0x8086 "Intel Corporation"
  SubDevice: pci 0x4062 "Centrino Wireless-N 2230 BGN"
  Revision: 0xc4
  Driver: "iwlwifi"
  Driver Modules: "iwlwifi"
  Device File: wlp2s0
  Memory Range: 0xf7c00000-0xf7c01fff (rw,non-prefetchable)
  IRQ: 27 (158332 events)
  HW Address: 68:5d:43:b7:98:23
  Permanent HW Address: 68:5d:43:b7:98:23
  Link detected: yes
  Module Alias: "pci:v00008086d00000887sv00008086sd00004062bc02sc80i00"
  Driver Info #0:
    Driver Status: iwlwifi is active
    Driver Activation Cmd: "modprobe iwlwifi"
  Attached to: #17 (PCI bridge)

lspci -k                                                                                        ✔ 
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
        DeviceName:  Intel 82579
        Subsystem: Fujitsu Technology Solutions Device 11b9
        Kernel driver in use: snb_uncore
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
        Subsystem: Fujitsu Technology Solutions Device 11b9
        Kernel driver in use: i915
        Kernel modules: i915
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
        Subsystem: Fujitsu Technology Solutions Device 11ba
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 04)
        Subsystem: Fujitsu Technology Solutions Device 11d9
        Kernel driver in use: e1000e
        Kernel modules: e1000e
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
        Subsystem: Fujitsu Technology Solutions Device 11ba
        Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
        Subsystem: Fujitsu Technology Solutions Device 11b0
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
        Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
        Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
        Subsystem: Fujitsu Technology Solutions Device 11ba
        Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset LPC Controller (rev 04)
        Subsystem: Fujitsu Technology Solutions Device 11ba
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller (rev 04)
        Subsystem: Fujitsu Technology Solutions Device 11ba
        Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
        Subsystem: Fujitsu Technology Solutions Device 11ba
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
        Subsystem: Intel Corporation Centrino Wireless-N 2230 BGN
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi
    ~                                                 

Do you need any further information from me? Im on latest stable kernel, but with latest LTS kernel its the same. I don’t know what I should have changed. my system is up to date

Maybe some of these would help? (I use all of the following)

/etc/modprobe.d/iwlwifi.conf

options iwlwifi 11n_disable=8 swcrypto=1

/etc/modprobe.d/iwlmvm.conf

options iwlmvm power_scheme=1
1 Like

thank you for your answer, but my directory /etc/modprobe.d/ is empty?
Do i have to create that iwlwifi.conf file and paste the commands into it?

From what I see here, I think so.

It doesn’t work. I create these both files and did a reboot but the problem persists.

Regarding the tips from this thread: WiFi-card not recognized (Intel Wireless-AC 9260) - #2 by Cenwen I can’t install the iwlwifi-next package, i get an error during build process.

Man, this is very annoying. I cant use my PC with this wifi bug :confused:

How did you try too install the package? Because it’s in the AUR, and should be as simple as:

pamac build iwlwifi-next

It doesn’t seem to be dkms, so you’d have to reinstall it on kernel rebuilds. :wink:

Edit:

Please also see [HowTo] Provide System Information and, if applicable, [HowTo] post screenshots and links

First there was no “build” folder in /usr/lib/modules/5.10.89-1-MANJARO/, after i created that, i got this:

No targets were specified and no “make” control file was found. Enough.
make: The “/usr/lib/modules/5.10.89-1-MANJARO/build” directory is exited

So it seems that the package is not usable for me, im not skilled enough to customize something to get this working. On the other hand its not safe that this alternative driver or whatever it should be is the solution to get rid of this bug.

Looks to me like you need your kernel headers. Install them with:

pamac install linux510-headers

If successful, then try and build the drivers again:

pamac build iwlwifi-next

Hope this helps!

1 Like
==> Beginne build()...
make: Verzeichnis „/usr/lib/modules/5.10.89-1-MANJARO/build“ wird betreten
  CC [M]  /var/cache/private/pamac/iwlwifi-next/src/iwlwifi-next/drivers/net/wireless/intel/iwlwifi/dvm/main.o
In Datei, eingebunden von /var/cache/private/pamac/iwlwifi-next/src/iwlwifi-next/drivers/net/wireless/intel/iwlwifi/dvm/power.h:12,
                 von /var/cache/private/pamac/iwlwifi-next/src/iwlwifi-next/drivers/net/wireless/intel/iwlwifi/dvm/dev.h:31,
                 von /var/cache/private/pamac/iwlwifi-next/src/iwlwifi-next/drivers/net/wireless/intel/iwlwifi/dvm/main.c:37:
/var/cache/private/pamac/iwlwifi-next/src/iwlwifi-next/drivers/net/wireless/intel/iwlwifi/dvm/commands.h:1255:17: **Fehler: expected specifier-qualifier-list before »DECLARE_FLEX_ARRAY«**
 1255 |                 DECLARE_FLEX_ARRAY(u8, payload);
      |                 ^~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:280: /var/cache/private/pamac/iwlwifi-next/src/iwlwifi-next/drivers/net/wireless/intel/iwlwifi/dvm/main.o] Fehler 1
make[1]: *** [scripts/Makefile.build:497: /var/cache/private/pamac/iwlwifi-next/src/iwlwifi-next/drivers/net/wireless/intel/iwlwifi/dvm] Fehler 2
make: *** [Makefile:1822: /var/cache/private/pamac/iwlwifi-next/src/iwlwifi-next/drivers/net/wireless/intel/iwlwifi] Fehler 2
make: Verzeichnis „/usr/lib/modules/5.10.89-1-MANJARO/build“ wird verlassen
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...
Finished with result: exit-code
Main processes terminated with: code=exited/status=4
Service runtime: 13min 10.935s
CPU time consumed: 48.689s

Im sorry, but i forgot to switch lang to eng, so the output is in german but the error now is "expected specifier-qualifier-list before »DECLARE_FLEX_ARRAY«

Its a long way it seems :smiley:

I am very sorry. Perhaps someone more knowledgeable than I will be able to help, because I don’t play cricket, yet I’m stumped.