[SOLVED] 19.2 “Tina” Cinnamon Wi-Fi Broadcom BCM4331 MacBook

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Tortugaverde
Level 1
Level 1
Posts: 12
Joined: Wed Mar 08, 2017 9:35 am
Location: Canada
Contact:

[SOLVED] 19.2 “Tina” Cinnamon Wi-Fi Broadcom BCM4331 MacBook

Post by Tortugaverde » Thu Sep 12, 2019 1:10 pm

Installed 19.2 (3 days ago) on an early 2011 MacBook Pro (Core i5 2.3GHz) 13" (I5-2415M) Model A1278 (EMC 2419). 4GB RAM, 384MB VRAM, 320GB HDD. According to the Driver Manager, I have a Broadcom Limited: BCM4331 802.11a/b/g/n. It states "This device is using an alternative driver". Selected is the bcmwl-kernel-source Version 6.30.223.271+bdcom-0ubuntu4 Broadcom 802.11 Linux STA wireless driver source.

As I've read through the forums, this problem seems to be recognized for other configurations. My WiFi has full bars (100% or signal strength "Excellent) Link speed is 175 Mb/s.

Problem: Internet connection and data transfer up/down is very bad. As I'm browsing on Firefox (69.0 - 64 bit for Linux Mint 1.0) or Chrome (77.0.3865.75 (official build) (64-bit), it will work initially right after starting up. Then, after a bit, it stops working completely. This is true of video as well. Watching Netflix, Youtube or Vimeo, the video will play perfectly and then, it locks up and nothing will connect to the internet. No web pages work, no video will play. I cannot connect to repositories and cannot download apps.

Clearing the history and cache from the browser does nothing to solve the issue. However, restarting 19.2 allows for the process to start over again: I get about 15 minutes of internet use, or less depending on what I'm doing (more data, less time) and the browsers cannot connect. Checking for updates and downloading apps is available for a short time.

UPDATE: I do not need to restart for the WiFi to return. Sometimes I simply need to wait ten or fifteen minutes and it will begin working again for a short time.

I've tried disabling Bluetooth, disabling my firewall, and attempted some minor code suggested on another thread:

Code: Select all

sudo apt install broadcom-sta-dkms
None of these actions worked.
The following information was requested for similar problems in this forum:

Code: Select all

inxi -Fxz
System:
  Host: MacBookProCi52011 Kernel: 4.15.0-62-generic x86_64 bits: 64 
  compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.2.4 
  Distro: Linux Mint 19.2 Tina base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: Apple product: MacBookPro8,1 v: 1.0 serial: <filter> 
  Mobo: Apple model: Mac-94245B3640C91C81 v: MacBookPro8,1 serial: <filter> 
  UEFI: Apple v: 82.0.0.0.0 date: 09/25/2018 
Battery:
  ID-1: BAT0 charge: 65.7 Wh condition: 66.4/64.8 Wh (102%) 
  model: EGOWAY A1322 status: Discharging 
CPU:
  Topology: Dual Core model: Intel Core i5-2415M bits: 64 type: MT MCP 
  arch: Sandy Bridge rev: 7 L2 cache: 3072 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 18358 
  Speed: 838 MHz min/max: 800/2900 MHz Core speeds (MHz): 1: 802 2: 798 
  3: 799 4: 799 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: Apple driver: i915 v: kernel bus ID: 00:02.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1280x800~60Hz 
  OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3 Mesa 19.0.8 
  direct render: Yes 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k4.15.0-62-generic 
Network:
  Device-1: Broadcom and subsidiaries NetXtreme BCM57765 Gigabit Ethernet 
  PCIe 
  driver: tg3 v: 3.137 port: efa0 bus ID: 02:00.0 
  IF: enp2s0f0 state: down mac: <filter> 
  Device-2: Broadcom and subsidiaries BCM4331 802.11a/b/g/n 
  vendor: Apple AirPort Extreme driver: wl v: kernel port: efa0 
  bus ID: 03:00.0 
  IF: wlp3s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 327.91 GiB used: 34.97 GiB (10.7%) 
  ID-1: /dev/sda vendor: Hitachi model: HTS545032B9A302 size: 298.09 GiB 
  ID-2: /dev/sdb type: USB vendor: SanDisk model: Cruzer Blade 
  size: 29.82 GiB 
