[SOLVED] Very slow speeds - possibly driver problem

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Cinemarxism
Level 1
Level 1
Posts: 33
Joined: Sun Sep 14, 2008 5:08 pm

[SOLVED] Very slow speeds - possibly driver problem

Postby Cinemarxism » Mon Apr 17, 2017 4:40 am

My old notebook has been having troubles lately, so I dug out my backup computer (which is actually a newer model), formatted it and installed Linux Mint 18.1.

The reason why my backup computer was never allowed to replace my older laptop is that I always had troubles with connecting it to wifi through Linux Mint. No Wifi-issues in Windows 7 (which is what it was shipped with), but in Linux Mint it would only connect for short periods of time before disconnecting.

In any case, I installed 18.1 hoping that whatever issues my computer had with LM would have been resolved by now. And the experience has been better than last time. On one occasion my computer was not able to connect at all (finding all networks in my area, but upon trying to connect constantly asking for the nettwork password), but this was resolved after a reboot. For the last three days I have been able to stay connected, the signal strength is good and in general there does not seem to be any issues.

Except one: speed. I did a comparison today between my older laptop (running Linux Mint 15), the one I'm currently using and my cheap android phone (Moto G2), using testmy.net (tested the devices one after the other, all to the same UK server). My network is supposed to be 30/30 Mbps (but has usually been anywhere between 15-30 when testing the speed previously)

Below are the results:

-----------------Old computer (LM 15) | Computer with LM 18 | Motorola Moto G2
Dowload:---------33.3 Mbps-----------------------8 Mbps------------------------30.2 Mbps
Upload:------------20.9 Mbps-----------------------3.9 Mbps---------------------10.9 Mbps

The difference is quite shocking.

Here is the result of inxi -Fxz gives:

Code: Select all

System:    Host: knut-Lenovo-B580 Kernel: 4.4.0-72-generic i686 (32 bit gcc: 5.4.0)
           Desktop: Xfce 4.12.3 (Gtk 2.24.28) Distro: Linux Mint 18.1 Serena
Machine:   System: LENOVO (portable) product: 20144 v: Lenovo B580
           Mobo: LENOVO model: 20144
           Bios: LENOVO v: H5ET39WW (1.12 ) date: 08/24/2012
CPU:       Dual core Intel Pentium B970 (-MCP-) cache: 2048 KB
           flags: (lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3) bmips: 9178
           clock speeds: max: 2300 MHz 1: 1091 MHz 2: 919 MHz
Graphics:  Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel Sandybridge Mobile x86/MMX/SSE2
           GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Audio:     Card Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Sound: Advanced Linux Sound Architecture v: k4.4.0-72-generic
Network:   Card-1: Broadcom BCM4313 802.11bgn Wireless Network Adapter
           driver: bcma-pci-bridge bus-ID: 02:00.0
           IF: wlp2s0b1 state: up mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: 2000 bus-ID: 03:00.0
           IF: enp3s0 state: down mac: <filter>
Drives:    HDD Total Size: 500.1GB (1.9% used)
           ID-1: /dev/sda model: WDC_WD5000BPVT size: 500.1GB
Partition: ID-1: / size: 457G used: 7.3G (2%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 1.91GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 47.0C mobo: 37.0C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 185 Uptime: 33 min Memory: 741.2/1780.6MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.461) inxi: 2.2.35


inxi -Nn:

Code: Select all

Network:   Card-1: Broadcom BCM4313 802.11bgn Wireless Network Adapter driver: bcma-pci-bridge
           IF: wlp2s0b1 state: up mac: 74:e5:43:06:bc:a6
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
           IF: enp3s0 state: down mac: f0:de:f1:fd:6f:25


iwconfig

Code: Select all

lo        no wireless extensions.

enp3s0    no wireless extensions.

wlp2s0b1  IEEE 802.11bgn  ESSID:"Telenor4472ise" 
          Mode:Managed  Frequency:2.417 GHz  Access Point: 60:31:97:1D:A2:12   
          Bit Rate=28.9 Mb/s   Tx-Power=19 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=61/70  Signal level=-49 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:9425  Invalid misc:1394   Missed beacon:0


I originally thought there might be a driver problem involved. When running the driver manager it suggests that my wireless adapter is "not working":

Screenshot_2017-04-17_10-11-16.png


I did actually try to install the recommended driver just after having installed LM 18.1. However, after doing so I was no able to connect to my wifi (all networks were identified, just not able to connect) and so I reinstalled LM 18.1 altogether (as I didn't see a way to "rollback" the driver update). (In retrospect, regretfully I don't think I even tried a reboot after having the updated driver give me connection problems.)

Any suggestions? I could try to go for the recommended driver update again, but in that case I would very much like to know if there is a way to "undo" the changes should the same connection problem emerge.
Last edited by Cinemarxism on Sat Apr 22, 2017 11:28 am, edited 3 times in total.

Cinemarxism
Level 1
Level 1
Posts: 33
Joined: Sun Sep 14, 2008 5:08 pm

Re: Very slow speeds - possibly driver problem

Postby Cinemarxism » Tue Apr 18, 2017 12:15 pm

No suggestions? Any code / script I could run to make a diagnosis easier?

I don't know if it's connected to the issue, but I am experiences a similar speed reduction when I try to move files between my android phone and LM 18.1-computer using ftp.

