Results 1 to 8 of 8

Thread: Problem with wireless when booting Kali from a live persistence USB on a macbook air

  1. #1
    Join Date
    2017-Feb
    Posts
    4

    Problem with wireless when booting Kali from a live persistence USB on a macbook air

    I have installed kali 2016.2 on a USB and followed the official guide to make it persistent.

    I installed rEFInd on my macbook air to make it easier to boot from my kali USB stick.

    The problem is that the wireless did not work. (Network adapter is Broadcom BCM4360)

    I googled the matter and tried this guide this but I had two problems:
    1. Running 'modprobe wl' returns 'Module wl not found in directory /lib/modules/4.6.0-kali11-amd64'.
    2. Running 'dpkg -i linux-headers-4.6.0-kali1-amd64_4.6.4-1kali1_amd64.deb' requires linux-compiler-gcc-5 which is not available from simple apt install.


    However, I noticed that uname -r gives me 4.6.0 but the only headers I can install are 4.9.0. Not sure if this is part of the problem but it is worth noting.

  2. #2
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Can you show the output of rfkill list all?

  3. #3
    Join Date
    2017-Feb
    Posts
    4
    'rfkill list all' outputs
    Code:
    0: hci0: Bluetooth
    	Soft blocked: no
    	Hard blocked: no

  4. #4
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    It seems there are no drivers present in /lib/firmware. Which wifi adapter you are using? When you were installing kali-linux did installer ask you to load missing firmwares?

  5. #5
    Join Date
    2017-Feb
    Posts
    4
    My macbook has Broadcom BCM4360 network adapter (not sure if this is what you were looking for).

    No I don't remember the installer asking me to load missing firmwares, could it be because I setup the live USB on another machine that did not have wireless?

  6. #6
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Get the required firmwares for your wifi adapter and copy them in /lib/firmware.

  7. #7
    Join Date
    2017-Feb
    Posts
    4
    I googled it and found that my wifi adapter's drivers should be installed by 'sudo apt install broadcom-sta-dkms'

    But when I installed broadcom-sta-dkms I got this as part of the output:
    Code:
    Preparing to unpack .../0-dkms_2.3-2_all.deb ...
    Unpacking dkms (2.3-2) ...
    Selecting previously unselected package broadcom-sta-dkms.
    Preparing to unpack .../1-broadcom-sta-dkms_6.30.223.271-5_all.deb ...
    Unpacking broadcom-sta-dkms (6.30.223.271-5) ...
    Selecting previously unselected package linux-compiler-gcc-6-x86.
    Preparing to unpack .../2-linux-compiler-gcc-6-x86_4.9.10-1kali1_amd64.deb ...
    Unpacking linux-compiler-gcc-6-x86 (4.9.10-1kali1) ...
    Selecting previously unselected package linux-headers-4.9.0-kali2-common.
    Preparing to unpack .../3-linux-headers-4.9.0-kali2-common_4.9.10-1kali1_all.deb ...
    Unpacking linux-headers-4.9.0-kali2-common (4.9.10-1kali1) ...
    Selecting previously unselected package linux-kbuild-4.9.
    Preparing to unpack .../4-linux-kbuild-4.9_4.9.10-1kali1_amd64.deb ...
    Unpacking linux-kbuild-4.9 (4.9.10-1kali1) ...
    Selecting previously unselected package linux-headers-4.9.0-kali2-amd64.
    Preparing to unpack .../5-linux-headers-4.9.0-kali2-amd64_4.9.10-1kali1_amd64.deb ...
    Unpacking linux-headers-4.9.0-kali2-amd64 (4.9.10-1kali1) ...
    Selecting previously unselected package linux-headers-amd64.
    Preparing to unpack .../6-linux-headers-amd64_4.9+79+kali1_amd64.deb ...
    Unpacking linux-headers-amd64 (4.9+79+kali1) ...
    Setting up linux-compiler-gcc-6-x86 (4.9.10-1kali1) ...
    Setting up dkms (2.3-2) ...
    Setting up linux-kbuild-4.9 (4.9.10-1kali1) ...
    Setting up linux-headers-4.9.0-kali2-common (4.9.10-1kali1) ...
    Processing triggers for man-db (2.7.6.1-2) ...
    Setting up broadcom-sta-dkms (6.30.223.271-5) ...
    Loading new broadcom-sta-6.30.223.271 DKMS files...
    Building for 4.6.0-kali1-amd64 4.9.0-kali2-amd64
    Module build for kernel 4.6.0-kali1-amd64 was skipped since the
    kernel headers for this kernel does not seem to be installed.
    Building initial module for 4.9.0-kali2-amd64
    Done.
    
    wl:
    Running module version sanity check.
     - Original module
       - No original module exists within this kernel
     - Installation
       - Installing to /lib/modules/4.9.0-kali2-amd64/updates/dkms/
    
    depmod.....
    
    Warning: Unable to find an initial ram disk that I know how to handle.
    Will not try to make an initrd.
    
    DKMS: install completed.
    Setting up linux-headers-4.9.0-kali2-amd64 (4.9.10-1kali1) ...
    Setting up linux-headers-amd64 (4.9+79+kali1) ...
    And running modprobe wl outputs:
    Code:
    modprobe: FATAL: Module wl not found in directory /lib/modules/4.6.0-kali1-amd64
    So I think the driver is being installed for 4.9.0-kali but it should be installed for 4.6.0-kali. It doesn't install it for 4.6.0-kali because it can't find those headers in the kali repositories.

  8. #8
    Join Date
    2013-Jul
    Posts
    16
    I am having the SAME issue. ifconfig does not even show the interface but lspci does show:
    Code:
    03:00.0 Network controller: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter (rev 03)
    among the firmwares in /lib/firmware/brcm I do see

    Code:
    brcmfmac43602-pcie.bin
    Code:
    sudo apt install broadcom-sta-dkms
    gives


    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    broadcom-sta-dkms is already the newest version (6.30.223.271-5).
    0 upgraded, 0 newly installed, 0 to remove and 1791 not upgraded.
    How do I get Kali linux 2016.2 to use the wireless card in this macbook ?

Similar Threads

  1. Replies: 0
    Last Post: 2019-09-06, 02:36
  2. Macbook Pro Internal Wifi - No Guides Working - Kali Live USB w/ Persistence
    By chiefkilokai in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2018-01-13, 20:48
  3. Kali live 2.0 boot USB persistence mode on MacBook Pro 2011
    By matheusnno in forum Installing Archive
    Replies: 2
    Last Post: 2017-03-03, 13:57
  4. Replies: 2
    Last Post: 2016-08-28, 04:08

Posting Permissions

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