Partition:
  ID-1: / size: 291.92 GiB used: 16.52 GiB (5.7%) fs: ext4 dev: /dev/sda2 
  ID-2: swap-1 size: 2.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-0 
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 219 Uptime: 2m Memory: 3.77 GiB used: 557.9 MiB (14.5%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 

Code: Select all

rfkill list all
0: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: brcmwl-0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
2: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no

Code: Select all

iwconfig
lo        no wireless extensions.

wlp3s0    IEEE 802.11  ESSID:"BELL913"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: A8:9A:93:FB:21:46   
          Bit Rate=216.5 Mb/s   Tx-Power=200 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=58/70  Signal level=-52 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

enp2s0f0  no wireless extensions.

Code: Select all

lsusb
Bus 002 Device 003: ID 05ac:8242 Apple, Inc. Built-in IR Receiver
Bus 002 Device 002: ID 0424:2513 Standard Microsystems Corp. 2.0 Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 05ac:8509 Apple, Inc. FaceTime HD Camera
Bus 001 Device 005: ID 05ac:0245 Apple, Inc. Internal Keyboard/Trackpad (ANSI)
Bus 001 Device 008: ID 05ac:821a Apple, Inc. Bluetooth Host Controller
Bus 001 Device 004: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 002: ID 0424:2513 Standard Microsystems Corp. 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Code: Select all

lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:01.1 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Universal Host Controller #5 (rev 05)
00:1a.7 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Universal Host Controller #1 (rev 05)
00:1d.7 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
02:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57765 Gigabit Ethernet PCIe (rev 10)
02:00.1 SD Host controller: Broadcom Inc. and subsidiaries BCM57765/57785 SDXC/MMC Card Reader (rev 10)
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4331 802.11a/b/g/n (rev 02)
04:00.0 FireWire (IEEE 1394): LSI Corporation FW643 [TrueFire] PCIe 1394b Controller (rev 08)
05:00.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
06:00.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
06:03.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
06:04.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
06:05.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
06:06.0 PCI bridge: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
07:00.0 System peripheral: Intel Corporation CV82524 Thunderbolt Controller [Light Ridge 4C 2010]
Thanks for your help and time.
Last edited by Tortugaverde on Wed Sep 18, 2019 1:36 pm, edited 1 time in total.

HAWR
Level 4
Level 4
Posts: 405
Joined: Thu Jun 06, 2019 1:15 pm

Re: 19.2 “Tina” Cinnamon Wi-Fi Broadcom BCM4331 MacBook

Post by HAWR » Sat Sep 14, 2019 9:50 am

Hello Tortugaverde,

thank you for all the exemplary information. I think, there are at least three things you can try out. The first two are disabling the power management or IPv6 (item 2.1 and 2.2):

https://easylinuxtipsproject.blogspot.c ... html#ID2.1

The third one is to try out the b43 driver for better performance instead of bcmwl. This driver is also mentioned for your card in the wiki kernel:

https://wireless.wiki.kernel.org/en/users/Drivers/b43

The how-to can also be found on the above linked website (item 1.2)

https://easylinuxtipsproject.blogspot.c ... html#ID1.2

User avatar
Tortugaverde
Level 1
Level 1
Posts: 12
Joined: Wed Mar 08, 2017 9:35 am
Location: Canada
Contact:

Re: 19.2 “Tina” Cinnamon Wi-Fi Broadcom BCM4331 MacBook

Post by Tortugaverde » Sat Sep 14, 2019 11:34 am

Hello Tortugaverde,

thank you for all the exemplary information. I think, there are at least three things you can try out. The first two are disabling the power management or IPv6 (item 2.1 and 2.2):

https://easylinuxtipsproject.blogspot.c ... html#ID2.1

The third one is to try out the b43 driver for better performance instead of bcmwl. This driver is also mentioned for your card in the wiki kernel:

https://wireless.wiki.kernel.org/en/users/Drivers/b43

The how-to can also be found on the above linked website (item 1.2)

https://easylinuxtipsproject.blogspot.c ... html#ID1.2
Thank you HAWR. I'll give these a try and get back to you ASAP.
UPDATE #1 So far so good. I've disabled power management and IPV6. I've been running the laptop for a half-hour and no stalling yet. I want to test for a day or so, try the B43 driver as well, and give more feedback. If all is well, I'll mark this thread solved with many thanks.

HAWR
Level 4
Level 4
Posts: 405
Joined: Thu Jun 06, 2019 1:15 pm

Re: 19.2 “Tina” Cinnamon Wi-Fi Broadcom BCM4331 MacBook

Post by HAWR » Sat Sep 14, 2019 1:48 pm

That sounds good :) . It isn't necessary to do all steps, when your problem is solved by one of it. For example if disabling power management does the job, then you needn't disabling IPv6. And the alternatice b43 driver is meant to try, if the previous two steps can't solve it. And it's always good to undo steps, that bring no solution, so that you stay there with the default setting.

User avatar
Tortugaverde
Level 1
Level 1
Posts: 12
Joined: Wed Mar 08, 2017 9:35 am
Location: Canada
Contact:

Re: 19.2 “Tina” Cinnamon Wi-Fi Broadcom BCM4331 MacBook

Post by Tortugaverde » Wed Sep 18, 2019 1:34 pm

HAWR wrote:
Sat Sep 14, 2019 1:48 pm
That sounds good :) . It isn't necessary to do all steps, when your problem is solved by one of it. For example if disabling power management does the job, then you needn't disabling IPv6. And the alternatice b43 driver is meant to try, if the previous two steps can't solve it. And it's always good to undo steps, that bring no solution, so that you stay there with the default setting.
Thanks HAWR,
Sorry for the slow reply. I had a crash and loaded a backed-up version (thank you Timeshift!). After I had done that, the system was back to before I started playing with the WiFi. For any of those following this: disabling power management alone did not do the trick. I had to disable IPv6 in addition to disabling power management - that solved this problem and I now have regular WiFi that isn't dropping or stalling. I tried disabling IPv6 alone and that did not work either. Thus for my setup, both needed to be adjusted. Weirdly, my iwconfig now looks quite different. I have no idea why.

Code: Select all

iwconfig
enp2s0f0  no wireless extensions.

lo        no wireless extensions.

wlp3s0    IEEE 802.11  ESSID:"BELL913"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: A8:9A:93:FB:21:46   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
So thank you so much for your help :) Now I can work on other bugs =D

HAWR
Level 4
Level 4
Posts: 405
Joined: Thu Jun 06, 2019 1:15 pm

Re: [SOLVED] 19.2 “Tina” Cinnamon Wi-Fi Broadcom BCM4331 MacBook

Post by HAWR » Wed Sep 18, 2019 1:42 pm

You're welcome :) Yes, the iwconfig output looks a little bit shortened, but if all is running well, I think it's okay. Thank you for trying the combination of the steps and it's good have that in mind for the next time.
Now I can work on other bugs =D
I hope, there aren't too much!

Post Reply

Return to “Wireless”