LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-05-2017, 05:45 AM   #1
ubuntuv
Member
 
Registered: Jan 2010
Posts: 82

Rep: Reputation: 0
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.
 
Old 03-05-2017, 11:16 AM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Hi...

Does the information here help at all?

Regards...
 
Old 03-05-2017, 12:17 PM   #3
ubuntuv
Member
 
Registered: Jan 2010
Posts: 82

Original Poster
Rep: Reputation: 0
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.
 
Old 03-05-2017, 02:13 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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/

Last edited by Ztcoracat; 03-05-2017 at 02:15 PM.
 
Old 03-15-2017, 09:55 AM   #5
ubuntuv
Member
 
Registered: Jan 2010
Posts: 82

Original Poster
Rep: Reputation: 0
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.
 
Old 03-15-2017, 10:21 AM   #6
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
https://wiki.debian.org/wl
 
Old 03-15-2017, 11:21 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kali Linux Bluetooth driver error ? helplinux123 Linux - Software 6 12-06-2016 10:00 AM
issue installing fglrx legacy driver on kali linux 2.0 cpufreak101 Linux - Software 5 02-03-2016 01:52 AM
Kali linux: Intel/ATI hybrid GPU driver installation. GUI fails to load sometimes. ArcheoFuturist Debian 3 06-30-2015 10:09 AM
How to install Wifi driver on Kali linux (I have the driver installation files) Skrillex Linux - Newbie 1 03-29-2015 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration