Wireless connection slow and unstable

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
rudolphalmeida
Level 1
Level 1
Posts: 6
Joined: Sun May 21, 2017 2:53 am

Wireless connection slow and unstable

Post by rudolphalmeida » Thu Dec 07, 2017 6:57 am

Hi,
I use bcmwl-kernel-source as my wireless driver and I have noticed that the connection is very slow and the WiFi signal varies a lot even though my laptop is near the router. I tried removing bcmwl-kernel-source and installing broadcom-sta-dkms but that made the kernel panic every time I logged in. Heres the details of my system:

sudo iwconfig

Code: Select all

virbr0    no wireless extensions.

lo        no wireless extensions.

virbr0-nic  no wireless extensions.

wlp4s0    IEEE 802.11  ESSID:"Home Network"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: B4:75:0E:D3:65:C7   
          Bit Rate=5.5 Mb/s   Tx-Power=200 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=33/70  Signal level=-77 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

enp2s0    no wireless extensions.
inxi -Fxz

Code: Select all

System:    Host: rudolph-HP-Notebook Kernel: 4.13.0-17-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.6 (Gtk 3.18.9) Distro: Linux Mint 18.2 Sonya
Machine:   System: Hewlett-Packard product: HP Notebook v: Type1ProductConfigId
           Mobo: Hewlett-Packard model: 80C2 v: 96.02
           Bios: Insyde v: F.02 date: 03/24/2015
CPU:       Dual core Intel Core i7-5500U (-HT-MCP-) cache: 4096 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9577
           clock speeds: max: 3000 MHz 1: 2394 MHz 2: 2394 MHz 3: 2394 MHz
           4: 2394 MHz
Graphics:  Card-1: Intel Broadwell-U Integrated Graphics bus-ID: 00:02.0
           Card-2: Advanced Micro Devices [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330]
           bus-ID: 03:00.0
           Display Server: X.Org 1.18.4 drivers: ati,radeon,intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.32hz
           GLX Renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2)
           GLX Version: 3.0 Mesa 17.0.7 Direct Rendering: Yes
Audio:     Card-1 Intel Wildcat Point-LP High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Broadwell-U Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k4.13.0-17-generic
Network:   Card-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169 v: 2.3LK-NAPI port: 4000 bus-ID: 02:00.0
           IF: enp2s0 state: down mac: <filter>
           Card-2: Broadcom BCM43142 802.11b/g/n driver: wl bus-ID: 04:00.0
           IF: wlp4s0 state: up mac: <filter>
Drives:    HDD Total Size: 1000.2GB (19.7% used)
           ID-1: /dev/sda model: ST1000LM024_HN size: 1000.2GB temp: 30C
Partition: ID-1: / size: 909G used: 176G (21%) fs: ext4 dev: /dev/sda2
           ID-2: swap-1 size: 8.50GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 48.0C mobo: N/A gpu: 41.0
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 203 Uptime: 1:50 Memory: 1269.4/7896.1MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (zsh 5.1.1) inxi: 2.2.35 
rfkill list all

Code: Select all

0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: brcmwl-0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
6: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
inxi -Nn

Code: Select all

Network:   Card-1: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169
           IF: enp2s0 state: down mac: 
           Card-2: Broadcom BCM43142 802.11b/g/n driver: wl
           IF: wlp4s0 state: up mac: 
iwlist scan | egrep -i 'essid|cipher'

Code: Select all

virbr0    Interface doesn't support scanning.

lo        Interface doesn't support scanning.

virbr0-nic  Interface doesn't support scanning.

enp2s0    Interface doesn't support scanning.

                    ESSID:"Rudolphs Home"
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP

I await your help. Thank you for your time!

deepakdeshp
Level 11
Level 11
Posts: 3928
Joined: Sun Aug 09, 2015 10:00 am

Re: Wireless connection slow and unstable

Post by deepakdeshp » Thu Dec 07, 2017 2:20 pm

Have you confirmed that I isn't the router problem by connecting another wi fi device?
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 19 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

User avatar
Pjotr
Level 20
Level 20
Posts: 11059
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wireless connection slow and unstable

Post by Pjotr » Thu Dec 07, 2017 2:36 pm

