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

 

 

 

QCA9377 WLAN not working

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
Bogggod
Posts: 3
Joined: 2018-11-24 14:03

QCA9377 WLAN not working

#1 Post by Bogggod »

Hey,
I've searched far and wide, and yet I haven't been able to get my WLAN to work. It did work out of the box with opensuse, so I'm sure there must be a way.

I believe the problem boils down to wpa_supplicant's reply after trying to initialise it:

Code: Select all

wpa_supplicant -B -D wext -i wlp3s0 -c /etc/wpa/supplicant/wpa_supplicant.conf
reply:
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Driver did not support SIOCSIWENCODEEXT

I tried changing the wpa_supplicant driver from wext to nl80211, but to no avail.
I tried adding missing firmware files from the kvalo repository, but it didn't help either.

wpa log: http://termbin.com/0cvbk
wpa log with nl80211: http://termbin.com/bgiia
dmesg, wpa_supplicant.conf, and simply errors: http://termbin.com/755b

I am on debian buster, with the latest firmware-atheros and wireless-tools installed.

What else can I try?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: QCA9377 WLAN not working

#2 Post by Head_on_a_Stick »

The wpa_supplicant configuration file would be useful at this point.
Bogggod wrote:I tried changing the wpa_supplicant driver from wext to nl80211, but to no avail.
Have you tried it without the -D flag?

The buster firmware was last updated back in August but my experience with Intel wireless cards is that the interface will not show up (in the output of `ip link`) at all if there is no firmware.

Testing has iwd available as a wpa_supplicant alternative:

https://packages.debian.org/buster/iwd

Can that connect?

EDIT: this looks relevant:

http://forums.debian.net/viewtopic.php?t=127880

^ I don't remember that at all... :roll:
deadbang

Bogggod
Posts: 3
Joined: 2018-11-24 14:03

Re: QCA9377 WLAN not working

#3 Post by Bogggod »

The wpa_supplicant configuration file would be useful at this point.
It's in the the last link of my post

Code: Select all

## wpa_supplicant.conf

ctrl_interface=/run/wpa_supplicant
update_config=1

# reading passphrase from stdin
network={
	ssid="[ROUTER]"
	#psk="[pw]"
	psk=[hashedPW]
}
And thanks, I tried without the -D flag, and it didn't show the ioctl errors this time, but it didn't connect either: http://termbin.com/f61z
And the interface does actually show up with the drivers I have. I can also scan for and find my wireless networks. Just the connecting part isn't working :?
firmware -6.bin is missing, but wireless-tools and firwmare-atheros does provide other needed firmware files (such as firwmare-5.bin).

iwd is troublesome... after apt-get installing it, it doesn't provide a manpage or anything. I can't even call it via iwd (http://termbin.com/29hr). The [url=https://wiki.debian.org/NetworkManager/iwd]debian wiki page/url] I found on iwd isn't much help either unfortunately, since I'm on xfce and not using the network manager as far as I know.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: QCA9377 WLAN not working

#4 Post by Head_on_a_Stick »

Bogggod wrote:
The wpa_supplicant configuration file would be useful at this point.
It's in the the last link of my post
Oh yes, so it is, sorry. Curse my lazy reading! :x
Bogggod wrote:And the interface does actually show up with the drivers I have.
Did you try the solution in my linked thread?
Other OP wrote:My wifi card is working now!
Inside /lib/firmware/ath10k I found hw1.0 folder with drivers in it, but ath10 was looking for firmware inside /lib/firmware/ath10k/QCA9377/hw1.0/ so I just created directory QCA9377 and moved hw1.0 to it, rebooted and is working now.
Bogggod wrote:iwd is troublesome... after apt-get installing it, it doesn't provide a manpage or anything.
Yeah, it's good fun — I presume the devs are holding off on the man page 'til the API stabilises :)

The ArchWiki has a guide that applies: https://wiki.archlinux.org/index.php/Iwd

The Debian package includes a .service file intended for use with conman so that might be the way to go.
deadbang

Bogggod
Posts: 3
Joined: 2018-11-24 14:03

Re: QCA9377 WLAN not working

#5 Post by Bogggod »

Did you try the solution in my linked thread?

Other OP wrote:
My wifi card is working now!
Inside /lib/firmware/ath10k I found hw1.0 folder with drivers in it, but ath10 was looking for firmware inside /lib/firmware/ath10k/QCA9377/hw1.0/ so I just created directory QCA9377 and moved hw1.0 to it, rebooted and is working now.
That is actually already the default structure on my system.
I really appreciate your help. I'll see if I can get iwd to work ;)

Post Reply