I run Linux Mint 19.2 (so Ubuntu basically) on a Intel Core i7 2.7 GHz (×2) machine with 8 GiB memory. The laptop is a almost 10 years old but still working fine except for wireless connection. The problem is a little odd: From time to time I suffer from huge package loss and very high ping. Interestingly, package loss and high ping even occurs if when just pinging the router adress in the network.
For example, 10 minutes ago I had the following ping statistics:
--- 192.168.0.1 ping statistics --- 223 packets transmitted, 108 received, +1 duplicates, 51% packet loss, time 257281ms rtt min/avg/max/mdev = 7.569/7640.883/34667.902/5561.433 ms, pipe 14
Now, out of a sudden, everything is fine again:
--- 192.168.0.1 ping statistics --- 255 packets transmitted, 245 received, 3% packet loss, time 254636ms rtt min/avg/max/mdev = 1.351/111.355/2113.751/241.735 ms, pipe 3
(still some package loss and high ping, but at least I can load webpages, watch videos etc)
What could be the reasons for this behavior? At first I suspected that other people (I live in a shared flat) are causing massive traffic but as I do not witness any problems when using my mobile phone, I suppose that that the problem is caused by my laptop. It feels like the wireless card is "overhelmed" by the input and stops working: the ping command stops displaying output and webpages stop loading. Then, suddenly, ping command output is again shown (and it then often displays multiple lines immediately, each with ping > 10000 ms) and webpages load again (e.g. a video has buffered and plays for a few secs). Sometimes the ping command gives me results like destination not reachable, no buffer space available, "DUP!", or that time stamps are not valid.
As far as I know, package loss is a very unspecific problem and thus very difficult to determine the reasons from my description but I hope that someone may has an idea how to track down the source of this problem.
Information regarding my wireless card (lshw -C network):
*-network description: Wireless interface product: Centrino Advanced-N 6205 [Taylor Peak] vendor: Intel Corporation physical id: 0 bus info: pci@0000:03:00.0 logical name: wlp3s0 version: 34 serial: a0:88:b4:1e:45:38 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=iwlwifi driverversion=4.15.0-106-generic firmware=126.96.36.199 ip=192.168.0.24 latency=0 link=yes multicast=yes wireless=IEEE 802.11 resources: irq:32 memory:f2500000-f2501fff