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.

Revisions

  1. ManuelSimon created this gist Feb 1, 2018.
    15 changes: 15 additions & 0 deletions WiFiScript.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    #!/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