QCA9377 WLAN not working

New to Debian (Or Linux in general)? Ask your questions here!

QCA9377 WLAN not working

Postby Bogggod » 2018-11-24 14:24

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?
Bogggod
 
Posts: 3
Joined: 2018-11-24 14:03

Re: QCA9377 WLAN not working

Postby Head_on_a_Stick » 2018-11-24 14:57

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:

viewtopic.php?t=127880

^ I don't remember that at all... :roll:
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8324
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: QCA9377 WLAN not working

Postby Bogggod » 2018-11-24 15:40

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.
Bogggod
 
Posts: 3
Joined: 2018-11-24 14:03

Re: QCA9377 WLAN not working

Postby Head_on_a_Stick » 2018-11-24 15:59

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.
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8324
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: QCA9377 WLAN not working

Postby Bogggod » 2018-11-24 16:07

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 ;)
Bogggod
 
Posts: 3
Joined: 2018-11-24 14:03


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable