LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   BCM4352 driver for Kali linux (https://www.linuxquestions.org/questions/linux-hardware-18/bcm4352-driver-for-kali-linux-4175601110/)

ubuntuv 03-05-2017 05:45 AM

BCM4352 driver for Kali linux
 
hi,

I installed Live Kali USB.'4.6.0-kali1-686-pae'. My wireless card is not getting detected. Its Broadcom BCM4352.

Quote:

root@kali:~/Downloads# lspci -nn -v | grep -A 2 Broadcom
03:00.0 Network controller [0280]: Broadcom Corporation BCM4352 802.11ac Wireless Network Adapter [14e4:43b1] (rev 03)
Subsystem: Dell BCM4352 802.11ac Wireless Network Adapter [1028:0017]
Flags: fast devsel, IRQ 18
I downloaded 'hybrid-v35-nodebug-pcoem-6_30_223_271.tar.gz' from Broadcom website. But getting the following error when trying to do make.

Quote:

root@kali:~/Downloads# make
KBUILD_NOPEDANTIC=1 make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-headers-4.6.0-kali1-686-pae'
CFG80211 API is prefered for this kernel version
Using CFG80211 API
CC [M] /root/Downloads/src/shared/linux_osl.o
/root/Downloads/src/shared/linux_osl.c: In function ‘osl_getcycles’:
/root/Downloads/src/shared/linux_osl.c:935:2: error: implicit declaration of function ‘rdtscl’ [-Werror=implicit-function-declaration]
rdtscl(cycles);
^
/root/Downloads/src/shared/linux_osl.c:935:2: warning: ‘cycles’ is used uninitialized in this function [-Wuninitialized]
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.6.0-kali1-common/scripts/Makefile.build:296: recipe for target '/root/Downloads/src/shared/linux_osl.o' failed
make[4]: *** [/root/Downloads/src/shared/linux_osl.o] Error 1
/usr/src/linux-headers-4.6.0-kali1-common/Makefile:1446: recipe for target '_module_/root/Downloads' failed
make[3]: *** [_module_/root/Downloads] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.6.0-kali1-686-pae'
Makefile:159: recipe for target 'all' failed
make: *** [all] Error 2
Please help me in installing the driver.

Thanks in advance.
--uv.

ardvark71 03-05-2017 11:16 AM

Hi...

Does the information here help at all? :)

Regards...

ubuntuv 03-05-2017 12:17 PM

Hi,

I did apt-get upgrade

Quote:

(Reading database ... 316238 files and directories currently installed.)
Preparing to unpack .../e2fsprogs_1.43.4-2_i386.deb ...
Unpacking e2fsprogs (1.43.4-2) over (1.43.1-1) ...
Setting up e2fsprogs (1.43.4-2) ...
update-initramfs: deferring update (trigger activated)
cp: cannot stat '/boot/vmlinuz-4.6.0-kali1-686-pae.old-dkms': No such file or directory
dpkg: error processing package e2fsprogs (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
e2fsprogs
E: Sub-process /usr/bin/dpkg returned an error code (1)
When I did install linux-kernals, similar kind of error is seen:

Quote:

root@kali:~/Downloads# sudo apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
broadcom-sta-dkms is already the newest version (6.30.223.271-5).
The following additional packages will be installed:
libssl1.1 linux-compiler-gcc-6-x86 linux-headers-4.9.0-kali2-686-pae linux-headers-4.9.0-kali2-common linux-kbuild-4.9
The following NEW packages will be installed:
libssl1.1 linux-compiler-gcc-6-x86 linux-headers-4.9.0-kali2-686-pae linux-headers-4.9.0-kali2-common linux-kbuild-4.9
The following packages will be upgraded:
linux-headers-686-pae
1 upgraded, 5 newly installed, 0 to remove and 1698 not upgraded.
57 not fully installed or removed.
Need to get 10.3 MB of archives.
After this operation, 54.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 libssl1.1 i386 1.1.0e-1 [1,337 kB]
Get:2 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 linux-compiler-gcc-6-x86 i386 4.9.13-1kali1 [438 kB]
Get:3 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 linux-headers-4.9.0-kali2-common all 4.9.13-1kali1 [7,444 kB]
Get:4 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 linux-kbuild-4.9 i386 4.9.13-1kali1 [650 kB]
Get:5 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 linux-headers-4.9.0-kali2-686-pae i386 4.9.13-1kali1 [443 kB]
Get:6 http://ftp.yzu.edu.tw/Linux/kali kali-rolling/main i386 linux-headers-686-pae i386 4.9+79+kali1 [6,260 B]
Fetched 10.3 MB in 16s (622 kB/s)
Reading changelogs... Done
Preconfiguring packages ...
Setting up e2fsprogs (1.43.4-2) ...
update-initramfs: deferring update (trigger activated)
cp: cannot stat '/boot/vmlinuz-4.6.0-kali1-686-pae.old-dkms': No such file or directory
dpkg: error processing package e2fsprogs (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
e2fsprogs
E: Sub-process /usr/bin/dpkg returned an error code (1)

While doing modprobe

Quote:

root@kali:~/Downloads# modprobe -r b44 b43 b43legacy ssb brcmsmac
root@kali:~/Downloads# modprobe wl
modprobe: FATAL: Module wl not found in directory /lib/modules/4.6.0-kali1-686-pae
Please help.

--uv.

Ztcoracat 03-05-2017 02:13 PM

On some laptops the wireless is disabled by a switch on the front of the laptop. If you have a switch make sure it's turn on.

https://www.youtube.com/watch?v=Z4ueXndm90o

If the video doesn't help do this to get the wifi working.
Code:

Step 1:- Open the Terminal

Step 2:- #sudo apt-get install kali-linux-wireless (for driver)

Step 3:- #iwconfig

Step 4:- #ifconfig wlan0 up

Step 5:- #ifconfig (to check wlan is coming or not)

Step 6:- Connect to wireless network

https://www.quora.com/How-do-I-conne...-wireless-WiFi

Quote:

Please help me in installing the driver.
You won't be able to install the driver until you do 'Step 2'.

Here's the documentation for Kali. Reading the documentation for the distribution you are running is always a plus.
http://docs.kali.org/

ubuntuv 03-15-2017 09:55 AM

Hi,

I followed the same steps.
#apt-get install kali-linux-wireless
went successfully. But could not get any wireless interface popping out in 'iwconfig' command.

Quote:

oot@kali:~# sudo apt-get install kali-linux-wireless
Reading package lists... Done
Building dependency tree
Reading state information... Done
kali-linux-wireless is already the newest version (2017.1.3).
0 upgraded, 0 newly installed, 0 to remove and 1852 not upgraded.
root@kali:~# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

root@kali:~# lspci| grep Broadcom
03:00.0 Network controller: Broadcom Corporation BCM4352 802.11ac Wireless Network Adapter (rev 03)

Please help me in this regard.

Thanks
uv.

Timothy Miller 03-15-2017 10:21 AM

https://wiki.debian.org/wl

John VV 03-15-2017 11:21 AM

i am guessing you never read the "troubleshoot wireless" FAQ on the kali web site
http://docs.kali.org/installation/tr...-driver-issues

please DO SO and READ!!!!!!! the "Aircrack-ng documentation"


All times are GMT -5. The time now is 05:01 PM.