You are not logged in.

#1 2015-12-30 05:59:57

Ambyjkl
Member
Registered: 2015-12-05
Posts: 33

[SOLVED]WiFi stops working when I plug into AC

Hi, I just set Arch up on an Acer Aspire V3-371. It has a Qualcomm Atheros AR5BWB222 wireless adapter and it uses the ath9k kernel module.
Initially the Wifi refused to connect completely with an error message "wlp2s0: link is not ready" after 3 tries to connect, so I had to use an ethernet cable, but all of a sudden wifi started working, but only on battery mode. Wifi started working after I installed tlp. Wifi shows connected even when plugged in, but nothing works. The pages load indefinitely and pacman downloads just halt. As soon as I unplug, everything starts working, the pages load and the downloads continue.
I don't think this issue has anything to do with the network manager because it shows connected at all times, but nevertheless I am using kde's default network manager which I think is NetworkManager.

Has anyone else ever faced a similar issue? Please help. Thanks in advance.
I
EDIT: It seems like tlp is what does the magic. If I plug in then do this to switch tlp to the battery mode profile:

# tlp bat

Then Wifi works again. I have ever since messed a lot with the tlp config file but I am unable to get tlp to apply this same magic in the ac profile.

Last edited by Ambyjkl (2016-01-04 09:17:09)

Offline

#2 2015-12-30 16:37:40

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

Re: [SOLVED]WiFi stops working when I plug into AC

I know nothing of tlp, but the wiki has the following caution:

You should also disable the systemd service systemd-rfkill.service to avoid conflicts and assure proper operation of TLP's radio device switching options. 

Did you do that?


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 2016-01-03 11:32:30

linrunner
Member
Registered: 2013-04-21
Posts: 56

Re: [SOLVED]WiFi stops working when I plug into AC

Ambyjkl wrote:

but I am unable to get tlp to apply this same magic in the ac profile.

Did you try

WIFI_PWR_ON_AC=5

yet?

Offline

#4 2016-01-03 16:43:56

Ambyjkl
Member
Registered: 2015-12-05
Posts: 33

Re: [SOLVED]WiFi stops working when I plug into AC

Thanks for replying. ewaller I did that while installing. It was tlp that made the wifi work in the first place. And linrunner yes I did that too, but it didn't work. I even adjusted the pcie setting to match the ac setting to the battery one. The only setting that is left is the SATA link power management apart from the radeon and nvidia settings that are of no use to me and I am going to try that now, I mean right now. I don't think it will help though since it seems completely unrelated.

EDIT: IT WORKED! I JUST DUNNO HOW. But it did. So if anyone else is having this issue install tlp and set SATA_LINKPWR_ON_AC=min_power in /etc/default/tlp

Last edited by Ambyjkl (2016-01-03 16:46:44)

Offline

#5 2016-01-04 00:06:47

linrunner
Member
Registered: 2013-04-21
Posts: 56

Re: [SOLVED]WiFi stops working when I plug into AC

Ambyjkl wrote:

So if anyone else is having this issue install tlp and set SATA_LINKPWR_ON_AC=min_power in /etc/default/tlp

Very strange.

Offline

#6 2016-01-04 09:23:01

Ambyjkl
Member
Registered: 2015-12-05
Posts: 33

Re: [SOLVED]WiFi stops working when I plug into AC

Yes, strange indeed; I have yet to figure out how that worked.

Offline

Board footer

Powered by FluxBB