Kali Linux installation messed up on MacBook Pro (No Wi-Fi)
Add the following lines to your sources.list
:
deb http://http.kali.org/kali kali-rolling main contrib non-free
deb-src http://http.kali.org/kali kali-rolling main contrib non-free
Uninstall broadcom-sta-dkms
apt-get remove broadcom-sta-dkms
and
apt-get update && apt-get dist-upgrade
reboot
Update and re-install it:
apt-get update; apt-get install broadcom-sta-dkms; apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
Load the wl
module:
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma
sudo modprobe wl
Related videos on Youtube
user3573987
Updated on September 18, 2022Comments
-
user3573987 over 1 year
root@kali:~# iwconfig lo no wireless extensions. root@kali:~#
And that's literally it. There's no eth0 or en0
I installed Kali Linux to a partition on my MacBook Pro. During the installation process it could not find the Ethernet card so I selected no Ethernet card. Now I'm stuck with nothing other than the loopback and since my laptop has no Ethernet port I can't connect to the Internet in order to download anything. I'm basically stuck with no options. I don't know what to do about this and there isn't a single answer on the Internet to this exact problem. How do I get Kali Linux to recognize the network card?
EDIT:
lspci -knn | grep Net -A2
Outputs:
03:00.0 Network controller [0280]: Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03) Subsystem: Apple Inc. BCM4360 802.11ac Wireless Network Adapter [106b:0134] Kernel modules: bcma 04:00.0 Multimedia controller [0480]: Broadcom Corporation 720p FaceTime HD Camera [14e4:1570]
I can use my phone's connection via Bluetooth in order to download anything. But when I type
ifconfig
oriwconfig
I only get one outputlo
there's nowlan0
-
GAD3R over 7 yearsPlease edit by adding the output of
lspci -knn | grep Net -A2
-
SarahG over 7 yearsAdd the output as requested. It's important.
-
user3573987 over 7 yearsOkay I have done this
-
John Leuenhagen over 7 yearshave you installed the rivers for your NIC? If you need to install packages, you can always download them from the Kali Linux repositories (Debian's would likely work as well, considering Kali is based on Debian), move them onto a flash drive, and then use
dpkg
to install them manually. -
user3573987 over 7 yearsrivers? Sorry, noob here. apt-get update && apt-get upgrade? do I need to change the sources.list in /etc/
-
-
user3573987 over 7 yearsroot@kali:~# modprobe w1 modprobe: FATAL: Module w1 not found in directory /lib/modules/4.3.0-kali1-amd64
-
GAD3R over 7 years
modprobe wl
L not 1 (one) -
user3573987 over 7 yearssame error even with l or L
-
user3573987 over 7 yearsWhy is this happening?
-
GAD3R over 7 yearsCan you edit your question by adding the output of
apt-cache policy broadcom-sta-dkms
-
user3573987 over 7 yearsroot@kali:/lib/modules/4.3.0-kali1-amd64/kernel/net/wireless# rmmod wl rmmod: ERROR: Module wl is not currently loaded
-
user3573987 over 7 yearsI tried your latest edit but got: modprobe: FATAL: Module wl not found.
-
user3573987 over 7 yearsIt says I'm missing the kernel headers
-
GAD3R over 7 yearsrun
apt-get install linux-headers-$(uname -r)
andapt-get install build-essential
-
user3573987 over 7 yearsE: Unable to locate package linux-headers-4.3.0-kali1-amd64 E: Couldn't find any package by glob 'linux-headers-4.3.0-kali1-amd64' E: Couldn't find any package by regex 'linux-headers-4.3.0-kali1-amd64'
-
GAD3R over 7 yearsrun
apt-get update && apt-get upgrade
then reboot -
user3573987 over 7 yearsdpkg: warning: unable to delete old directory '/etc/dkms/template-dkms-mkbmdeb/debian': Directory not empty dpkg: warning: unable to delete old directory '/etc/dkms/template-dkms-mkbmdeb': Directory not empty
-
user3573987 over 7 yearsError! Bad return status for module build on kernel: 4.6.0-kali1-amd64 (x86_64) Consult /var/lib/dkms/broadcom-sta/6.30.223.248/build/make.log for more information.
-
user3573987 over 7 yearsThese are errors after I rebooted and tried again with apt-get install broadcom-sta-dkms
-
user3573987 over 7 yearsLet us continue this discussion in chat.