You are not logged in.

#1 2019-05-19 19:47:15

lama_noob
Member
Registered: 2019-05-19
Posts: 4

[SOLVED] Wifi stopped working - BCM43228

Hello everyone, new member here. Until now I had no trouble with ArchLinux or managed to solve issues by myself. However, this time I'm stumped and so I'm asking for help.

Issue: The wifi is not working on my laptop. This is a recent issue, but I cannot pinpoint the date it stopped working (I am generally using ethernet). Ethernet works fine, but I will need wifi soon...

Relevant info:

$ lspci -vnn -d 14e4:
02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43228 802.11a/b/g/n [14e4:4359]
	DeviceName: WLAN
	Subsystem: Broadcom Inc. and subsidiaries BCM43228 802.11a/b/g/n [14e4:05e2]
	Flags: bus master, fast devsel, latency 0, IRQ 10
	Memory at d0500000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel modules: bcma
$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether b0:5a:da:b1:88:a6 brd ff:ff:ff:ff:ff:ff

Package broadcom-wl-dkms is installed. Everything is up to date.

What I don't understand is that the Network controller is detected, yet I cannot get it to work. Does anyone have any idea? Please let me know if more info is required.
Thank you.

Last edited by lama_noob (2019-05-20 10:06:27)

Offline

#2 2019-05-19 23:10:23

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [SOLVED] Wifi stopped working - BCM43228

Welcome to the arch linux forums lama_noob.  What should be managing the interface?  What happens if you try to connect using the interface manually?

Offline

#3 2019-05-20 07:20:18

lama_noob
Member
Registered: 2019-05-19
Posts: 4

Re: [SOLVED] Wifi stopped working - BCM43228

Thanks for the answer!

I was using NetworkManager to handle wifi. As for connecting manually,

$ iw dev

shows nothing so I cannot try to activate the interface...

Offline

#4 2019-05-20 08:14:33

Gosi
Member
From: Vienna, Austria
Registered: 2010-02-25
Posts: 100

Re: [SOLVED] Wifi stopped working - BCM43228

Kernel modules: bcma

This doesn't seem to be right. The bcma module should be blacklisted.

The broadcom-wl-dkms module is called "wl".

Offline

#5 2019-05-20 08:49:03

lama_noob
Member
Registered: 2019-05-19
Posts: 4

Re: [SOLVED] Wifi stopped working - BCM43228

Alright, so I tried

$ modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/5.1.2-arch1-1-ARCH

I'll try blacklisting bcma though.

EDIT: Added a wireless.conf file with "blacklist bcma" in my /etc/modprobe.d and rebooted, but

$ lspci -vnn -d 14e4:

02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43228 802.11a/b/g/n [14e4:4359]
	DeviceName: WLAN
	Subsystem: Broadcom Inc. and subsidiaries BCM43228 802.11a/b/g/n [14e4:05e2]
	Flags: bus master, fast devsel, latency 0, IRQ 10
	Memory at d0500000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel modules: bcma

Last edited by lama_noob (2019-05-20 08:54:45)

Offline

#6 2019-05-20 09:09:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] Wifi stopped working - BCM43228

If you've installed wl, that blacklist exists already which is why the bcma module is not being loaded. You need to figure out why the DKMS build failed or install the prebuilt broadcom-wl instead.

Offline

#7 2019-05-20 09:24:19

lama_noob
Member
Registered: 2019-05-19
Posts: 4

Re: [SOLVED] Wifi stopped working - BCM43228

So I installed the prebuilt broadcom-wl, and wifi now works, thanks! However, I will need to uninstall-reinstall after each upgrade, right? I will try looking into the DKMS failure. If anyone has an idea, I'm all eyes.

Thanks a lot!

EDIT: Okay I tried reinstalling broadcom-wl-dkms, however I had the following message:

(1/3) Updating linux module dependencies...
(2/3) Install DKMS modules
==> Unable to install module broadcom-wl/6.30.223.271 for kernel *: Missing kernel headers.
(3/3) Arming ConditionNeedsUpdate...

Turns out I missed the linux-headers package... I do not know how I got my wifi to work in the previous years despite this... >_>

So if anyone gets into the same state than me, make sure you have the linux-headers package, and then install broadcom-wl-dkms. I hope this will keep on working in the future.

Thanks everyone for your help!

Last edited by lama_noob (2019-05-20 10:06:13)

Offline

#8 2019-05-20 10:16:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [SOLVED] Wifi stopped working - BCM43228

For completeness sake, the prebuilt module will be rebuilt by Arch packagers as necessary, so aside from regular updates you would not have to do anything, however DKMS will give you more flexibility if you ever decide to install your own kernels or similar.

Offline

Board footer

Powered by FluxBB