In your router, upgrade the encryption from "TKIP" to "AES only".
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

rudolphalmeida
Level 1
Level 1
Posts: 6
Joined: Sun May 21, 2017 2:53 am

Re: Wireless connection slow and unstable

Post by rudolphalmeida » Fri Dec 08, 2017 1:37 am

Have you confirmed that I isn't the router problem by connecting another wi fi device?
Yes. I tried it with other devices as well as using an Ethernet cable on the same device.
In your router, upgrade the encryption from "TKIP" to "AES only".
I changed my router settings to use "WPA2 Personal". That has reduced the problem but it is still not working as expected. Here is what I mean

ping 8.8.8.8 using Ethernet cable

Code: Select all

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=59 time=3.32 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=59 time=3.28 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=59 time=3.14 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=59 time=3.15 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=59 time=3.38 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=59 time=3.51 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=59 time=24.5 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=59 time=3.23 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=59 time=7.18 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=59 time=3.08 ms
64 bytes from 8.8.8.8: icmp_seq=11 ttl=59 time=3.12 ms
64 bytes from 8.8.8.8: icmp_seq=12 ttl=59 time=3.22 ms
64 bytes from 8.8.8.8: icmp_seq=13 ttl=59 time=3.15 ms
64 bytes from 8.8.8.8: icmp_seq=14 ttl=59 time=3.19 ms
64 bytes from 8.8.8.8: icmp_seq=15 ttl=59 time=3.25 ms
^C
--- 8.8.8.8 ping statistics ---
15 packets transmitted, 15 received, 0% packet loss, time 14018ms
rtt min/avg/max/mdev = 3.088/4.924/24.595/5.349 ms
ping 8.8.8.8 using Wireless

Code: Select all

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=59 time=13.2 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=59 time=4.06 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=59 time=11.0 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=59 time=9.95 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=59 time=5.30 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=59 time=4.36 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=59 time=6.55 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=59 time=4.61 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=59 time=5.43 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=59 time=6.87 ms
64 bytes from 8.8.8.8: icmp_seq=11 ttl=59 time=22.5 ms
64 bytes from 8.8.8.8: icmp_seq=12 ttl=59 time=11.0 ms
64 bytes from 8.8.8.8: icmp_seq=13 ttl=59 time=24.5 ms
64 bytes from 8.8.8.8: icmp_seq=14 ttl=59 time=40.5 ms
^C
--- 8.8.8.8 ping statistics ---
14 packets transmitted, 14 received, 0% packet loss, time 13020ms
rtt min/avg/max/mdev = 4.062/12.152/40.555/10.032 ms
The Wireless one shows a lot of deviation and is a lot slower.

User avatar
Pjotr
Level 20
Level 20
Posts: 11059
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Wireless connection slow and unstable

Post by Pjotr » Fri Dec 08, 2017 5:31 am

rudolphalmeida wrote:
In your router, upgrade the encryption from "TKIP" to "AES only".
I changed my router settings to use "WPA2 Personal". That has reduced the problem but it is still not working as expected.
WPA2 Personal is excellent, but you should also do what I advised.
Tip: 10 things to do after installing Linux Mint 19 Tara
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.

rudolphalmeida
Level 1
Level 1
Posts: 6
Joined: Sun May 21, 2017 2:53 am

Re: Wireless connection slow and unstable

Post by rudolphalmeida » Fri Dec 08, 2017 7:40 am

I am sorry if I am misunderstanding but isnt that what I have done

iwlist scan | egrep -i 'essid|cipher'

Code: Select all

virbr0-nic  Interface doesn't support scanning.

virbr0    Interface doesn't support scanning.

enp2s0    Interface doesn't support scanning.

lo        Interface doesn't support scanning.

                    ESSID:"Rudolphs Home"
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                    ESSID:""
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
sudo iwconfig

Code: Select all

virbr0-nic  no wireless extensions.

virbr0    no wireless extensions.

enp2s0    no wireless extensions.

lo        no wireless extensions.

wlp4s0    IEEE 802.11  ESSID:"Rudolphs Home"  
          Mode:Managed  Frequency:2.462 GHz  Access Point:   
          Bit Rate=19.5 Mb/s   Tx-Power=200 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-35 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Post Reply

Return to “Wireless”