You are not logged in.

#1 2016-01-17 13:44:11

dimozavar
Member
From: Bulgaria
Registered: 2016-01-17
Posts: 7

Network controller: Broadcom Corporation BCM43142 802.11b/g/n

I have Network controller: Broadcom Corporation BCM43142 802.11b/g/n on my computer.
I've tried to install packages like broadcom-wl b43-firmware , but the pacman said that these packages aren't available. I've tried to get the driver from the broadcom's site, but it didn' t worked, too. Can you tell me how to install this driver?
Thanks in advance!!! smile

Offline

#2 2016-01-17 14:02:17

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,982
Website

Re: Network controller: Broadcom Corporation BCM43142 802.11b/g/n

https://wiki.archlinux.org/index.php/Ar … Repository

Mod note: not a kernel & harware issue, moved to N.C.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Online

#3 2016-01-17 16:00:12

dimozavar
Member
From: Bulgaria
Registered: 2016-01-17
Posts: 7

Re: Network controller: Broadcom Corporation BCM43142 802.11b/g/n

I've read this article bit it didn't worked, too. sad

Offline

#4 2016-01-17 16:04:51

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 593

Re: Network controller: Broadcom Corporation BCM43142 802.11b/g/n

What didn't work? Can you provide some logs or output of what you did?

Offline

#5 2016-01-17 16:10:22

dimozavar
Member
From: Bulgaria
Registered: 2016-01-17
Posts: 7

Re: Network controller: Broadcom Corporation BCM43142 802.11b/g/n

The script that I used is:
#/usr/bin/env bash

# Install some pacakages we'll need to compile the driver below.
sudo pacman -S  gcc base-devel

# Create working dir for Broadcom driver files and patches.
mkdir hybrid_wl_f23

# Change to working dir.
cd hybrid_wl_f23

if [ 'x86_64' == `uname -m` ]; then
    # 64-bit driver files.
    FILE='hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz'
else
    # 32-bit driver files.
    FILE='hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz'
fi

# Download Broadcom Linux Wi-Fi driver.
wget http://www.broadcom.com/docs/linux_sta/$FILE

# Extract driver files.
tar zxvf $FILE

# Compile driver.
make clean && make

# Install driver.
sudo make install

# Update available drivers.
sudo depmod -a

# Unload conflicting drivers.
sudo rmmod b43 ssb bcma

# Load the driver.
sudo modprobe wl

# Blacklist conflicting drivers.
printf 'blacklist b43\nblacklist ssb\nblacklist bcma\n' | sudo tee /etc/modprobe.d/wl.conf

# Load driver automatically at boot time.
echo 'wl' | sudo tee /etc/modules-load.d/wl.conf

# Connect to a Wi-Fi network via NetworkManager...

and the output is:
warning: gcc-5.3.0-3 is up to date -- reinstalling
:: There are 25 members in group base-devel:
:: Repository core
   1) autoconf  2) automake  3) binutils  4) bison  5) fakeroot
   6) file  7) findutils  8) flex  9) gawk  10) gcc  11) gettext
   12) grep  13) groff  14) gzip  15) libtool  16) m4  17) make
   18) pacman  19) patch  20) pkg-config  21) sed  22) sudo
   23) texinfo  24) util-linux  25) which

Enter a selection (default=all):
warning: autoconf-2.69-2 is up to date -- reinstalling
warning: automake-1.15-1 is up to date -- reinstalling
warning: binutils-2.25.1-3 is up to date -- reinstalling
warning: bison-3.0.4-1 is up to date -- reinstalling
warning: fakeroot-1.20.2-1 is up to date -- reinstalling
warning: file-5.25-1 is up to date -- reinstalling
warning: findutils-4.4.2-6 is up to date -- reinstalling
warning: flex-2.6.0-1 is up to date -- reinstalling
warning: gawk-4.1.3-1 is up to date -- reinstalling
warning: skipping target: gcc
warning: gettext-0.19.6-2 is up to date -- reinstalling
warning: grep-2.22-1 is up to date -- reinstalling
warning: groff-1.22.3-5 is up to date -- reinstalling
warning: gzip-1.6-1 is up to date -- reinstalling
warning: libtool-2.4.6-4 is up to date -- reinstalling
warning: m4-1.4.17-1 is up to date -- reinstalling
warning: make-4.1-1 is up to date -- reinstalling
warning: pacman-4.2.1-4 is up to date -- reinstalling
warning: patch-2.7.5-1 is up to date -- reinstalling
warning: pkg-config-0.29-1 is up to date -- reinstalling
warning: sed-4.2.2-3 is up to date -- reinstalling
warning: sudo-1.8.15-1 is up to date -- reinstalling
warning: texinfo-6.0-1 is up to date -- reinstalling
warning: util-linux-2.27.1-1 is up to date -- reinstalling
warning: which-2.21-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (25)     Old Version  New Version  Net Change

core/autoconf    2.69-2       2.69-2         0.00 MiB
core/automake    1.15-1       1.15-1         0.00 MiB
core/binutils    2.25.1-3     2.25.1-3       0.00 MiB
core/bison       3.0.4-1      3.0.4-1        0.00 MiB
core/fakeroot    1.20.2-1     1.20.2-1       0.00 MiB
core/file        5.25-1       5.25-1         0.00 MiB
core/findutils   4.4.2-6      4.4.2-6        0.00 MiB
core/flex        2.6.0-1      2.6.0-1        0.00 MiB
core/gawk        4.1.3-1      4.1.3-1        0.00 MiB
core/gcc         5.3.0-3      5.3.0-3        0.00 MiB
core/gettext     0.19.6-2     0.19.6-2       0.00 MiB
core/grep        2.22-1       2.22-1         0.00 MiB
core/groff       1.22.3-5     1.22.3-5       0.00 MiB
core/gzip        1.6-1        1.6-1          0.00 MiB
core/libtool     2.4.6-4      2.4.6-4        0.00 MiB
core/m4          1.4.17-1     1.4.17-1       0.00 MiB
core/make        4.1-1        4.1-1          0.00 MiB
core/pacman      4.2.1-4      4.2.1-4        0.00 MiB
core/patch       2.7.5-1      2.7.5-1        0.00 MiB
core/pkg-config  0.29-1       0.29-1         0.00 MiB
core/sed         4.2.2-3      4.2.2-3        0.00 MiB
core/sudo        1.8.15-1     1.8.15-1       0.00 MiB
core/texinfo     6.0-1        6.0-1          0.00 MiB
core/util-linux  2.27.1-1     2.27.1-1       0.00 MiB
core/which       2.21-1       2.21-1         0.00 MiB

Total Installed Size:  190.13 MiB
Net Upgrade Size:        0.00 MiB

:: Proceed with installation? [Y/n]
(25/25) checking keys in keyring                   [--------] 100%
(25/25) checking package integrity                 [--------] 100%
(25/25) loading package files                      [--------] 100%
(25/25) checking for file conflicts                [--------] 100%
(25/25) checking available disk space              [--------] 100%
( 1/25) reinstalling binutils                      [--------] 100%
( 2/25) reinstalling gcc                           [--------] 100%
( 3/25) reinstalling gawk                          [--------] 100%
( 4/25) reinstalling m4                            [--------] 100%
( 5/25) reinstalling autoconf                      [--------] 100%
( 6/25) reinstalling automake                      [--------] 100%
( 7/25) reinstalling bison                         [--------] 100%
( 8/25) reinstalling sed                           [--------] 100%
( 9/25) reinstalling util-linux                    [--------] 100%
(10/25) reinstalling fakeroot                      [--------] 100%
(11/25) reinstalling file                          [--------] 100%
(12/25) reinstalling findutils                     [--------] 100%
(13/25) reinstalling flex                          [--------] 100%
(14/25) reinstalling gettext                       [--------] 100%
(15/25) reinstalling grep                          [--------] 100%
(16/25) reinstalling groff                         [--------] 100%
(17/25) reinstalling gzip                          [--------] 100%
(18/25) reinstalling libtool                       [--------] 100%
(19/25) reinstalling texinfo                       [--------] 100%
(20/25) reinstalling make                          [--------] 100%
(21/25) reinstalling pacman                        [--------] 100%
(22/25) reinstalling patch                         [--------] 100%
(23/25) reinstalling pkg-config                    [--------] 100%
(24/25) reinstalling sudo                          [--------] 100%
(25/25) reinstalling which                         [--------] 100%
mkdir: cannot create directory ‘hybrid_wl_f23’: File exists
--2016-01-17 18:09:40--  http://www.broadcom.com/docs/linux_sta/ … 271.tar.gz
Resolving www.broadcom.com (www.broadcom.com)... 63.251.216.155
Connecting to www.broadcom.com (www.broadcom.com)|63.251.216.155|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2928541 (2.8M) [application/x-gzip]
Saving to: ‘hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz.4’

hybrid-v35_64-no 100%[==========>]   2.79M   921KB/s   in 3.1s   

2016-01-17 18:09:44 (921 KB/s) - ‘hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz.4’ saved [2928541/2928541]

Makefile
lib/
lib/wlc_hybrid.o_shipped

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd` clean
make[1]: Entering directory '/usr/lib/modules/4.4.0-3-ARCH/build'
make[1]: *** No rule to make target 'clean'.  Stop.
make[1]: Leaving directory '/usr/lib/modules/4.4.0-3-ARCH/build'
Makefile:165: recipe for target 'clean' failed
make: *** [clean] Error 2
install -D -m 755 wl.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless
install: cannot stat ‘wl.ko’: No such file or directory
Makefile:168: recipe for target 'install' failed
make: *** [install] Error 1
rmmod: ERROR: Module b43 is not currently loaded
rmmod: ERROR: Module ssb is not currently loaded
rmmod: ERROR: Module bcma is not currently loaded
modprobe: FATAL: Module wl not found in directory /lib/modules/4.4.0-3-ARCH
blacklist b43
blacklist ssb
blacklist bcma
wl

Offline

#6 2016-01-17 16:13:38

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 593

Re: Network controller: Broadcom Corporation BCM43142 802.11b/g/n

Looks like a clusterfuck, please format your post with code tags and add some comments!

Last edited by ugjka (2016-01-17 16:14:32)

Offline

#7 2016-01-17 17:07:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,115

Re: Network controller: Broadcom Corporation BCM43142 802.11b/g/n

Where did you find that script?  Why do you think this is a good idea?
Why are you not installing https://aur.archlinux.org/packages/b43-firmware/ using the information Trilby linked?
What in this article did not work? https://wiki.archlinux.org/index.php/Broadcom_wireless

Please fix your post using BBCode code tags.  This link is also available under every message post box on the forums for your reference.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#8 2016-01-17 17:14:37

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,982
Website

Re: Network controller: Broadcom Corporation BCM43142 802.11b/g/n

dimozavar wrote:

I've read this article bit it didn't worked, too. sad

No, reading it and doing something entirely different will not suffice.  You need to follow the instructions in the wiki.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Online

Board footer

Powered by FluxBB