User avatar
richyrich
Level 18
Level 18
Posts: 8677
Joined: Mon May 04, 2009 8:31 pm

Re: Very slow speeds - possibly driver problem

Postby richyrich » Tue Apr 18, 2017 1:06 pm

(In retrospect, regretfully I don't think I even tried a reboot after having the updated driver give me connection problems.)


Yes, you needed to reboot to get the new firmware into the linux kernel.

And by looking in Synaptic Package Manager, the "recommended" wireless driver (in your pic) is the one that you need. :-)

Cinemarxism
Level 1
Level 1
Posts: 33
Joined: Sun Sep 14, 2008 5:08 pm

Re: Very slow speeds - possibly driver problem

Postby Cinemarxism » Tue Apr 18, 2017 1:30 pm

Alright, so an installation of the recommended driver and a reboot should do the trick?

Just to be sure, should I end up with bigger problems (i.e. no wifi) after doing this, is there a way to "downgrade"/uninstall the driver again? I'm a bit afraid of having to format once more.

Thanks a lot for the suggestion, though!

User avatar
richyrich
Level 18
Level 18
Posts: 8677
Joined: Mon May 04, 2009 8:31 pm

Re: Very slow speeds - possibly driver problem

Postby richyrich » Tue Apr 18, 2017 2:13 pm

The same Driver Manager will allow you to remove drivers just like it installs drivers.

Cinemarxism
Level 1
Level 1
Posts: 33
Joined: Sun Sep 14, 2008 5:08 pm

Re: Very slow speeds - possibly driver problem

Postby Cinemarxism » Tue Apr 18, 2017 2:45 pm

Okay, so I installed the driver. Upon the completion of the installation, I lost my connection. After a reboot I have still not been able to connect through wireless (the network is identified with a good signal strength, I just can't connect to it).

Opening the Driver Manager gave the following message:

Screenshot_2017-04-18_20-38-10.png


So currently I'm connected through ethernet and being connected to the internet, I am now able to see the available drivers again:

Screenshot_2017-04-18_20-44-12.png


Where to go from here? The other two available drivers, according to Synaptic Package Manager, do not support my chipset..

Thanks again for taking the time to assist me

Cinemarxism
Level 1
Level 1
Posts: 33
Joined: Sun Sep 14, 2008 5:08 pm

Re: Very slow speeds - possibly driver problem

Postby Cinemarxism » Tue Apr 18, 2017 3:09 pm

I went ahead and installed the "firmware-b43-installer", although not specified for my chipset and not recommended. It seems to have worked!

I am again able to connect to my wifi, and the speeds (down: 29, up: 11) are much better. (Got 30/15 from ethernet just now.)

Hurray. Thanks again for putting me on the right track. I'll go ahead and mark the thread as solved.

Cinemarxism
Level 1
Level 1
Posts: 33
Joined: Sun Sep 14, 2008 5:08 pm

Re: Very slow speeds - possibly driver problem

Postby Cinemarxism » Fri Apr 21, 2017 1:39 am

I was to quick to celebrate ... Didn't notice it until yesterday, when I tried to upload a file, but the slow speeds are back (on this device only, and only through wifi (i.e. ethernet is as fast as it should be)).

Any suggestions for what I might try next? Tried to change to the "firmware-b43-installer-legacy" driver, with no change in speed.

greerd
Level 5
Level 5
Posts: 712
Joined: Sat Jul 31, 2010 10:58 am
Location: Nova Scotia, Canada

Re: Very slow speeds - possibly driver problem

Postby greerd » Fri Apr 21, 2017 10:39 am

Have you looked at this link, bcm43xx help from Ubuntu?
Image

Cinemarxism
Level 1
Level 1
Posts: 33
Joined: Sun Sep 14, 2008 5:08 pm

Re: Very slow speeds - possibly driver problem

Postby Cinemarxism » Fri Apr 21, 2017 3:50 pm

greerd wrote:Have you looked at this link, bcm43xx help from Ubuntu?


I hadn't, but now I have!

Read through it, did some more googling, and came across this thread at Ubuntu Forums, where a poster noted that "a note on the Broadcom website recommends removing/blacklisting the bcma driver".

So I tried to install the recommended driver (bcmwl-kernel-source) once more, and then proceeded to enter the code:

Code: Select all

echo "blacklist brcm80211" | sudo tee -a /etc/modprobe.d/blacklist.conf


I've rebooted and once again things seem to work as they should (for the first time able to connect to wifi with the recommended driver, and speed is good again). I'll wait 2-3 days, if things are still working by then I will mark the thread as solved again.

Thanks for pointing me in the right direction :)

JeremyB
Level 17
Level 17
Posts: 7455
Joined: Fri Feb 21, 2014 8:17 am

Re: Very slow speeds - possibly driver problem

Postby JeremyB » Fri Apr 21, 2017 5:40 pm

But there is no brcm80211 module and installing bcmwl-kernel-source or one of it's equivalents will blacklist the brcm80211 components along with the other open source broadcom kernel modules

Cinemarxism
Level 1
Level 1
Posts: 33
Joined: Sun Sep 14, 2008 5:08 pm

Re: Very slow speeds - possibly driver problem

Postby Cinemarxism » Sat Apr 22, 2017 11:28 am

Oh... No idea how that seems to have worked then. One day and 4-5 reboots later things have been running smooth. No idea why, but glad it seems to have sorted itself out.


Return to “Wireless”