[SOLVED] Broadcom bcm43228 WiFi support on CentOS 7

Issues related to hardware problems
Post Reply
fusion809
Posts: 6
Joined: 2018/01/24 03:06:21

[SOLVED] Broadcom bcm43228 WiFi support on CentOS 7

Post by fusion809 » 2018/08/17 09:22:30

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
Last edited by fusion809 on 2018/08/17 12:22:21, edited 1 time in total.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Broadcom bcm43228 WiFi support on CentOS 7

Post by TrevorH » 2018/08/17 09:28:00

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.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

fusion809
Posts: 6
Joined: 2018/01/24 03:06:21

Re: Broadcom bcm43228 WiFi support on CentOS 7

Post by fusion809 » 2018/08/17 11:12:27

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.

fusion809
Posts: 6
Joined: 2018/01/24 03:06:21

Re: Broadcom bcm43228 WiFi support on CentOS 7

Post by fusion809 » 2018/08/17 12:03:16

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?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Broadcom bcm43228 WiFi support on CentOS 7

Post by TrevorH » 2018/08/17 12:05:38

Did you try the link from the top of the wiki article to http://elrepo.org/tiki/wl-kmod ?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

fusion809
Posts: 6
Joined: 2018/01/24 03:06:21

Re: Broadcom bcm43228 WiFi support on CentOS 7

Post by fusion809 » 2018/08/17 12:22:03

Rofl, no I didn't. I should have, thanks it works! I'm almost euphoric.

richardlrz
Posts: 6
Joined: 2018/09/27 19:24:25

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

Post by richardlrz » 2018/09/27 19:47:18

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!

User avatar
toracat
Site Admin
Posts: 7518
Joined: 2006/09/03 16:37:24
Location: California, US
Contact:

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

Post by toracat » 2018/09/28 06:41:42

@richardlrz

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

richardlrz
Posts: 6
Joined: 2018/09/27 19:24:25

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

Post by richardlrz » 2018/10/19 02:46:46

Thanks, it works. :D :lol:

Post Reply