LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 12-06-2014, 06:52 AM   #1
rudrarajstays
LQ Newbie
 
Registered: Nov 2008
Posts: 18

Rep: Reputation: 1
Broadcom BCM43142 driver not working in Debian Jessie


Hi,

I am having a Dell Vostro Laptop which has broadcom BCM43142 wireless lan. I have copied the driver for the same from Ubuntu 14.04
"bcmwl-kernel-source_6.30.223.141+bdcom-0ubuntu2_amd64.deb"

It installs but gives the error

Any help will be appreciated..

I am pasting the commands that i have used to get over this

root@debian:/home/rudraraj/Desktop# dpkg -i bcmwl-kernel-source_6.30.223.141+bdcom-0ubuntu2_amd64.deb
Selecting previously unselected package bcmwl-kernel-source.
(Reading database ... 137345 files and directories currently installed.)
Preparing to unpack bcmwl-kernel-source_6.30.223.141+bdcom-0ubuntu2_amd64.deb ...
Unpacking bcmwl-kernel-source (6.30.223.141+bdcom-0ubuntu2) ...
Setting up bcmwl-kernel-source (6.30.223.141+bdcom-0ubuntu2) ...
Loading new bcmwl-6.30.223.141+bdcom DKMS files...
Building only for 3.16-2-amd64
Building for architecture x86_64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
modprobe: FATAL: Module wl not found.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.116) ...
update-initramfs: Generating /boot/initrd.img-3.16-2-amd64
root@debian:/home/rudraraj/Desktop# uname -a
Linux debian 3.16-2-amd64 #1 SMP Debian 3.16.3-2 (2014-09-20) x86_64 GNU/Linux
root@debian:/home/rudraraj/Desktop# sudo apt-get install linux-source-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-source-3.16-2-amd64
E: Couldn't find any package by regex 'linux-source-3.16-2-amd64'
root@debian:/home/rudraraj/Desktop# sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-3.16-2-amd64
E: Couldn't find any package by regex 'linux-headers-3.16-2-amd64'
 
Old 12-06-2014, 08:16 AM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
I don't think you should be using Ubuntu drivers in Debian.
That said, I also don't think the Debian repo's have a driver for your card (I'm sure the more expert forum members will correct me if I'm wrong about this)...

You could try downloading this .deb for your driver from here at your own risk (this is not "best practice"):
https://mega.co.nz/#!qIUySZYJ!PgfNRV...bU-houaQ97c0yM
This is a modified version of the Ubuntu driver that should work better.

Then install the packages required:
Code:
# apt-get install linux-headers-amd64 build-essential dkms broadcom-ska-modules
Then install the .deb (use either `dpkg -i` or gdebi).

And activate it using:
Code:
# modprobe wl

Last edited by Head_on_a_Stick; 12-06-2014 at 08:18 AM.
 
Old 12-06-2014, 09:41 AM   #3
rudrarajstays
LQ Newbie
 
Registered: Nov 2008
Posts: 18

Original Poster
Rep: Reputation: 1
Hi Head_On_Stick,

you are right when you say not to use ubuntu drivers on debian. but at times we need to try a few things to get the work done..

also 'broadcom-ska-modules' is not there in the repository, i found 'broadcom-sta-modules'. and i tried installing that and i download the broadcom driver and installed it.... unfortunately no success... i pasting the command and the output below...

root@debian:~# apt-get install linux-headers-amd64 build-essential dkms broadcom-sta-modules
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'broadcom-sta-dkms' instead of 'broadcom-sta-modules'
build-essential is already the newest version.
dkms is already the newest version.
linux-headers-amd64 is already the newest version.
broadcom-sta-dkms is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
root@debian:~#
root@debian:~# cd /home/rudraraj/Desktop/
root@debian:/home/rudraraj/Desktop# cd BROADCOM\ DRIVER/
root@debian:/home/rudraraj/Desktop/BROADCOM DRIVER# ls
wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb
root@debian:/home/rudraraj/Desktop/BROADCOM DRIVER# dpkg -i wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb
Selecting previously unselected package wireless-bcm43142-dkms.
(Reading database ... 137345 files and directories currently installed.)
Preparing to unpack wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb ...
Unpacking wireless-bcm43142-dkms (6.20.55.19-1) ...
Setting up wireless-bcm43142-dkms (6.20.55.19-1) ...
Loading new wireless-bcm43142-6.20.55.19 DKMS files...
Building only for 3.16-2-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
root@debian:/home/rudraraj/Desktop/BROADCOM DRIVER# modprobe wl
modprobe: FATAL: Module wl not found.
root@debian:/home/rudraraj/Desktop/BROADCOM DRIVER#


modprobe says module wl not found....
 
Old 12-06-2014, 12:37 PM   #4
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
I think that's because your headers don't match the kernel you're running.

I've just tried this and dkms should bring in the headers it needs...

Maybe your attempt to install the Ubuntu-based driver has messed things up, I'm not sure. Sorry.
 
Old 12-06-2014, 04:25 PM   #5
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by rudrarajstays View Post
root@debian:/home/rudraraj/Desktop/BROADCOM DRIVER# dpkg -i wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb
Selecting previously unselected package wireless-bcm43142-dkms.
(Reading database ... 137345 files and directories currently installed.)
Preparing to unpack wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb ...
Unpacking wireless-bcm43142-dkms (6.20.55.19-1) ...
Setting up wireless-bcm43142-dkms (6.20.55.19-1) ...
Loading new wireless-bcm43142-6.20.55.19 DKMS files...
Building only for 3.16-2-amd64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.

root@debian:/home/rudraraj/Desktop/BROADCOM DRIVER# modprobe wl
modprobe: FATAL: Module wl not found.
root@debian:/home/rudraraj/Desktop/BROADCOM DRIVER#

modprobe says module wl not found....
You should read the complete output of make. It has information.

jlinkels
 
Old 12-06-2014, 08:21 PM   #6
rudrarajstays
LQ Newbie
 
Registered: Nov 2008
Posts: 18

Original Poster
Rep: Reputation: 1
Hello Jlinkels,

I have read the output of make.... And I am aware that the kernel source is not installed.... If you look at my initial post.... You will see that i have tried to pull in the kernel source... but it was not available in the jessie repositories.... looks like the kernel source has to be compiled in installed seperately......

Quote:
root@debian:/home/rudraraj/Desktop# uname -a
Linux debian 3.16-2-amd64 #1 SMP Debian 3.16.3-2 (2014-09-20) x86_64 GNU/Linux
root@debian:/home/rudraraj/Desktop# sudo apt-get install linux-source-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-source-3.16-2-amd64
E: Couldn't find any package by regex 'linux-source-3.16-2-amd64'
root@debian:/home/rudraraj/Desktop# sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-3.16-2-amd64
E: Couldn't find any package by regex 'linux-headers-3.16-2-amd64'
 
Old 12-06-2014, 08:40 PM   #7
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
As long as the correct kernel source is not installed it is no use to whine about the module not compiling. You have to find the kernel source first. If it is not in the Jessie repos anymore, get it from kernel.org.

jlinkels
 
Old 12-07-2014, 01:45 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Post output of
Quote:
cat /etc/apt/sources.list
Also how many kernels do you have installed?
 
Old 12-08-2014, 12:18 PM   #9
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
my coworker got the broadcom card working on his dell laptop w/ linux using the below link.

http://www.broadcom.com/support/802.11/linux_sta.php
 
  


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
Broadcom bcm43142 Wifi and Slackware 14.1 haziz Slackware 4 11-27-2014 04:52 PM
[SOLVED] jessie: ATI radeon (fglrx driver) not working kaz2100 Debian 19 01-16-2014 05:58 PM
[SOLVED] Broadcom BCM43142 802.11b/g/n Wireless on Slackware 14.1 gusgorman Linux - Networking 4 11-20-2013 05:26 AM
[SOLVED] Lenovo T61P wifi (intel 4965agn) not working on Debian Jessie ebol4 Debian 1 11-08-2013 06:02 PM
I have problems working with Broadcom 5700 driver vidyakamathk Linux - Networking 0 05-26-2006 05:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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

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