Oscillating wi-fi speed

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
minomic

Oscillating wi-fi speed

Post by minomic »

Hello everyone,
I am having some sort of problem with the wi-fi connection: I currently live in France and my provider is Orange. I have optic fibre connection and the speed is incredibly high: approximately 47 Mbps symmetrical. If I plug in the ethernet cable, then it gets ridiculously faster, but this is not the point. Sometimes, without a pattern I can identify, the speed of wi-fi connection decreases a lot, going from 47-48 Mbps to 10-12 Mbps and even lower.
Anyone has any idea about what's happening and what I can do to fix it?

Here is the result of

Code: Select all

sudo /usr/lib/linuxmint/mintWifi/mintWifi.py

Code: Select all

-------------------------
* I. scanning WIFI PCI devices...
  -- Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)
      ==> PCI ID = 168c:0032 (rev 01)
-------------------------
* II. querying ndiswrapper...
-------------------------
* III. querying iwconfig...
eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"Livebox-054C"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: D0:84:B0:7B:05:4C   
          Bit Rate=1 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-31 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:25  Invalid misc:304   Missed beacon:0

lo        no wireless extensions.

-------------------------
* IV. querying ifconfig...
eth0      Link encap:Ethernet  IndirizzoHW 08:62:66:b4:59:d1  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:1000 
          Byte RX:0 (0.0 B)  Byte TX:0 (0.0 B)

eth0:avahi Link encap:Ethernet  IndirizzoHW 08:62:66:b4:59:d1  
          indirizzo inet:169.254.9.196  Bcast:169.254.255.255  Maschera:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1

lo        Link encap:Loopback locale  
          indirizzo inet:127.0.0.1  Maschera:255.0.0.0
          indirizzo inet6: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:1149 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1149 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:0 
          Byte RX:124013 (124.0 KB)  Byte TX:124013 (124.0 KB)

wlan0     Link encap:Ethernet  IndirizzoHW 40:e2:30:77:77:a9  
          indirizzo inet:192.168.1.12  Bcast:192.168.1.255  Maschera:255.255.255.0
          indirizzo inet6: fe80::42e2:30ff:fe77:77a9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:179850 errors:0 dropped:0 overruns:0 frame:0
          TX packets:126947 errors:0 dropped:0 overruns:0 carrier:0
          collisioni:0 txqueuelen:1000 
          Byte RX:223195566 (223.1 MB)  Byte TX:66699133 (66.6 MB)

-------------------------
* V. querying DHCP...
RTNETLINK answers: File exists
-------------------------
* VI. querying nslookup google.com...
Server:		192.168.1.1
Address:	192.168.1.1#53

Non-authoritative answer:
Name:	google.com
Address: 216.58.211.78
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
minomic

Re: Oscillating wi-fi speed

Post by minomic »

Does anyone have any idea?
User avatar
Pjotr
Level 23
Level 23
Posts: 19887
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Oscillating wi-fi speed

Post by Pjotr »

You might try this:
https://sites.google.com/site/easylinux ... decryption
(item 2.2, right column)
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
minomic

Re: Oscillating wi-fi speed

Post by minomic »

Pjotr wrote:You might try this:
https://sites.google.com/site/easylinux ... decryption
(item 2.2, right column)
Tried but didn't work. Now I upgraded the kernel to 4.2... Let's see what happens
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: Oscillating wi-fi speed

Post by JeremyB »

There are backports from the newest kernels

Code: Select all

sudo apt-get install build-essential linux-headers-$(uname -r) git
wget https://www.kernel.org/pub/linux/kernel/projects/backports/2015/09/03/backports-20150903.tar.gz
tar -zxvf backports-20150903.tar.gz
cd backports-20150903
make defconfig-ath9k
make
sudo make install
Then it should tell you to reboot, if you have more than one wireless card, maybe a USB wifi dongle use

Code: Select all

make defconfig-wifi
instead of

Code: Select all

make defconfig-ath9k
This will allow everything other than the wifi drivers to be from your supported kernel and wireless drivers won't break

Also post the result of

Code: Select all

for p in /sys/module/ath9k/parameters/*; do echo $p; cat $p; done
Locked

Return to “Networking”