Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Problem installing wifi drivers

Need help with peripherals or devices?
Post Reply
Message
Author
AQASDSSDFSDF
Posts: 3
Joined: 2017-03-12 01:23

Problem installing wifi drivers

#1 Post by AQASDSSDFSDF »

I've posted on quite a few sites to get help with this. but unfortunately it seems nobody really knows what's wrong. So here's the situation:

I'm running a fresh install of debian 9 stretch with the following repos in

Code: Select all

/etc/apt/sources.list
:

Code: Select all

deb http://ftp.us.debian.org/debian/ stretch main
deb-src http://ftp.us.debian.org/debian/ stretch main
deb http://security.debian.org/debian-security stretch/updates main
deb-src http://security.debian.org/debian-security stretch/updates main
deb  http://ftp.us.debian.org/ stretch main contrib non-free
deb-src  http://ftp.us.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
When I try to follow the steps from here: https://wiki.debian.org/wl

I get the following errors:

Code: Select all

E: Package 'broadcom-sta-dkms' has no installation candidate
.

I also tried adding the repos suggested on the link above, and got a different error when trying to run

Code: Select all

modeprobe wl 
->

Code: Select all

modprobe: FATAL: Module wl not found in directory /lib/modules/4.9.0-1-amd64
Does anybody have any suggestions? Is my source file wrong? I've been running around in circles trying to fix the problem and haven't made any progress. For what it's worth, my wifi works just fine in Ubuntu 16.10.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Problem installing wifi drivers

#2 Post by stevepusser »

Yeah, revert all your changes and just add non-free to the end of the first line. If you did not make a backup of this critical system file before changing it, you can find an example in the wiki.
MX Linux packager and developer

AQASDSSDFSDF
Posts: 3
Joined: 2017-03-12 01:23

Re: Problem installing wifi drivers

#3 Post by AQASDSSDFSDF »

stevepusser wrote:Yeah, revert all your changes and just add non-free to the end of the first line. If you did not make a backup of this critical system file before changing it, you can find an example in the wiki.
How can I revert all the changes? I tried so many things I don't even know what I did anymore. No backup either.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Problem installing wifi drivers

#4 Post by GarryRicketson »

by stevepusser »you can find an example in the wiki.
Debian sources.list file example

https://wiki.debian.org/SourcesList

This "hint" may help,
The wiki says:

Code: Select all

 deb http://httpredir.debian.org/debian jessie main contrib non-free
Yours says:

Code: Select all

deb  http://ftp.us.debian.org/ stretch main contrib non-free 
That is just the one line, ...you need to take a closer look at the others
as well. "jessie" would be changed to "stretch", but also pay attention
to the spaces, and where it says:
wiki :

Code: Select all

/debian jessie main contrib non-free 

yours:

Code: Select all

/ stretch main contrib non-free
you do not have "debian" and there is a space before stretch.

==== edit ===
from: https://wiki.debian.org/wl

Code: Select all

# Debian 8 "Jessie"
deb http://httpredir.debian.org/debian/ jessie main contrib non-free 
------
Yours:

Code: Select all

deb  http://ftp.us.debian.org/ stretch main contrib non-free
You are missing the /debian/
Also be sure you run update, after making changes.
2.Update the list of available packages. Install the relevant/latest linux-image, linux-headers and broadcom-sta-dkms packages:

Code: Select all

# apt-get update 

AQASDSSDFSDF
Posts: 3
Joined: 2017-03-12 01:23

Re: Problem installing wifi drivers

#5 Post by AQASDSSDFSDF »

Ok, so how does this look? This is my entire source list:

Code: Select all

deb http://httpredir.debian.org/debian stretch main
deb-src http://httpredir.debian.org/debian stretch main

deb http://httpredir.debian.org/debian stretch-updates main
deb-src http://httpredir.debian.org/debian stretch-updates main

deb http://security.debian.org/ stretch/updates main
deb-src http://security.debian.org/ stretch/updates main

deb http://httpredir.debian.org/debian stretch main contrib non-free
deb-src http://httpredir.debian.org/debian stretch main contrib non-free

deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free

deb http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
Am I missing anything? I'd like to know how it looks before trying it out again.

Edit: This did indeed solve my problem, but now I'm getting W errors. What's the difference between

Code: Select all

stretch
and

Code: Select all

stretch-updates
?

User avatar
sunrat
Administrator
Administrator
Posts: 6461
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 472 times

Re: Problem installing wifi drivers

#6 Post by sunrat »

You have duplicated the first 6 lines in the last 6 lines which may be the errors you are seeing. I'm not omnipotent so can't see the actual errors you mention. Also you could remove the deb-src lines unless you are building packages from source.
This is all you need -

Code: Select all

deb http://httpredir.debian.org/debian stretch main contrib non-free
deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
deb http://security.debian.org/ stretch/updates main contrib non-free
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Problem installing wifi drivers

#7 Post by GarryRicketson »

but now I'm getting W errors
I am not sure what you mean by "W" errors, maybe show us exactly
what the error messages say.
What's the difference between ---
stretch and stretch-updates,...

stretch would be stretch and the current packages that are available,
Since Debian Stretch is really just Debian testing, at this time there
are all ways new updates coming in,...so "stretch-updates",...
Even on the current stable version, sometimes there are security updates, and other updates to the packages, not as much as with testing, but there are still sometimes updates,..so the same:

Code: Select all

deb http://httpredir.debian.org/debian jessie-updates main 
If you do not know what "update" means, do a search, or use a dictionary.
by AQASDSSDFSDF »For what it's worth, my wifi works just fine in Ubuntu 16.10.

Normally I wouldn't recommend Ubuntu to any one, but if it works, that is what counts.
But instead of Ubuntu,... I do recommend this:
MX-16
https://mxlinux.org/current-release-features
It will probably install just fine, and just work,...later when you know
more about Debian, and installing firmware, etc,..it will all ways be there
to try.
I honestly don't think you will notice the difference, between MX-16 and
Debian Jessie,....

Debian Stretch, is really just in testing stages anyway, and even if you do read the documentation carefully, and learn enough to be able to understand it, there may very well be other problems you will encounter,
by AQASDSSDFSDF »
Does anybody have any suggestions?

, any way, that is my suggestion.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Problem installing wifi drivers

#8 Post by stevepusser »

I think those "W" errors are actually non-fatal Warnings about those duplicate entries. I'll bet that's exactly what the "error" says, and don't know why the OP doesn't think to copy and paste them here or Google them if they are concerned about them.
MX Linux packager and developer

Post Reply