Page 1 of 1

[SOLVED] Broadcom bcm43228 WiFi support on CentOS 7

Posted: 2018/08/17 09:22:30
by fusion809
Hi folks,

I have an older laptop I seldom use with Arch Linux installed on it. I think I should switch over to CentOS 7 because of its long support cycle and how small and infrequent updates usually are. The only real barrier to me installing CentOS 7 to it is that I know the Broadcom WiFi install instructions at the Wiki (https://wiki.centos.org/HowTos/Laptops/ ... 552e23fad7) are a little outdated. I know this because I've tried installing CentOS 7 before and following these instructions and they fail. Does anyone have a nice update to them? I must admit I've misplaced the errors I got from building it.

Thanks for your time,
Brenton

Re: Broadcom bcm43228 WiFi support on CentOS 7

Posted: 2018/08/17 09:28:00
by TrevorH
One possible solution is to do what I did... Intel 7260 cards go for about £10 on ebay and work out of the box.

One caveat: if the machine is a Lenovo I believe they lock (at least on some models of laptop) what cards are recognised and allowed via some BIOS code.

Re: Broadcom bcm43228 WiFi support on CentOS 7

Posted: 2018/08/17 11:12:27
by fusion809
I know they're not available in stores here, I've asked around. I'm always cautious about tinkering with hardware, however, I know myself and I'm liable to accidentally break things or make it impossible to reassemble the PC. So a software solution would be preferable, but thanks for the suggestion.

Re: Broadcom bcm43228 WiFi support on CentOS 7

Posted: 2018/08/17 12:03:16
by fusion809
I've installed it now, and I thought I'd share my precise build error message, at the stage of running:

Code: Select all

make -C /lib/modules/`uname -r`/build/ M=`pwd`
I get:

Code: Select all

make: Entering directory `/usr/src/kernels/3.10.0-862.el7.x86_64'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
  LD      /usr/local/src/hybrid-wl/built-in.o
  CC [M]  /usr/local/src/hybrid-wl/src/shared/linux_osl.o
  CC [M]  /usr/local/src/hybrid-wl/src/wl/sys/wl_linux.o
/usr/local/src/hybrid-wl/src/wl/sys/wl_linux.c: In function ‘wl_monitor’:
/usr/local/src/hybrid-wl/src/wl/sys/wl_linux.c:2918:10: error: ‘struct net_device’ has no member named ‘last_rx’
  skb->dev->last_rx = jiffies;
          ^
make[1]: *** [/usr/local/src/hybrid-wl/src/wl/sys/wl_linux.o] Error 1
make: *** [_module_/usr/local/src/hybrid-wl] Error 2
make: Leaving directory `/usr/src/kernels/3.10.0-862.el7.x86_64'
anyone have a fix for this, per chance?

Re: Broadcom bcm43228 WiFi support on CentOS 7

Posted: 2018/08/17 12:05:38
by TrevorH
Did you try the link from the top of the wiki article to http://elrepo.org/tiki/wl-kmod ?

Re: Broadcom bcm43228 WiFi support on CentOS 7

Posted: 2018/08/17 12:22:03
by fusion809
Rofl, no I didn't. I should have, thanks it works! I'm almost euphoric.

Re: [SOLVED] Broadcom bcm43228 WiFi support on CentOS 7

Posted: 2018/09/27 19:47:18
by richardlrz
Hi fusion809, I tried to as you did for run command :
make -C /lib/modules/'uname -r'/build/M='pwd'
I got
make: *** /lib/modules/uname -r/build/M=pwd: No such file or directory. Stop.

I have tried add build directory , but I got same error, any idea you can make it go and end of some error?

Thanks in advance!

Re: [SOLVED] Broadcom bcm43228 WiFi support on CentOS 7

Posted: 2018/09/28 06:41:42
by toracat
@richardlrz

I strongly suggest that you follow the instructions given in http://elrepo.org/tiki/wl-kmod as @fusion809 did.

Re: [SOLVED] Broadcom bcm43228 WiFi support on CentOS 7

Posted: 2018/10/19 02:46:46
by richardlrz
Thanks, it works. :D :lol: