You are not logged in.

#1 2017-08-05 21:34:22

celacantus
Member
Registered: 2017-08-05
Posts: 6

WIFI not working -- kernel module problem [Solved]

Hey guys.

I'm having a difficult time configuring my wireless interface. I think the problem is associated with the kernel modules that are loaded.

rfkill list

gives:

0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
	Soft blocked: yes
	Hard blocked: yes
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
6: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no

and the output of

lspci -k

for the wireless adapter is:

03:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 30)
	Subsystem: Lenovo Device 4035
	Kernel modules: ath10k_pci

I've seen in other Topics people talking about adding to

/etc/modprobe.d/blacklist.conf

a line with

blacklist ath10k_pci

But it excluded the interface that was working from rfkill

0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
	Soft blocked: no
	Hard blocked: yes
2: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

Thanks in advance wink

Last edited by celacantus (2017-08-06 19:09:32)

Offline

#2 2017-08-05 21:43:59

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: WIFI not working -- kernel module problem [Solved]

Welcome to Arch Linux

celacantus wrote:

I'm having a difficult time configuring my wireless interface.

What does that mean?  What have you tried, and what are the specific messages you have received?

rfkill list

gives:

0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
	Soft blocked: yes
	Hard blocked: yes
3: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no
6: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no

That indicates there is a hard block on the interface.  It could be due to missing firmware, but it could also be that your machine has a mechanism for disabling wifi -- a switch, a function key combination, etc...   Can we assume you have checked this?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2017-08-05 21:52:35

celacantus
Member
Registered: 2017-08-05
Posts: 6

Re: WIFI not working -- kernel module problem [Solved]

That indicates there is a hard block on the interface.  It could be due to missing firmware, but it could also be that your machine has a mechanism for disabling wifi -- a switch, a function key combination, etc...   Can we assume you have checked this?

Yes, I've checked bios/UEFI and wireless is enabled. An whenever the airplane key on my keyboard is pressed the rfkill output turns into

0: ideapad_wlan: Wireless LAN
	Soft blocked: yes
	Hard blocked: yes
1: ideapad_bluetooth: Bluetooth
	Soft blocked: yes
	Hard blocked: yes
3: phy0: Wireless LAN
	Soft blocked: yes
	Hard blocked: no
6: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no

I've been reading on the wiki about wifi and searching for answers on forums but no result yet.

Offline

#4 2017-08-05 22:06:41

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: WIFI not working -- kernel module problem [Solved]

With the ath10k_pci loaded and rfkill showing no softblock or hardblock for phy0 what commands are you running to establish a network connection and what are their outputs?

Offline

#5 2017-08-05 22:13:49

celacantus
Member
Registered: 2017-08-05
Posts: 6

Re: WIFI not working -- kernel module problem [Solved]

I'm tying to use the gnome GUI for NetworkManager. When I turn on the WIFI nothing show up.

Offline

#6 2017-08-05 22:18:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: WIFI not working -- kernel module problem [Solved]

stop the networkmanager service and follow https://wiki.archlinux.org/index.php/Wi … nual_setup to figure whether there's a problem w/ the device or with networkmanager.
Ensure the device is not blocked in rfkill.

Offline

#7 2017-08-05 23:15:23

celacantus
Member
Registered: 2017-08-05
Posts: 6

Re: WIFI not working -- kernel module problem [Solved]

thanks seth. Just followed the manual setup guide and discover that it might be a driver problem

Successfully initialized wpa_supplicant
nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
wlp3s0: Failed to initialize driver interface

I'll have a look and try to find something about driver support for Qualcomm Atheros QCA9377.

Offline

#8 2017-08-05 23:28:42

loqs
Member
Registered: 2014-03-06
Posts: 19,114

Re: WIFI not working -- kernel module problem [Solved]

Offline

#9 2017-08-06 06:45:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: WIFI not working -- kernel module problem [Solved]

As well as

systemctl list-units | grep -iE '(net|wicd|dhcp|conn)'

The message usually means either sth. else is still operating the device or it's hard/soft blocked.

Offline

#10 2017-08-06 19:05:50

celacantus
Member
Registered: 2017-08-05
Posts: 6

Re: WIFI not working -- kernel module problem [Solved]

Thanks for the attention Seth. I tried 2 different drivers on the internet but both didn't work.

I found a workaround. Just disbled NetworkManager and started using netctl + wifi-menu to generate the profiles and it's working 100%.

For those who faced the same problem, disable your NetworkManager:

 sudo systemctl disable NetworkManager.service

And have a look on netctl:

https://wiki.archlinux.org/index.php/netctl

Offline

#11 2017-08-06 19:06:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: WIFI not working -- kernel module problem [Solved]

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2017-08-06 19:13:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,877

Re: WIFI not working -- kernel module problem [Solved]

Did you understand that the cause is often that you're running several network managing services at the same time? (eg. networkmanager and dhcpcd or so)
netctl might turn out being a bit more robust, but if the above is the case, you'll at some point face problems again.

Offline

#13 2017-08-06 19:43:40

celacantus
Member
Registered: 2017-08-05
Posts: 6

Re: WIFI not working -- kernel module problem [Solved]

Well the thing was that I wasn't running them at the same time. I had NetworkManager first of all and then I disabled it and downloaded netctl to see if it would work. After all, it worked.

Offline

Board footer

Powered by FluxBB