Skip to content

Instantly share code, notes, and snippets.

@ManuelSimon
Created February 1, 2018 12:56
Show Gist options
  • Save ManuelSimon/42e61a96637b15c2c9b60d3e337e143d to your computer and use it in GitHub Desktop.
Save ManuelSimon/42e61a96637b15c2c9b60d3e337e143d to your computer and use it in GitHub Desktop.
Kali Linux Broadcom BCM4352 WiFi Drivers installation script
#!/bin/bash
echo "deb http://httpredir.debian.org/debian/ stretch main contrib non-free" >> /etc/apt/sources.list
echo "deb http://http.debian.net/debian/ jessie main contrib non-free" >> /etc/apt/sources.list
apt-get update
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
sudo apt-get install broadcom-sta-dkms
apt-get upgrade
modprobe -r b44 b43 b43legacy ssb brcmsmac
modprobe wl
apt-get install broadcom-sta-dkms linux-headers-$(uname -r)
apt-get install broadcom-sta-dkms linux-image-4.6.0-kali1-amd64 linux-headers-4.6.0-kali1-amd64
apt-get upgrade
reboot
@ManuelSimon
Copy link
Author

Tested on Kali Linux 2016.2

@CryptoNeverSleeps
Copy link

I can get the code to work on Kali Linux 2018.1

Any suggestions.

I get errors with the following commands.

modprobe wl

apt-get install broadcom-sta-dkms linux-image-4.6.0-kali1-amd64 linux-headers-4.6.0-kali1-amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment