Broadcom WIFI install on CentOS7
Broadcom WIFI install on CentOS7
Hello All,
Linux semi-newb. Trying to learn and installed CentOS7 on my HP Pavilion 500 Desktop.
Trying to complete my wireless card driver install https://wiki.centos.org/HowTos/Laptops/ ... s/Broadcom
Basically stuck at step 3a in above link.
[root@localhost 3.10.0-514.10.2.el7.x86_64]# lspci -nn | grep Broadcom
03:00.0 Network controller [0280]: Broadcom Limited BCM43228 802.11a/b/g/n [14e4:4359]
Downloaded and unzipped appropriate driver.
[sean@localhost hybrid-v35_64-nodebug-pcoem-6_30_223_271]$ pwd
/usr/local/src/hybrid-wl/hybrid-v35_64-nodebug-pcoem-6_30_223_271
[sean@localhost hybrid-v35_64-nodebug-pcoem-6_30_223_271]$ ls
built-in.o lib Makefile src
[root@localhost modules]# pwd
/lib/modules
[root@localhost modules]# ls (NOT SURE BELOW WHICH ONE TO USE , TRYING THE FIRST)
3.10.0-514.10.2.el7.x86_64 3.10.0-514.el7.x86_64
*** I am not really sure how to run step 3a. I have run it from both directories and get the below:
[root@localhost 3.10.0-514.10.2.el7.x86_64]# pwd
/lib/modules/3.10.0-514.10.2.el7.x86_64
[root@localhost 3.10.0-514.10.2.el7.x86_64]# make -C /lib/modules/3.10.0-514.10.2.el7.x86_64/build/ M= /usr/local/src/hybrid-wl/hybrid-v35_64-nodebug-pcoem-6_30_223_271/
make: Entering directory `/usr/src/kernels/3.10.0-514.10.2.el7.x86_64'
make[1]: *** No rule to make target `arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h'. Stop.
make: *** [archheaders] Error 2
make: Leaving directory `/usr/src/kernels/3.10.0-514.10.2.el7.x86_64'
OR
[sean@localhost hybrid-v35_64-nodebug-pcoem-6_30_223_271]$ pwd
/usr/local/src/hybrid-wl/hybrid-v35_64-nodebug-pcoem-6_30_223_271
[sean@localhost hybrid-v35_64-nodebug-pcoem-6_30_223_271]$ make -C /lib/modules/3.10.0-514.10.2.el7.x86_64/build/ M= /usr/local/src/hybrid-wl/hybrid-v35_64-nodebug-pcoem-6_30_223_271/clear
make: Entering directory `/usr/src/kernels/3.10.0-514.10.2.el7.x86_64'
Makefile:641: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
make: *** No rule to make target `/usr/local/src/hybrid-wl/hybrid-v35_64-nodebug-pcoem-6_30_223_271/clear'. Stop.
make: Leaving directory `/usr/src/kernels/3.10.0-514.10.2.el7.x86_64'
Hoping someone might be able to advise where I am going wrong. Have been working on this for a few weeks and checked everywhere I could find. I am sure I am not "making" the file properly but do not really know enough ...
Linux semi-newb. Trying to learn and installed CentOS7 on my HP Pavilion 500 Desktop.
Trying to complete my wireless card driver install https://wiki.centos.org/HowTos/Laptops/ ... s/Broadcom
Basically stuck at step 3a in above link.
[root@localhost 3.10.0-514.10.2.el7.x86_64]# lspci -nn | grep Broadcom
03:00.0 Network controller [0280]: Broadcom Limited BCM43228 802.11a/b/g/n [14e4:4359]
Downloaded and unzipped appropriate driver.
[sean@localhost hybrid-v35_64-nodebug-pcoem-6_30_223_271]$ pwd
/usr/local/src/hybrid-wl/hybrid-v35_64-nodebug-pcoem-6_30_223_271
[sean@localhost hybrid-v35_64-nodebug-pcoem-6_30_223_271]$ ls
built-in.o lib Makefile src
[root@localhost modules]# pwd
/lib/modules
[root@localhost modules]# ls (NOT SURE BELOW WHICH ONE TO USE , TRYING THE FIRST)
3.10.0-514.10.2.el7.x86_64 3.10.0-514.el7.x86_64
*** I am not really sure how to run step 3a. I have run it from both directories and get the below:
[root@localhost 3.10.0-514.10.2.el7.x86_64]# pwd
/lib/modules/3.10.0-514.10.2.el7.x86_64
[root@localhost 3.10.0-514.10.2.el7.x86_64]# make -C /lib/modules/3.10.0-514.10.2.el7.x86_64/build/ M= /usr/local/src/hybrid-wl/hybrid-v35_64-nodebug-pcoem-6_30_223_271/
make: Entering directory `/usr/src/kernels/3.10.0-514.10.2.el7.x86_64'
make[1]: *** No rule to make target `arch/x86/syscalls/syscall_32.tbl', needed by `arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h'. Stop.
make: *** [archheaders] Error 2
make: Leaving directory `/usr/src/kernels/3.10.0-514.10.2.el7.x86_64'
OR
[sean@localhost hybrid-v35_64-nodebug-pcoem-6_30_223_271]$ pwd
/usr/local/src/hybrid-wl/hybrid-v35_64-nodebug-pcoem-6_30_223_271
[sean@localhost hybrid-v35_64-nodebug-pcoem-6_30_223_271]$ make -C /lib/modules/3.10.0-514.10.2.el7.x86_64/build/ M= /usr/local/src/hybrid-wl/hybrid-v35_64-nodebug-pcoem-6_30_223_271/clear
make: Entering directory `/usr/src/kernels/3.10.0-514.10.2.el7.x86_64'
Makefile:641: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
make: *** No rule to make target `/usr/local/src/hybrid-wl/hybrid-v35_64-nodebug-pcoem-6_30_223_271/clear'. Stop.
make: Leaving directory `/usr/src/kernels/3.10.0-514.10.2.el7.x86_64'
Hoping someone might be able to advise where I am going wrong. Have been working on this for a few weeks and checked everywhere I could find. I am sure I am not "making" the file properly but do not really know enough ...
Re: Broadcom WIFI install on CentOS7
Hello
I feel your pain of broadcom wireless.
I have BCM4313 wireless card on my dell latitude 6430, the brcmsmac driver does work for me, it's just very slow
download speed
brcmsmac=2 Mbs
hybrid-wl=35 Mbs
I used this guide https://elrepo.org/tiki/wl-kmod to make an rpm and installed with yum.
It works with older and newer kernels (3.10 versions anyway) with no need to remake every time
Only thing missing from the guide is I think you need to install kernel-headers
If you have any problems let us know.
Anyone got it working on 4.10 kernel, I got it to build but it locks up the system.
I feel your pain of broadcom wireless.
I have BCM4313 wireless card on my dell latitude 6430, the brcmsmac driver does work for me, it's just very slow
download speed
brcmsmac=2 Mbs
hybrid-wl=35 Mbs
I used this guide https://elrepo.org/tiki/wl-kmod to make an rpm and installed with yum.
It works with older and newer kernels (3.10 versions anyway) with no need to remake every time
Only thing missing from the guide is I think you need to install kernel-headers
If you have any problems let us know.
Anyone got it working on 4.10 kernel, I got it to build but it locks up the system.
Re: Broadcom WIFI install on CentOS7
Hey! Thanks for posting!
I followed all of the steps in your link. It was helpful, but when I get to step 8 I get:
[root@localhost sean]# modprobe wl
modprobe: FATAL: Module wl not found.
In the previous step, when loading the module, it seemed to run fine:
[root@localhost sean]# rpm -Uvh /home/sean/rpmbuild/SOURCES/wl-kmod-6_30_223_271-3.el7.elrepo.nosrc.rpm
warning: /home/sean/rpmbuild/SOURCES/wl-kmod-6_30_223_271-3.el7.elrepo.nosrc.rpm: Header V4 DSA/SHA1 Signature, key ID baadae52: NOKEY
Updating / installing...
1:wl-kmod-6_30_223_271-3.el7.elrepo################################# [100%]
warning: user tindall does not exist - using root
warning: group tindall does not exist - using root
warning: user tindall does not exist - using root
warning: group tindall does not exist - using root
warning: user tindall does not exist - using root
warning: group tindall does not exist - using root
warning: user tindall does not exist - using root
warning: group tindall does not exist - using root
warning: user tindall does not exist - using root
warning: group tindall does not exist - using root
... thanks very much for your help so far. I am stumped at this point. Am I just runnign the wrong modprobe commands? None of the other ones worked either (like # modprobe -r b43 , etc)
... pretty much all of the steps seemed to work fine, but then nothing recognized. Apart from Network Manager / nmtui tool, not sure how else I can check
I followed all of the steps in your link. It was helpful, but when I get to step 8 I get:
[root@localhost sean]# modprobe wl
modprobe: FATAL: Module wl not found.
In the previous step, when loading the module, it seemed to run fine:
[root@localhost sean]# rpm -Uvh /home/sean/rpmbuild/SOURCES/wl-kmod-6_30_223_271-3.el7.elrepo.nosrc.rpm
warning: /home/sean/rpmbuild/SOURCES/wl-kmod-6_30_223_271-3.el7.elrepo.nosrc.rpm: Header V4 DSA/SHA1 Signature, key ID baadae52: NOKEY
Updating / installing...
1:wl-kmod-6_30_223_271-3.el7.elrepo################################# [100%]
warning: user tindall does not exist - using root
warning: group tindall does not exist - using root
warning: user tindall does not exist - using root
warning: group tindall does not exist - using root
warning: user tindall does not exist - using root
warning: group tindall does not exist - using root
warning: user tindall does not exist - using root
warning: group tindall does not exist - using root
warning: user tindall does not exist - using root
warning: group tindall does not exist - using root
... thanks very much for your help so far. I am stumped at this point. Am I just runnign the wrong modprobe commands? None of the other ones worked either (like # modprobe -r b43 , etc)
... pretty much all of the steps seemed to work fine, but then nothing recognized. Apart from Network Manager / nmtui tool, not sure how else I can check
Re: Broadcom WIFI install on CentOS7
Hello
If rpm installed, the wl.ko should be in /lib/modules/3.10.0-514.16.1.el7.x86_64/extra/wl
if it has installed ok you might need to do then
then
I'm pretty sure a reboot does all the above anyway.
I can't seem to add an rpm as an attachment
If all else fails PM me and I'll email you my rpm
If rpm installed, the wl.ko should be in /lib/modules/3.10.0-514.16.1.el7.x86_64/extra/wl
if it has installed ok you might need to do
Code: Select all
insmod wl.ko
Code: Select all
depmod
Code: Select all
modprobe wl
I can't seem to add an rpm as an attachment
If all else fails PM me and I'll email you my rpm
Re: Broadcom WIFI install on CentOS7
But the last command you listed there was the rpm --install for the nosrc rpm. That does nothing except install it ready to be built and if you stopped there then you have about another 10 steps to go.
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
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
Re: Broadcom WIFI install on CentOS7
Thanks for above help guys. Here's what I've tried so far:
[root@localhost sean]# insmod wl.ko
insmod: ERROR: could not load module wl.ko: No such file or directory
"If rpm installed, the wl.ko should be in /lib/modules/3.10.0-514.16.1.el7.x86_64/extra/wl ... "
I browsed to /lib/modules/ but had folders with different version naming, both of them had empty /extra folders
[root@localhost modules]# ls
3.10.0-514.10.2.el7.x86_64 kabi-current kabi-rhel71 kabi-rhel73
3.10.0-514.el7.x86_64 kabi-rhel70 kabi-rhel72
[root@localhost 3.10.0-514.el7.x86_64]# ls
build modules.dep modules.symbols
extra modules.dep.bin modules.symbols.bin
kernel modules.devname source
modules.alias modules.drm updates
modules.alias.bin modules.modesetting vdso
modules.block modules.networking weak-updates
modules.builtin modules.order
modules.builtin.bin modules.softdep
[root@localhost 3.10.0-514.el7.x86_64]# cd extra/
[root@localhost extra]# ls
>
Tried a reboot a few times.
"But the last command you listed there was the rpm --install for the nosrc rpm. That does nothing except install it ready to be built and if you stopped there then you have about another 10 steps to go."
Any idea where I can look for the steps? Thanks very much for responses so far.
[root@localhost sean]# insmod wl.ko
insmod: ERROR: could not load module wl.ko: No such file or directory
"If rpm installed, the wl.ko should be in /lib/modules/3.10.0-514.16.1.el7.x86_64/extra/wl ... "
I browsed to /lib/modules/ but had folders with different version naming, both of them had empty /extra folders
[root@localhost modules]# ls
3.10.0-514.10.2.el7.x86_64 kabi-current kabi-rhel71 kabi-rhel73
3.10.0-514.el7.x86_64 kabi-rhel70 kabi-rhel72
[root@localhost 3.10.0-514.el7.x86_64]# ls
build modules.dep modules.symbols
extra modules.dep.bin modules.symbols.bin
kernel modules.devname source
modules.alias modules.drm updates
modules.alias.bin modules.modesetting vdso
modules.block modules.networking weak-updates
modules.builtin modules.order
modules.builtin.bin modules.softdep
[root@localhost 3.10.0-514.el7.x86_64]# cd extra/
[root@localhost extra]# ls
>
Tried a reboot a few times.
"But the last command you listed there was the rpm --install for the nosrc rpm. That does nothing except install it ready to be built and if you stopped there then you have about another 10 steps to go."
Any idea where I can look for the steps? Thanks very much for responses so far.
Re: Broadcom WIFI install on CentOS7
The ELRepo how to that you linked to - https://elrepo.org/tiki/wl-kmod - has multiple steps to be performed and if you stopped just after the rpm --install for the nosrc rpm then you need to go back and read the rest of it. The only place I see running rpm -Uvh on that page is for installing the package you just built using `rpmbuild --rebuild --define 'packager <your-name>' /<path-to-nosrc.rpm>/wl-kmod*nosrc.rpm` but your command just installed the package you just rebuilt. Go back and read the page again and run from scratch making sure you run all steps from 1 - 7 and that each step works and does not end with an error. If it completes correctly then at the end of step 6 you should have
and it is the file that that wrote that you need to rpm -Uvh install not the nosrc SRPM that you used to build it.
Code: Select all
Wrote: /home/<user>/rpmbuild/RPMS/x86_64/kmod-wl-<version>.x86_64.rpm
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
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
Re: Broadcom WIFI install on CentOS7
I have Centos 7 installed on a Macbook Pro with wireless hardware BCM4322. Tried many ideas to get it working and finally succeeded by following this:
https://wiki.centos.org/HowTos/Laptops/ ... 7701e1291f
It's quite a complex procedure and you have to follow it very carefully, but it works.
https://wiki.centos.org/HowTos/Laptops/ ... 7701e1291f
It's quite a complex procedure and you have to follow it very carefully, but it works.