How Hardware Drivers Work on Windows. When you install Windows, you’ll need to install hardware drivers provided by the hardware’s manufacturer — motherboard chipset drivers, graphics card drivers, Wi-Fi drivers, and more. Contribute to DeadMate/kali-linux-broadcom-drivers development by creating an account on GitHub.
Introduction I've seen some confusion when it comes to installing the wireless drivers for Broadcom's BCM43142 802.11b/g/n card, specifically with Kali or other Debian based distributions. If you're running Linux kernel /etc/modprobe.d/blacklist.conf modprobe wl. Patching file src/wl/sys/wllinux.c Hunk #1 succeeded at 3236 (offset 7 lines). Hunk #2 succeeded at 3254 (offset 7 lines).
Hunk #3 succeeded at 3417 (offset 7 lines). Hunk #4 succeeded at 3447 (offset 7 lines). Hunk #5 succeeded at 3483 (offset 7 lines). Wireless-bcm43142 needs wl driver by Broadcom. The problem with wireless-bcm43142-dkms-6.20.55.19amd64.deb is you need to patch it with appropriate patches for your kernel version.
You also need corresponding kernel headers to build the kernal driver (wl.ko) You can identify your kernel version using: uname -r Make sure you have appropriate kernel headers else you cannot perform build for kernel 4.0 perform following steps:- add this repository to /etc/apt/sourrces.list: deb sana main non-free contrib sana is required to download 4.0 kernel headers perform apt-get install linux-headers-uname -r build-essential -y download Broadcom wl driver source code from extract the zip and cd to that folder apply all 9 patches patch -p1 /etc/modprobe.d/blacklist.conf modprobe wl. I am having issues with this installation I installed 32 bit Kalilinux OS on a 64 BIt sony VAIO.TECHIESSS please help meee root@Backtrack:/Desktop#./broadcom.sh Reading package lists. Done Building dependency tree Reading state information. Done E: Unable to locate package linux-headers-3.7-trunk-686-pae E: Couldn't find any package by regex 'linux-headers-3.7-trunk-686-pae' -2014-09-24 16:58:53- Resolving www.broadcom.com (www.broadcom.com).
63.251.216.155 Connecting to www.broadcom.com (www.broadcom.com) 63.251.216.155 :80. HTTP request sent, awaiting response. Anonymous hello there! Am new for kali and also having patch failure, i try to relocate the patch file too but it again. Root@kali:/broadcom# patch -p2. Anonymous my lappy is lenovo y510p ideapad.
My wireless chipset is bcm43142. I m working on enabling the wifi from last 3 weeks. I followed the above procedure and got my wifi working. But i am able to use it for injection on my dual boot kali linux.
After looking around for it i found that my drivers wl is unable to support the injection. Is it true??? If yes then can i get it work after installing another drivers??
Give me the link here. If it s not true then tell me how to enable it for injection. Thank you!!!! I m running kali version 3.18.0-kali1-amd64 network interface 02:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01). This is the output when i run the above script. Saving to: `wl3.10.patch' 100% 2,916 -.-K/s in 0s 2015-02-24 08:48:56 (172 MB/s) - `wl3.10.patch' saved 2916/2916 patching file src/wl/sys/wllinux.c Hunk #1 succeeded at 3236 (offset 7 lines).
Hunk #2 succeeded at 3254 (offset 7 lines). Hunk #3 succeeded at 3417 (offset 7 lines). Hunk #4 succeeded at 3447 (offset 7 lines). Hunk #5 succeeded at 3483 (offset 7 lines). GREEEEEAAATTT NEWS!!! For all of you who did not succede with this driver. Make sure that file: /etc/apt/sources.list contains following 4 lines: deb-src sana main non-free contrib deb-src sana/updates main contrib non-free deb sana main non-free contrib deb sana/updates main contrib non-free 2.
After that normaly:, apt-get update apt-get dist-upgrade apt-get install-y linux-headers-$(uname -r) 3.Then the big surprise (full graphical install):-) Install synaptic. Apt-get install synaptic -y -Then just open synaptic (the new-installed program under Kali-linux) and type 'bcm43142' and search.U'll see 3 different drivers. Broadcom-sta-common broadcom-sta-dkms broadcom-sta-source -Mark for installation to broadcom-sta-dkms and install it. The wi-fi card will magicly come to life.
Please comment if it works for you-Thanks. For an amd64 system i did the following ( lenovo g510 with BCM43142) make sure you have the correct sources in your sources.list file # main sources for kali deb kali main non-free contrib deb kali/updates main contrib non-free # source sources for kali deb-src kali main non-free contrib deb-src kali/updates main contrib non-free # bleeding edge. #deb kali-bleeding-edge main #deb-src kali-bleeding-edge main and then update and upgrade your system.
GREEEEEAAATTT NEWS!!! For all of you who did not succede with this driver. Make sure that file: /etc/apt/sources.list contains following 4 lines: deb-src sana main non-free contrib deb-src sana/updates main contrib non-free deb sana main non-free contrib deb sana/updates main contrib non-free 2. After that normaly:, apt-get update apt-get dist-upgrade apt-get install-y linux-headers-$(uname -r) 3.Then the big surprise (full graphical install):-) Install synaptic.
Apt-get install synaptic -y -Then just open synaptic (the new-installed program under Kali-linux) and type 'bcm43142' and search.U'll see 3 different drivers. Broadcom-sta-common broadcom-sta-dkms broadcom-sta-source -Mark for installation to broadcom-sta-dkms and install it.
The wi-fi card will magicly come to life. Please comment if it works for you-Thanks. # lspci grep BCM43142 07:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01) root@kali:# wget -2015-12-13 19:45:08- Resolving gist.githubusercontent.com (gist.githubusercontent.com). 103.245.222.133, 64:ff9b::67f5:de85 Connecting to gist.githubusercontent.com (gist.githubusercontent.com) 103.245.222.133 :443. HTTP request sent, awaiting response.
200 OK Length: 646 text/plain Saving to: ‘bcm43142drivers.sh’ bcm43142drivers.sh 100% 646 -.-KB/s in 0s 2015-12-13 19:46:04 (6.87 MB/s) - ‘bcm43142drivers.sh’ saved 646/646 root@kali:# chmod +x bcm43142drivers.sh root@kali:# sudo./bcm43142drivers.sh Reading package lists. Done Building dependency tree Reading state information. Done E: Unable to locate package linux-headers-4.0.0-kali1-amd64 E: Couldn't find any package by regex 'linux-headers-4.0.0-kali1-amd64' -2015-12-13 19:46:51- Resolving www.broadcom.com (www.broadcom.com).
63.251.216.155, 64:ff9b::3ffb:d89b Connecting to www.broadcom.com (www.broadcom.com) 63.251.216.155 :80. HTTP request sent, awaiting response. 200 OK Length: 1786627 (1.7M) application/x-gzip Saving to: ‘hybrid-v3564-nodebug-pcoem-630223141.tar.gz’ hybrid-v3564-nodeb 52% 913.61K 5.26KB/s in 2m 52s 2015-12-13 19:49:46 (5.31 KB/s) - Connection closed at byte 935536.2015-12-13 19:49:47- (try: 2) Connecting to www.broadcom.com (www.broadcom.com) 63.251.216.155 :80. HTTP request sent, awaiting response. 206 Partial Content Length: 1786627 (1.7M), 851091 (831K) remaining application/x-gzip Saving to: ‘hybrid-v3564-nodebug-pcoem-630223141.tar.gz’ hybrid-v3564-nodeb 89% 1.53M 5.89KB/s in 2m 10s 2015-12-13 19:52:00 (4.99 KB/s) - Connection closed at byte 1602375.2015-12-13 19:52:02- (try: 3) Connecting to www.broadcom.com (www.broadcom.com) 63.251.216.155 :80. HTTP request sent, awaiting response. Dont make files an such nonsence-there is graphis user program for installing this driver now-its very easy.My card did not work too(i have Lenovo B590)with this script but using this program worke.Follow this instructions: 1.
Make sure that file: /etc/apt/sources.list contains following 4 lines: deb-src sana main non-free contrib deb-src sana/updates main contrib non-free deb sana main non-free contrib deb sana/updates main contrib non-free 2. After that normaly:, apt-get update apt-get dist-upgrade apt-get install-y linux-headers-$(uname -r) 3.Then the big surprise (full graphical install):-) Install synaptic. Apt-get install synaptic -y -Then just open synaptic (the new-installed program under Kali-linux) and type 'bcm43142' and search.U'll see 3 different drivers. Broadcom-sta-common broadcom-sta-dkms broadcom-sta-source -Mark for installation to broadcom-sta-dkms and install it. The wi-fi card will magicly come to life.
Please comment if it works for you-Thanks.
There’s one final step that usually provides a major headache for Mac users, the Wifi. It took me many many hours of searching and trying different things and learning to come up with a concrete solution, like a detective piecing together the threads of information I could find.
One big drawback it seemed was that those who had managed to get things working weren’t able to put the WiFi into monitor mode, effectively making airodump-ng and other Wireless cracking/hacking tools useless, as you could not monitor and collect packets of data from the WiFi traffic. Thankfully though I was able to find the solution for this as well. This is confirmed as working 100% on my Macbook Pro (Mid 2014 model). The model you have of Macbook (or Mac Mini or macbook air etc) will determine exactly what broadcom chipset you have. You can find out what exact chipset you have by using the lspci command at the terminal window. You will get a list of all pci devices connected to your system. Look in the list to find your broadcom device.
On my mid 2014 model Macbook Pro the device is BCM4360 STEP 1. First you need to boot up into your Kali Linux Live Drive with persistence turns on and configured correctly (otherwise you will need to do this procedure overtime you boot up if you don’t have persistence configured correctly). Also you are going to need internet access, so you will have to most probably plug in a thunderbolt Ethernet adapter so you can gain access online during this procedure. If you run the ifconfig and ifconfig commands in your linux terminal you will see only your ethernet and loopback devices listed, no wireless Lan. In terminal run the following commands to update your Linux installation.
sudo apt-get update. apt-get install linux-headers-$(uname -r sed ‘s,^-.-^-.-,’) broadcom-sta-dkms. After the above two commands have run (they take a few minutes each to complete, as the updates need to be downloaded and installed) you will need to run the following commands to remove the possibly conflicting drivers which come with Debian.
mod probe -r b44 b43 b43legacy ssd brcmsmac. After this you are good to go with he following command. mod probe wl. Now if you run the ifconfig and iwconfig you should see the wireless card is now listed. Open up the network settings of Kali Linux and you should find you are now able to connect to wireless networks. Once connected, disconnect your ethernet cable and run the following in terminal.
ping google.com. If the ping returns are good then your wireless connecting is working! STEP 2. That’s just the beginning, now you have this working but you will not be able to switch the wireless adapter into monitor mode when trying to perform any wireless cracking techniques. If you try putting the wlan0 device into monitor mode it fails like this. This was one of the most difficult parts to puzzle out but here is the correct working method. You will need to run this command EVERY TIME you reboot, I haven’t figured out yet how to make this persistent.
In terminal type the following:-. echo 1 sudo tee /proc/brcmmonitor0. This will now create a new wireless interface called prism0 which you can see if you run the iwconfig command in terminal. It is the prism0 adapter that you will be using for your wireless attacks as it has monitor mode enabled. Now, there’s no need to run airmon-ng, the prism0 device is already your monitoring wireless lan. You can run airodump-ng to test that everything is working properly. airodump-ng prism0.
Hey, I may have a new way of doing this without internet. On new kali Linux 2016.2 iso if you use a kali live USB to GUI install kali to another thumb drive (os install, not live- better imo), you have listed options to install network driver.
There are tons listed. I have the same bcm4360 rev 03 chip and not sure if the listed ones on kali installer will work. The ones that may work are: brcmfmac fullmac, brcmsmac, brcmutil utilities.
Others that probably don’t work according to your post are b43, b43legacy, b44, bnxten bcm573xx. So of these choices will any work or do I have to get a thunderbolt to ethernet adapter in order to get net connection and run the commands you listed? How to install Broadcom wifi drivers in kali linux: Check source.list file! Add a “non-free” component to /etc/apt/sources.list for your Debian version, it has to be like this: deb kali-rolling main contrib non-free deb stretch main contrib non-free Update the list of available packages. Install the relevant/latest linux-image, linux-headers and broadcom-sta-dkms packages: # apt-get update # apt-get dist-upgrade # apt-get install broadcom-sta-dkms Check your wifi Network Controler type to make sure (we are installing BCM43142 802.11b/g/n): # lspci Unload conflicting modules: # modprobe -r b44 b43 b43legacy ssb brcmsmac bcma Load the wl module: # modprobe wl Restart after trying to make it work for a very long time finally my wifi is working with Kali linux on my Acer laptop!