Problem installing wifi drivers

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Problem installing wifi drivers

Postby AQASDSSDFSDF » 2017-03-12 01:32

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.
AQASDSSDFSDF
 
Posts: 3
Joined: 2017-03-12 01:23

Re: Problem installing wifi drivers

Postby stevepusser » 2017-03-12 03:27

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.6, Pale Moon 27.3.0, Liquorix kernel 4.11-9, mpv 0.25.0, Kodi 17.3, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8345
Joined: 2009-10-06 05:53

Re: Problem installing wifi drivers

Postby AQASDSSDFSDF » 2017-03-12 03:30

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.
AQASDSSDFSDF
 
Posts: 3
Joined: 2017-03-12 01:23

Re: Problem installing wifi drivers

Postby GarryRicketson » 2017-03-12 04:27

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
User avatar
GarryRicketson
 
Posts: 3982
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Problem installing wifi drivers

Postby AQASDSSDFSDF » 2017-03-12 04:58

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
?
AQASDSSDFSDF
 
Posts: 3
Joined: 2017-03-12 01:23

Re: Problem installing wifi drivers

Postby sunrat » 2017-03-13 23:55

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
sunrat
 
Posts: 1910
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Problem installing wifi drivers

Postby GarryRicketson » 2017-03-14 01:02

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
GarryRicketson
 
Posts: 3982
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Problem installing wifi drivers

Postby stevepusser » 2017-03-14 02:01

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.6, Pale Moon 27.3.0, Liquorix kernel 4.11-9, mpv 0.25.0, Kodi 17.3, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8345
Joined: 2009-10-06 05:53


Return to Hardware

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable