Results 1 to 5 of 5

Thread: Broadcom BCM43142

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2015-Mar
    Posts
    2

    Broadcom BCM43142

    I have been trying to use this card in kali linux for while now. I have followed many tutorial, all without success. The last one i found and the most promising one for me was at https://forums.kali.org/showthread.p...ry-frustrating. Everything works fine until I run make, at which point i get:

    Code:
    KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
    make[1]: Entering directory `/usr/src/linux-headers-3.18.0-kali3-amd64'
    CFG80211 API is prefered for this kernel version
    Using CFG80211 API
    /usr/src/linux-headers-3.18.0-kali3-common/scripts/Makefile.build:397: *** missing separator.  Stop.
    make[3]: *** [_module_/root/Desktop/drivers/d#3/broadcom-wl] Error 2
    make[2]: *** [sub-make] Error 2
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.18.0-kali3-amd64'
    make: *** [all] Error 2
    I have also tryed using the driver supplied by broadcom at https://www.broadcom.com/support/802.11/linux_sta.php.
    After I run make i get:


    Code:
    KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
    make[1]: Entering directory `/usr/src/linux-headers-3.18.0-kali3-amd64'
    CFG80211 API is prefered for this kernel version
    Using CFG80211 API
      LD      /root/Desktop/drivers/hybrid_wl/built-in.o
      CC [M]  /root/Desktop/drivers/hybrid_wl/src/shared/linux_osl.o
      CC [M]  /root/Desktop/drivers/hybrid_wl/src/wl/sys/wl_linux.o
    /root/Desktop/drivers/hybrid_wl/src/wl/sys/wl_linux.c: In function ‘wl_alloc_linux_if’:
    /root/Desktop/drivers/hybrid_wl/src/wl/sys/wl_linux.c:1310:64: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
    /root/Desktop/drivers/hybrid_wl/src/wl/sys/wl_linux.c:1310:8: error: ‘alloc_netdev’ undeclared (first use in this function)
    /root/Desktop/drivers/hybrid_wl/src/wl/sys/wl_linux.c:1310:8: note: each undeclared identifier is reported only once for each function it appears in
    make[4]: *** [/root/Desktop/drivers/hybrid_wl/src/wl/sys/wl_linux.o] Error 1
    make[3]: *** [_module_/root/Desktop/drivers/hybrid_wl] Error 2
    make[2]: *** [sub-make] Error 2
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.18.0-kali3-amd64'
    make: *** [all] Error 2
    Can anyone help?

  2. #2
    Join Date
    2015-Apr
    Posts
    1

  3. #3
    Join Date
    2014-Apr
    Posts
    15
    I feel dumb, but those instructions aren't very clear to me. I also have issues with BCM43142.

  4. #4
    Join Date
    2015-Mar
    Posts
    2
    As Y4kuzi, I didnt understand the instructions perfectly, but i thought i had to download the .deb file from the last link, and then run dpkg -i. When I tried that, I got the following message:

    Code:
    Selecting previously unselected package bcmwl-kernel-source.
    dpkg: regarding bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb containing bcmwl-kernel-source:
     wireless-bcm43142-oneiric-dkms conflicts with bcmwl-kernel-source
      bcmwl-kernel-source (version 6.30.223.248+bdcom-0ubuntu2) is to be installed.
    
    dpkg: error processing bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb (--install):
     conflicting packages - not installing bcmwl-kernel-source
    Errors were encountered while processing:
     bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb
    I thought that package was left over by my previous attempts, so i removed it with apt-get remove.

    Then I tried dpkg -i again, and got a similar message:


    Code:
    dpkg: regarding bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb containing bcmwl-kernel-source:
     wireless-bcm43142-dkms conflicts with bcmwl-kernel-source
      bcmwl-kernel-source (version 6.30.223.248+bdcom-0ubuntu2) is to be installed.
    
    dpkg: error processing bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb (--install):
     conflicting packages - not installing bcmwl-kernel-source
    Errors were encountered while processing:
     bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb

    I thought the same thing as before, and did the same again.

    After that i tried dpkg -i, and got this:

    Code:
    (Reading database ... 371283 files and directories currently installed.)
    Unpacking bcmwl-kernel-source (from bcmwl-kernel-source_6.30.223.248+bdcom-0ubuntu2_amd64.deb) ...
    Setting up bcmwl-kernel-source (6.30.223.248+bdcom-0ubuntu2) ...
    Loading new bcmwl-6.30.223.248+bdcom DKMS files...
    First Installation: checking all kernels...
    Building only for 3.18.0-kali3-amd64
    Building for architecture x86_64
    Building initial module for 3.18.0-kali3-amd64
    Done.
    
    wl:
    Running module version sanity check.
     - Original module
       - Found /lib/modules/3.18.0-kali3-amd64/updates/dkms/wl.ko
       - Storing in /var/lib/dkms/bcmwl/original_module/3.18.0-kali3-amd64/x86_64/
       - Archiving for uninstallation purposes
     - Installation
       - Installing to /lib/modules/3.18.0-kali3-amd64/updates/
    
    depmod......
    
    DKMS: install completed.
    ERROR: could not insert 'wl': Invalid argument
    I: update-initramfs is disabled (live system is running without media mounted on /lib/live/mount/medium).

    I tried modprobe wl and got:
    "ERROR: could not insert 'wl': Invalid argument"

    Any ideas?

    I also noticed that it said " - Installing to /lib/modules/3.18.0-kali3-amd64/updates/" so i checked and a wl.ko file does exist there.


    (note that I am not very advanced when it comes to linux. I have been using it for a while now, but never got into things like drivers. All I know about this subject is what I managed to understand the last few days I have been trying to solve this problem)


    (I am running kali 1.1.0a 64bit from a usb with persistence set-up)

    UPDATE:

    I tried installing this while running from the same usb but without persistence.
    I connected with ethernet, run apt-get update and apt-get upgrade, then installed dkms (apt-get install dkms), then run dpkg -i and it worked. I then run modprobe wl, which didnt fail, then service network-manager restart, and it worked!

    My guess right now is that it didnt work on the usb with persistence because of all the previous attempts I did there(probably something left behind by them interfered with it.)
    I will setup the usb with persistence from scratch and see if it works.


    UPDATE2:

    I setup the usb again from scratch an it worked. Thanks.
    Last edited by spirosw7; 2015-04-18 at 22:19.

  5. #5
    Join Date
    2016-Jan
    Location
    Ukraine
    Posts
    11
    The solution!



    Broadcom BCM4311, BCM4312, BCM4313, BCM4321, BCM4322, BCM43224, BCM43225, BCM43227, BCM43228, BCM43142, BCM4331, BCM4352, BCM4360 devices (wl)

    This page describes how to enable support for WiFi devices based on Broadcom wireless LAN chips, using the vendor driver on Debian systems.

    Contents

    Broadcom BCM4311, BCM4312, BCM4313, BCM4321, BCM4322, BCM43224, BCM43225, BCM43227, BCM43228, BCM43142, BCM4331, BCM4352, BCM4360 devices (wl)
    Installation
    Known Issues
    Supported Devices
    See Also
    External Links

    The proprietary Broadcom wireless LAN driver (wl, aka broadcom-sta) provides support for some Broadcom-based PCI/PCIe hardware. It includes a binary-only component targeted for the x86 or x86-64 architecture. Supported devices are listed at the end of this page.

    <!> The driver depends on the x86 or x86-64 architecture (Debian i386 and AMD64 ports respectively).

    {i} The BCM4313, BCM43224 and BCM43225 chips are alternatively supported by the open source brcmsmac driver. The BCM4311, BCM4312, BCM4321, BCM4322 and BCM4331 chips are alternatively supported by the open source b43 driver.

    Installation

    Add a "non-free" component to /etc/apt/sources.list for your Debian version, for example:

    # Debian 8 "Jessie"
    deb http://httpredir.debian.org/debian/ jessie main contrib non-free

    Update the list of available packages. Install the relevant/latest linux-image, linux-headers and broadcom-sta-dkms packages:

    # apt-get update
    # apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms

    This will also install the recommended wireless-tools package. DKMS will build the wl module for your system.

    Unload conflicting modules:

    # modprobe -r b44 b43 b43legacy ssb brcmsmac bcma

    Load the wl module:

    # modprobe wl

    Configure your wireless interface as appropriate.
    Alis volat propriis = she flies with her own wings.

Similar Threads

  1. WIFI drivers for Broadcom BCM43142
    By Cryptic-F in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2016-04-09, 14:19
  2. Broadcom BCM43142 802.11 bgn still not working with Kali 2.
    By Y4kuzi in forum TroubleShooting Archive
    Replies: 14
    Last Post: 2016-03-19, 14:34

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •