-
-
Save yashodhank/1571e7ab8bb17a2f909aba75ea809003 to your computer and use it in GitHub Desktop.
Kali Linux fix for "modprobe: FATAL: Module wl not found"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update and install necessary packages | |
apt-get update | |
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') | |
# Download some extra packages, that do the trick for "wl module not found" | |
wget http://http.kali.org/kali/pool/main/l/linux-tools/linux-kbuild-4.3_4.3.1-2kali1_amd64.deb | |
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.3.0-kali1-common_4.3.3-5kali4_amd64.deb | |
wget http://http.kali.org/kali/pool/main/l/linux/linux-headers-4.3.0-kali1-amd64_4.3.3-5kali4_amd64.deb | |
# Install with correct order | |
dpkg -i linux-kbuild-4.3_4.3.1-2kali1_amd64.deb | |
dpkg -i linux-headers-4.3.0-kali1-common_4.3.3-5kali4_amd64.deb | |
dpkg -i linux-headers-4.3.0-kali1-amd64_4.3.3-5kali4_amd64.deb | |
# Install broadcom drivers | |
apt-get install broadcom-sta-dkms | |
# Enable modules and disabled unnecessary ones | |
modprobe -r b44 b43 b43legacy ssb brcmsmac bcma | |
modprobe wl | |
# Done :) | |
echo "WI-FI work now!" | |
echo "Don't forget to enable network-manager: nano /etc/NetworkManager/NetworkManager.conf to true and restart the service." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment