You are not logged in.

#1 2020-08-16 02:45:22

Apollo_V
Member
Registered: 2020-08-16
Posts: 8

WiFi keeps disconnecting.

I have looked at various posts here on the forum and elsewhere, but did not find a solution to this problem.


I've installed arch as always, but during and after installation the WiFi keeps disconnecting at random times whether or not there is load on it.  My wireless adapter is Intel 7260. The only way to get WiFi back is to reboot. I have encountered similar problem in windows on this same machine due to driver update and got rid of it by installing an old driver. I want to do the same here but it's not allowing me to downgrade lower than iwlwifi-7260-17.ucode. I want to try something like iwlwifi-7260-14.ucode or lower. I see the problem in iwlwifi module's 'cfg/7000.c' in arch kernel, where it mentioned both the minimum and max requirement of .ucode is xxx.17.ucode. I didn't understand the reason behind this. How to proceed from here? I'm determined to find a solution as there are too many posts with similar problem with no proper solution. Hardware is not the problem since I get uninterrupted service when I'm booted into windows. Any help/guidance is appreciated.

uname -a

Linux SaturnV 5.8.1-arch1-1 #1 SMP PREEMPT Wed, 12 Aug 2020 18:50:43 +0000 x86_64 GNU/Linux

lspci

00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:16.3 Serial controller: Intel Corporation 8 Series HECI KT (rev 04)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-LM (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1c.5 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8730M]
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000 Series]
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader (rev 01)

Also I tried renaming xxx.14.ucode as xxx.17.ucode and removed the original xxx.17.ucode but it does'nt work.

Offline

#2 2020-08-20 18:22:15

MadTice
Member
Registered: 2020-08-20
Posts: 3

Re: WiFi keeps disconnecting.

Hi!
I have exactly the same WiFi hardware AND the same issue. I have figured out that restarting NetworkManager helps reconnecting aswell.
I have found that this issue occurs most when connecting to open "Guest WiFi", at home it doesn't occur that often.

I found this post during my search for a solution, I'll keep on searching and will report back if I find anything.

Last edited by MadTice (2020-08-20 18:22:37)

Offline

#3 2020-08-20 21:11:16

mackilanu
Member
From: Gothenburg, Sweden
Registered: 2020-08-19
Posts: 5

Re: WiFi keeps disconnecting.

Hi!
Have you tried with iwd instead if Networkmanager? When I've had similar issues, it is usually because i have both Networkmanager and iwd installed, which is a conflict. iwd + dhcpcd has worked the best for me. And don't forget to disable NetworkManager.service if you decide to try iwd.

Offline

#4 2020-08-21 10:04:59

MadTice
Member
Registered: 2020-08-20
Posts: 3

Re: WiFi keeps disconnecting.

I just found out I’m running NetworkManager and dhcpcd... which is weird. Pacman -Qe does reveal I’ve installed dhcpcd myself so big facepalm.
I’ve just disabled dhcpcd and will check if the issue reoccurs or not.

I like NetworkManager for its nmtui thingy to connect to different WiFi networks.

Offline

#5 2020-08-21 17:37:58

Apollo_V
Member
Registered: 2020-08-16
Posts: 8

Re: WiFi keeps disconnecting.

Hi,
I will try iwd and let you know the result!

Offline

#6 2020-08-21 19:11:04

Apollo_V
Member
Registered: 2020-08-16
Posts: 8

Re: WiFi keeps disconnecting.

Hello all,

So I just tried iwd with dhcpcd and it works partially. The connection is much stable than before(I had to reboot every 15-20 mins). But I see that the powermanagement is still on. How to disable it? I went through arch wiki for powermanagement but didn't quite get it. Here's the output of iwconfig :

wlan0     IEEE 802.11  ESSID:"I_love_WiFe_I-5G"
          Mode:Managed  Frequency:5.24 GHz  Access Point: CC:40:D0:AF:A4:AF
          Bit Rate=300 Mb/s   Tx-Power=22 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=69/70  Signal level=-41 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:9   Missed beacon:0

When I try the below I get :

[apollo@SaturnV modprobe.d]$ iwconfig wlan0 power off
Error for wireless request "Set Power Management" (8B2C) :
    SET failed on device wlan0 ; Operation not permitted.

So in order to not let the dev wlan0 sleep I am just pinging archlinux.org.

Any thoughts on how to proceed from here?

Offline

#7 2020-08-21 19:18:08

mackilanu
Member
From: Gothenburg, Sweden
Registered: 2020-08-19
Posts: 5

Re: WiFi keeps disconnecting.

Try running with sudo, like this:

sudo iwconfig wlan0 power off

Offline

#8 2020-08-22 21:32:20

Apollo_V
Member
Registered: 2020-08-16
Posts: 8

Re: WiFi keeps disconnecting.

Hello all,

The problem started again since yesterday evening. I am loosing the connection between 10-20 mins and have to reboot it to get it back. Any suggestions or ideas why this is happening?

Offline

Board footer

Powered by FluxBB