[SOLVED]Drivers broadcom 43142

Kernels & Hardware, configuring network, installing services

[SOLVED]Drivers broadcom 43142

Postby awachens » 2018-01-01 18:28

Hi guys i want to know if i can install broadcom 43142 drivers wifi without internet connection in my hp 11 stream . Can i download and compile the drivers ?
What can i do ? Can i select at installation bc43 driver ? Works fine ?

Regards and thank you !
Last edited by awachens on 2018-01-06 19:48, edited 1 time in total.
User avatar
awachens
 
Posts: 68
Joined: 2016-03-06 11:28

Re: Drivers broadcom 43142

Postby dilberts_left_nut » 2018-01-02 06:18

https://wiki.debian.org/wl

Easiest if you can arrange a LAN connection temporarily.
Without a connection, you'll need to download the listed packages and transfer them to your system.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4842
Joined: 2009-10-05 07:54
Location: enzed

Re: Drivers broadcom 43142

Postby awachens » 2018-01-02 07:00

Hi! Good morning thanks for the fast answer.
I can connect but... I wanna learn how to do without LAN connection. Just offline .
When I try to install Debian say you have not installed gcc.

I check now this link.

Can I download gcc with all dependence’s?

Regards !
User avatar
awachens
 
Posts: 68
Joined: 2016-03-06 11:28

Re: Drivers broadcom 43142

Postby dilberts_left_nut » 2018-01-02 07:52

If you like.

Maybe check out apt-offline.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4842
Joined: 2009-10-05 07:54
Location: enzed

Re: Drivers broadcom 43142

Postby awachens » 2018-01-03 05:41

Good morning. Thx for the answer.

I have tried apt-offline set /tmp/apt-offline.sig

But send me an error like: BASH: apt-offline command no found.

What can i do?

Regards !
User avatar
awachens
 
Posts: 68
Joined: 2016-03-06 11:28

Re: Drivers broadcom 43142

Postby dilberts_left_nut » 2018-01-03 06:11

You'll have to install it first.
https://packages.debian.org/stretch/apt-offline

Other than that, I don't know as I haven't had the need to use it.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4842
Joined: 2009-10-05 07:54
Location: enzed

Re: Drivers broadcom 43142

Postby Wheelerof4te » 2018-01-03 16:50

I have that exact card, and the installation is very simple if you enable non-free repo:
Code: Select all
apt install broadcom-sta-dkms

Code: Select all
reboot
or
Code: Select all
modprobe wl

That is with LAN connected.

Without LAN, you will need to somehow transfer the package and it's dependencies to your computer. No need for apt-offline, just use plain apt:
Code: Select all
apt install ./<packagename>
User avatar
Wheelerof4te
 
Posts: 1030
Joined: 2015-08-30 20:14

Re: Drivers broadcom 43142

Postby awachens » 2018-01-03 18:04

Hi guys thank you for the answers !

I know how to do with LAN connection, but i wanna practice dependencies etc...

Then.. If i download the package when i try for example: DPKG -i asdaeaw.deb (for example). Then i get an error... I need GCC. I install base 6 of gcc but nothing happens... Continue with error message...

Regards !
User avatar
awachens
 
Posts: 68
Joined: 2016-03-06 11:28

Re: Drivers broadcom 43142

Postby stevepusser » 2018-01-03 18:09

One can also use a connected machine with the same kernel, module-assistant, and broadcom-sta-source to build debs of the driver. Then you just need to install the debs on the isolated machine. I've done this already in several threads here for users with this Catch-22, and the debs are still available for download.

Code: Select all
apt install module-assistant broadcom-sta-source

m-a prepare

m-a build broadcom-sta


Debs will end up in /usr/src.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.2, Pale Moon 27.9.3, wine-staging 3.11, QuiteRSS 0.18.11, Linux kernel 4.17, Krita 4.1.0
User avatar
stevepusser
 
Posts: 9710
Joined: 2009-10-06 05:53

Re: Drivers broadcom 43142

Postby debiman » 2018-01-04 18:52

awachens wrote:I know how to do with LAN connection, but i wanna practice dependencies etc...

Then.. If i download the package when i try for example: DPKG -i asdaeaw.deb (for example). Then i get an error... I need GCC. I install base 6 of gcc but nothing happens... Continue with error message...

you are confusing 2 things:
- installing from packages (whether online or offline, they're the same packages, ending in .deb)
- installing from source, which often requires compiling, that's where gcc comes in.

last time i had to install a wireless driver offline, i did this:

1.
find the first package i need here:
https://www.debian.org/distrib/packages#search_packages
and download it manually.
look at its dependencies, and compare if they're installed already.
if not, download manually.

2.
move it all to a usb stick, go to the machine that needs the driver, and install with
Code: Select all
dpkg -i ....


if there's still dependency problems, go back to 1.
User avatar
debiman
 
Posts: 2499
Joined: 2013-03-12 07:18

Re: Drivers broadcom 43142

Postby awachens » 2018-01-04 19:29

Thx, i do this... But debian say's me need gcc base 6... When i use:
Code: Select all
dpkg -i package.deb


Now i got this, but i can't transfer archive.sig to USB because is only read... Then i broke my debian... And first i should repair fstab.

Regads and thx !
User avatar
awachens
 
Posts: 68
Joined: 2016-03-06 11:28

Re: Drivers broadcom 43142

Postby stevepusser » 2018-01-04 21:10

It's quite tedious to install all the kernel header and compiler packages you need to build on a isolated machine. Possibly you can use the multiple Debian DVD's as apt sources to get those.

If you have another fresh install with a connection, in exactly the same state as the isolated box, you can use Synaptic to generate a deb download script. Then you just run that script to download the debs, take them to the target box, install them, and then build the driver. But why do that when building the driver debs is much faster and easier on your connected machine?

But the contents of the script would be informative if you want to generate it and post the contents here...then anyone can see what packages they'll need to install.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: GIMP 2.10.2, Pale Moon 27.9.3, wine-staging 3.11, QuiteRSS 0.18.11, Linux kernel 4.17, Krita 4.1.0
User avatar
stevepusser
 
Posts: 9710
Joined: 2009-10-06 05:53

Re: Drivers broadcom 43142

Postby awachens » 2018-01-06 05:39

Good morning, i try this with apt-offlien:
Code: Select all
sudo apt-offline set broadcom-offline.sig --install-packages broadcom-sta-dkms


Generating database of package ['broadcom-sta-dkms'] and it's dependenceies.
E: The package could not be located broadcom-sta-dkms
ERROR: FATAL: Something is wrong with the apt system.

¿?
User avatar
awachens
 
Posts: 68
Joined: 2016-03-06 11:28

Re: Drivers broadcom 43142

Postby dilberts_left_nut » 2018-01-06 06:29

You probably need to update your local package lists to include the non-free section.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4842
Joined: 2009-10-05 07:54
Location: enzed

Re: Drivers broadcom 43142

Postby awachens » 2018-01-06 06:32

Yes, i do this and work fine now. But i use modprobe wl and nothing happen... I use ifconfig and say order not found..
I wanna upload screenshot but server don't want..

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, forum-admin@forums.debian.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
User avatar
awachens
 
Posts: 68
Joined: 2016-03-06 11:28

Next

Return to System configuration

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable