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

 

 

 

Wi-fi Qualcomm Atheros QCA9377 ?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
l000p
Posts: 9
Joined: 2018-01-23 19:55

Wi-fi Qualcomm Atheros QCA9377 ?

#1 Post by l000p »

Good day guys, just started using Debian, everything is fine till now, but I am using Ethernet connection to the web as my Wi-Fi adapter driver is missing, I've ran lspci | grep Network as I was advised in my previous topic and it showed me my network controller as: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31). I assume I found the driver for it here: http://forums.debian.net/viewtopic.php?f=7&t=127880 , but I don't understand a word from what these guys are talking about. Can someone tell me how I am supposed to install this package for a complete beginner like me please. Thanks!

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

Re: Wi-fi Qualcomm Atheros QCA9377 ?

#2 Post by sunrat »

That thread says the driver is included in the kernel from version 4.4 so assuming you have Debian Stretch, you already have it. You just need to install firmware-atheros package and configure your network.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

l000p
Posts: 9
Joined: 2018-01-23 19:55

Re: Wi-fi Qualcomm Atheros QCA9377 ?

#3 Post by l000p »

sunrat wrote:That thread says the driver is included in the kernel from version 4.4 so assuming you have Debian Stretch, you already have it. You just need to install firmware-atheros package and configure your network.
>How is that done ? :shock:

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

Re: Wi-fi Qualcomm Atheros QCA9377 ?

#4 Post by sunrat »

l000p wrote:
sunrat wrote:That thread says the driver is included in the kernel from version 4.4 so assuming you have Debian Stretch, you already have it. You just need to install firmware-atheros package and configure your network.
>How is that done ? :shock:
Time to learn about package management, grasshopper.
https://wiki.debian.org/DebianPackageManagement (wiki needs updating to explain the newer "apt" command which can replace aptitude and apt-get).
The easy way for starters is to use Synaptic. firmware-atheros is in the non-free section of the repositories so you need to add that first which you can do in the Repositories section of Synaptic.
You need to be online to do that which should be fine with your ethernet connection.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

l000p
Posts: 9
Joined: 2018-01-23 19:55

Re: Wi-fi Qualcomm Atheros QCA9377 ?

#5 Post by l000p »

sunrat wrote:
l000p wrote:
sunrat wrote:That thread says the driver is included in the kernel from version 4.4 so assuming you have Debian Stretch, you already have it. You just need to install firmware-atheros package and configure your network.
>How is that done ? :shock:
Time to learn about package management, grasshopper.
https://wiki.debian.org/DebianPackageManagement (wiki needs updating to explain the newer "apt" command which can replace aptitude and apt-get).
The easy way for starters is to use Synaptic. firmware-atheros is in the non-free section of the repositories so you need to add that first which you can do in the Repositories section of Synaptic.
You need to be online to do that which should be fine with your ethernet connection.
I read true that wiki link you have provided and I still don't get how to install the atheros firmware. From what I've understood I need to run: apt-get install firmware-atheros in the terminal under root-which leads to: Unable to locate package firmware-atheros. Googling firmware-atheros leads me to https://packages.debian.org/stretch/firmware-atheros , where there are several download mirrors, can I do something with them if yes what? You suggested that I should use Synaptic Package Manager, but doing so I can not locate the Repositories section in it. When I try the reload button in Synaptic I get an error stating: The repository 'cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11] stretch Release' does not have a Release file.
BTW, using the command aptitude in the terminal leads to: command not found.
I know I have too many questions, but bear with me, it's a whole new system to learn. Thank you.

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Wi-fi Qualcomm Atheros QCA9377 ?

#6 Post by Wheelerof4te »

How did you install Debian? It's impossible you don't have aptitude installed.
l000p wrote:use Synaptic Package Manager, but doing so I can not locate the Repositories section in it.
https://wiki.debian.org/Synaptic#Configuring_Repository
Click the Settings Menu, and choose Repositories.
Tick both contrib and non-free and close.
If you don't have wired connection, download firmware-atheros package on another computer and transfer it to your PC. Go to the directory where you have put it and install it. Use gdebi package to install .deb files graphicaly. Alternatively, use apt. Go to the directory where firmware-atheros .deb file is, open Terminal there and type:

Code: Select all

apt install ./firmware-atheros_20161130-3_all.deb
Of course, you need to be root in order to do that.

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

Re: Wi-fi Qualcomm Atheros QCA9377 ?

#7 Post by GarryRicketson »

Postby l000p » 2018-01-24 05:10
Good day guys, just started using Debian,
You really should read some of the documentation, before anything else,..
I know I have too many questions, but bear with me, it's a whole new system to learn. Thank you.
Your welcome, and yes we understand it is new to you, that is why you should read more of the documentation, thoroughly, it goes into all of these questions, etc.
Postby l000p »When I try the reload button in Synaptic I get an error stating: The repository 'cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11] stretch Release' does not have a Release file
You need to modify your /etc/apt/sources.list :
After installing Debian, what do I need to do to install packages
All though it is better to use the documentation at debian.org, and the wiki,
the first hit , goes into the editing of the sources.list file:
https://linuxpanda.wordpress.com/2016/1 ... n-stretch/
===============

https://www.debian.org/doc/manuals/debi ... 02.en.html

=====================
https://wiki.debian.org/SourcesList

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Wi-fi Qualcomm Atheros QCA9377 ?

#8 Post by Wheelerof4te »

Man pages are also good, pre-installed tool for finding info. Just type something like this in terminal:

Code: Select all

man apt

Code: Select all

man man

Code: Select all

man synaptic

Code: Select all

man sources.list

l000p
Posts: 9
Joined: 2018-01-23 19:55

Re: Wi-fi Qualcomm Atheros QCA9377 ?

#9 Post by l000p »

Wheelerof4te wrote:How did you install Debian? It's impossible you don't have aptitude installed.
l000p wrote:use Synaptic Package Manager, but doing so I can not locate the Repositories section in it.
https://wiki.debian.org/Synaptic#Configuring_Repository
Click the Settings Menu, and choose Repositories.
Tick both contrib and non-free and close.
If you don't have wired connection, download firmware-atheros package on another computer and transfer it to your PC. Go to the directory where you have put it and install it. Use gdebi package to install .deb files graphicaly. Alternatively, use apt. Go to the directory where firmware-atheros .deb file is, open Terminal there and type:

Code: Select all

apt install ./firmware-atheros_20161130-3_all.deb
Of course, you need to be root in order to do that.
Did the repositories from the Synaptic, then I got a message that It needs to reload, after reloading I got this error: The repository 'cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11] stretch Release' does not have a Release file.Updating from such a repository can't be done securely, and is therefore disabled by default.See apt-secure(8) manpage for repository creation and user configuration details.http://deb.debian.org/debian/dists/stretch/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
However after that I went to terminal and did apt-get install firmware-artheros, which installed the package fine. Rebooted the laptop and got my Wi-Fi sorted.
Went to Software and tried to install Gdebi, it wanted my root password and got me this error-
Detailed errors from the package manager follow:
E: Could not find the repository
I don't know what is wrong with my Debian install, somebody asked where I got the ISO - it was from the debian site and I got the complete installation image for computers without connection to the internet assuming that it will be better, made a bootable USB with the amd64 mirror.
Thanks for all the link I am digging in for more information.
P.S: Trying to install Gdebi from Synaptic leads to: Please insert disk labeled: Debian GNU/Linux 9.3.0_Stretch_-Officiam amd64 DVD Binary-1 20171209-12:11 in drive /media/cdrom.
Which as you guess I can't do as I have only the bootable USB in hand. Is it possible to use the USB instead of the DVD ?

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Wi-fi Qualcomm Atheros QCA9377 ?

#10 Post by Wheelerof4te »

Maybe your repositories haven't been updated. Check your /etc/apt/sources.list with

Code: Select all

nano /etc/apt/sources.list
Disable cd rom source line by placing # in front of it. Put the rest of the lines from the Debian wiki page on sources.list that Gary linked to.
For example, have this there:

Code: Select all

deb  http://deb.debian.org/debian stretch main contrib non-free
deb  http://deb.debian.org/debian stretch-updates main
deb http://security.debian.org/debian-security/ stretch/updates main
Close nano with ctl+x, followed by y for saving changes.
Run

Code: Select all

apt update
Now you should be able to install packages from the repos. You can do the above from Synaptic, too.
Is it possible to use the USB instead of the DVD ?
No need after you set up the repositories.

l000p
Posts: 9
Joined: 2018-01-23 19:55

Re: Wi-fi Qualcomm Atheros QCA9377 ?

#11 Post by l000p »

Wheelerof4te wrote:Maybe your repositories haven't been updated. Check your /etc/apt/sources.list with

Code: Select all

nano /etc/apt/sources.list
Disable cd rom source line by placing # in front of it. Put the rest of the lines from the Debian wiki page on sources.list that Gary linked to.
For example, have this there:

Code: Select all

deb  http://deb.debian.org/debian stretch main contrib non-free
deb  http://deb.debian.org/debian stretch-updates main
deb http://security.debian.org/debian-security/ stretch/updates main
Close nano with ctl+x, followed by y for saving changes.
Run

Code: Select all

apt update
Now you should be able to install packages from the repos. You can do the above from Synaptic, too.
Is it possible to use the USB instead of the DVD ?
No need after you set up the repositories.
I went true end read the Wiki about the source.list, then went over to the page that Garry suggested and followed the instructions. Granted myself root access -> nano /etc/apt/source.list , which for my surprise led me to an empty file, googled if this a common thing and found out that others have faced it too, so I just assumed that I need to write it myself. I did so writing this code in the source.list:
deb http://ftp.bg.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.bg.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

Ctrl+X and saved the file. Went over to terminal and did apt-get update, which was followed by the same error.

W: The repository 'cdrom://[Debian GNU/Linux 9.3.0 _Stretch_ - Official amd64 DVD Binary-1 20171209-12:11] stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://deb.debian.org/debian/dists/stretch/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.

I guess I did something wrong there, but I can not find my mistake. Probably I am missing something else. Where should I have disabled the cd rom line, it should've been in the source.list or elsewhere ? Thank you again for the support and for not giving up on me haha! Cheers!

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Wi-fi Qualcomm Atheros QCA9377 ?

#12 Post by Wheelerof4te »

l000p wrote:nano /etc/apt/source.list
It's

Code: Select all

nano /etc/apt/sources.list
not

Code: Select all

nano /etc/apt/source.list
You missed one "s". Please be more careful. Also, put # in front of cd rom line to disable it.

l000p
Posts: 9
Joined: 2018-01-23 19:55

Re: Wi-fi Qualcomm Atheros QCA9377 ?

#13 Post by l000p »

Wheelerof4te wrote:
l000p wrote:nano /etc/apt/source.list
It's

Code: Select all

nano /etc/apt/sources.list
not

Code: Select all

nano /etc/apt/source.list
You missed one "s". Please be more careful. Also, put # in front of cd rom line to disable it.
That is sorted now, but on apt-get update I receive that error message: W: http://ftp.bg.debian.org/debian/dists/s ... elease.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://security.debian.org/dists/stretc ... /InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.

Tried installing Gdebi again and the same error appears:
Detailed errors from the package manager follow:
E: Could not find the repository

Any suggestions ?

Post Reply