Trying to install broadcom driver

General support questions
Post Reply
speights
Posts: 2
Joined: 2015/04/25 23:16:42

Trying to install broadcom driver

Post by speights » 2015/04/26 02:06:43

Hey Everyone, I am new to Linux and have just installed CentOS 7. Now I am trying to get the wifi to work. I tried to follow these instructions http://wiki.centos.org/HowTos/Laptops/W ... ction=show but seem to have messed it up and am a bit confused about what to do next.

here is a copy from the terminal:

[chris@localhost ~]$ /sbin/lspci | grep Broadcom
0b:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
[chris@localhost ~]$ su-
bash: su-: command not found...
[chris@localhost ~]$ su
Password:
[root@localhost chris]# yum install kernal-headers kernal-devel gcc
Loaded plugins: fastestmirror, langpacks
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
(1/4): extras/7/x86_64/primary_db | 41 kB 00:01
(2/4): base/7/x86_64/group_gz | 154 kB 00:02
(3/4): updates/7/x86_64/primary_db | 957 kB 00:07
(4/4): base/7/x86_64/primary_db | 5.1 MB 00:21
Loading mirror speeds from cached hostfile
* base: mirror.ventraip.net.au
* extras: centos.mirror.crucial.com.au
* updates: centos.mirror.serversaustralia.com.au
No package kernal-headers available.
No package kernal-devel available.
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.3-9.el7 will be installed
--> Processing Dependency: cpp = 4.8.3-9.el7 for package: gcc-4.8.3-9.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.3-9.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.3-9.el7.x86_64
--> Running transaction check
---> Package cpp.x86_64 0:4.8.3-9.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-78.el7 will be installed
--> Processing Dependency: glibc-headers = 2.17-78.el7 for package: glibc-devel-2.17-78.el7.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-78.el7.x86_64
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
--> Running transaction check
---> Package glibc-headers.x86_64 0:2.17-78.el7 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-78.el7.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-78.el7.x86_64
--> Running transaction check
---> Package kernel-headers.x86_64 0:3.10.0-229.1.2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
gcc x86_64 4.8.3-9.el7 base 16 M
Installing for dependencies:
cpp x86_64 4.8.3-9.el7 base 5.9 M
glibc-devel x86_64 2.17-78.el7 base 1.0 M
glibc-headers x86_64 2.17-78.el7 base 656 k
kernel-headers x86_64 3.10.0-229.1.2.el7 updates 2.3 M
libmpc x86_64 1.0.1-3.el7 base 51 k

Transaction Summary
================================================================================
Install 1 Package (+5 Dependent packages)

Total download size: 26 M
Installed size: 59 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/base/packages/glibc-headers-2.17-78.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for glibc-headers-2.17-78.el7.x86_64.rpm is not installed
(1/6): glibc-headers-2.17-78.el7.x86_64.rpm | 656 kB 00:15
(2/6): libmpc-1.0.1-3.el7.x86_64.rpm | 51 kB 00:01
(3/6): glibc-devel-2.17-78.el7.x86_64.rpm | 1.0 MB 00:19
Public key for kernel-headers-3.10.0-229.1.2.el7.x86_64.rpm is not installedETA
(4/6): kernel-headers-3.10.0-229.1.2.el7.x86_64.rpm | 2.3 MB 00:32
(5/6): cpp-4.8.3-9.el7.x86_64.rpm | 5.9 MB 00:57
(6/6): gcc-4.8.3-9.el7.x86_64.rpm | 16 MB 01:27
--------------------------------------------------------------------------------
Total 304 kB/s | 26 MB 01:27
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
Userid : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
Package : centos-release-7-1.1503.el7.centos.2.8.x86_64 (@anaconda)
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : libmpc-1.0.1-3.el7.x86_64 1/6
Installing : cpp-4.8.3-9.el7.x86_64 2/6
Installing : kernel-headers-3.10.0-229.1.2.el7.x86_64 3/6
Installing : glibc-headers-2.17-78.el7.x86_64 4/6
Installing : glibc-devel-2.17-78.el7.x86_64 5/6
Installing : gcc-4.8.3-9.el7.x86_64 6/6
Verifying : gcc-4.8.3-9.el7.x86_64 1/6
Verifying : glibc-devel-2.17-78.el7.x86_64 2/6
Verifying : kernel-headers-3.10.0-229.1.2.el7.x86_64 3/6
Verifying : cpp-4.8.3-9.el7.x86_64 4/6
Verifying : libmpc-1.0.1-3.el7.x86_64 5/6
Verifying : glibc-headers-2.17-78.el7.x86_64 6/6

Installed:
gcc.x86_64 0:4.8.3-9.el7

Dependency Installed:
cpp.x86_64 0:4.8.3-9.el7 glibc-devel.x86_64 0:2.17-78.el7
glibc-headers.x86_64 0:2.17-78.el7 kernel-headers.x86_64 0:3.10.0-229.1.2.el7
libmpc.x86_64 0:1.0.1-3.el7

Complete!
[root@localhost chris]# mkdir -p /usr/local/src/chris
[root@localhost chris]# mkdir -p /usr/local/src/hybrid-wl
[root@localhost chris]# mkdir -p /usr/local/src/hybrid-wl
[root@localhost chris]# cd /usr/local/src/hybrid-wl
[root@localhost hybrid-wl]# tar xvfz /home/chris/downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz
tar (child): /home/chris/downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
[root@localhost hybrid-wl]# tar xvfz /home/chris/Downloads/hybrid-v35_64-nodebug-pcoem-6_30_223_248.tar.gz
Makefile
lib/
lib/LICENSE.txt
lib/wlc_hybrid.o_shipped
src/
src/common/
src/common/include/
src/common/include/proto/
src/common/include/proto/802.11.h
src/common/include/proto/bcmevent.h
src/common/include/proto/bcmeth.h
src/common/include/proto/ethernet.h
src/common/include/proto/ieee80211_radiotap.h
src/common/include/proto/802.1d.h
src/common/include/proto/wpa.h
src/common/include/proto/bcmip.h
src/include/
src/include/packed_section_end.h
src/include/bcmutils.h
src/include/packed_section_start.h
src/include/bcmdefs.h
src/include/epivers.h
src/include/pcicfg.h
src/include/bcmcrypto/
src/include/bcmcrypto/tkhash.h
src/include/siutils.h
src/include/wlioctl.h
src/include/linux_osl.h
src/include/bcmendian.h
src/include/linuxver.h
src/include/osl.h
src/include/typedefs.h
src/shared/
src/shared/bcmwifi/
src/shared/bcmwifi/include/
src/shared/bcmwifi/include/bcmwifi_rates.h
src/shared/bcmwifi/include/bcmwifi_channels.h
src/shared/linux_osl.c
src/wl/
src/wl/sys/
src/wl/sys/wl_linux.c
src/wl/sys/wlc_key.h
src/wl/sys/wlc_utils.h
src/wl/sys/wl_iw.c
src/wl/sys/wlc_types.h
src/wl/sys/wl_export.h
src/wl/sys/wlc_ethereal.h
src/wl/sys/wl_iw.h
src/wl/sys/wlc_wowl.h
src/wl/sys/wl_cfg80211_hybrid.h
src/wl/sys/wl_linux.h
src/wl/sys/wl_cfg80211_hybrid.c
src/wl/sys/wl_dbg.h
src/wl/sys/wlc_pub.h
[root@localhost hybrid-wl]# chown -R someuser.somegroup /usr/local/src/hybrid-wl
chown: invalid user: ‘someuser.somegroup’
[root@localhost hybrid-wl]# groups chris
chris : chris wheel
[root@localhost hybrid-wl]# groups chris
chris : chris wheel
[root@localhost hybrid-wl]# groups
root
[root@localhost hybrid-wl]# getentgroup
bash: getentgroup: command not found...
[root@localhost hybrid-wl]# getent group
root:x:0:
bin:x:1:
daemon:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:
mem:x:8:
kmem:x:9:
wheel:x:10:chris
cdrom:x:11:
mail:x:12:postfix
man:x:15:
dialout:x:18:
floppy:x:19:
games:x:20:
tape:x:30:
video:x:39:
ftp:x:50:
lock:x:54:
audio:x:63:
nobody:x:99:
users:x:100:
utmp:x:22:
utempter:x:35:
systemd-journal:x:190:
dbus:x:81:
polkitd:x:999:
cgred:x:998:
tss:x:59:
colord:x:997:
usbmuxd:x:113:
dip:x:40:
ntp:x:38:
ssh_keys:x:996:
libstoragemgmt:x:995:
saslauth:x:76:
rpc:x:32:
rtkit:x:172:
radvd:x:75:
rpcuser:x:29:
nfsnobody:x:65534:
kvm:x:36:qemu
qemu:x:107:
chrony:x:994:
abrt:x:173:
sssd:x:993:
avahi-autoipd:x:170:
unbound:x:992:
pulse-access:x:991:
pulse:x:171:
gdm:x:42:
gnome-initial-setup:x:990:
postdrop:x:90:
postfix:x:89:
sshd:x:74:
slocate:x:21:
avahi:x:70:
stapusr:x:156:
stapsys:x:157:
stapdev:x:158:
tcpdump:x:72:
chris:x:1000:chris
[root@localhost hybrid-wl]# chown -R chris.chris /usr/local/src/hybrid-wl
[root@localhost hybrid-wl]# make -C /lib/modules/`uname -r`/build/ M=`pwd`
make: *** /lib/modules/3.10.0-229.el7.x86_64/build/: No such file or directory. Stop.
[root@localhost hybrid-wl]# make -C /lib/modules/`chris -r/build/ M=`pwd`
> $ chris
> wget
>

Thanks for any help.

giulix63
Posts: 1305
Joined: 2014/05/14 10:06:37
Location: UK

Re: Trying to install broadcom driver

Post by giulix63 » 2015/04/26 12:33:11

Did you read the first note? Follow the white rabbit (ElRepo howto) :)
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

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

Re: Trying to install broadcom driver

Post by TrevorH » 2015/04/26 12:51:59

You almost certainly shouldn't be running this lot as root! The only things that root access is required for are the yum installs. Don't create the directories under /usr, use your home directory instead. Only once the packages are created do you need root access again.
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

speights
Posts: 2
Joined: 2015/04/25 23:16:42

Re: Trying to install broadcom driver

Post by speights » 2015/04/27 04:36:17

Thanks.. How do I know if I should follow the el 5,6 or 7 instructions. Sorry for my ignorance

giulix63
Posts: 1305
Joined: 2014/05/14 10:06:37
Location: UK

Re: Trying to install broadcom driver

Post by giulix63 » 2015/04/27 07:04:18

Well, you installed 7, right? So, 7. There's a 1-1 correspondence between CentOS and RHEL.
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

Post Reply