Wifi Disconnects, unable to build packages from AUR

I’m having issues with the wifi on my laptop. It will periodically disconnect and I have to remove the network from Network Manager and then re-connect to fix it. If I just try to reconnect without removing it from Network Manager first the password won’t take and it will never connect.

Anyway, from some of the troubleshooting i’ve been trying to do I read that downloading networkmanager -noscan might fix the problem but I am not able to build this package. “pamac build networkmanager-noscan” returns “ERROR: A failure occurred in build()”

Here is my network device info: "Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel port: efa0
bus ID: 01:00.0 chip ID: 8086:24f3 "

Any guidance is greatly appreciated.

Hello,

Can you post the results of inxi -Fazy so we can see what your system specs are? Also what hardware are you using for your network (i.e. router, cables,ppoe, ect) What other electronics are around the modem and router?

Does this happen on this computer only?
Are you connecting with both wifi and ethernet on the same computer? if so, disconnect one and see if that helps.

Do you have it set under power settings to hibernate if it sits idle after a period of time? Intel usually works out of the box
When you reinstall Network Manager, did it install all dependences and have you rebooted after reinstalling network manager?

Hi - Here is the output of inxi -Fazy

System:
  Kernel: 5.8.11-1-MANJARO x86_64 bits: 64 compiler: N/A 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 
  root=UUID=793d1021-0f25-4131-90f7-02a0ef0aecee rw quiet 
  cryptdevice=UUID=4ede1347-0ca7-4348-acf7-c76998eb2e72:luks-4ede1347-0ca7-4348-acf7-c76998eb2e72 
  root=/dev/mapper/luks-4ede1347-0ca7-4348-acf7-c76998eb2e72 apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: KDE Plasma 5.19.5 tk: Qt 5.15.1 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: HP product: HP EliteBook Folio 1040 G3 v: N/A 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: HP model: 80FA v: KBC Version 01.72 serial: <filter> UEFI: HP 
  v: N83 Ver. 01.21 date: 01/30/2018 
Battery:
  ID-1: BAT0 charge: 27.1 Wh condition: 42.1/42.1 Wh (100%) volts: 11.7/11.4 
  model: Hewlett-Packard Primary type: Li-ion serial: <filter> 
  status: Discharging 
CPU:
  Topology: Dual Core model: Intel Core i7-6600U bits: 64 type: MT MCP 
  arch: Skylake family: 6 model-id: 4E (78) stepping: 3 microcode: D6 
  L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 22408 
  Speed: 800 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 
  4: 801 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX unsupported 
  Type: l1tf mitigation: PTE Inversion 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds status: Vulnerable: No microcode 
  Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable 
Graphics:
  Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Hewlett-Packard 
  driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:1916 
  Device-2: Chicony HP HD Camera type: USB driver: uvcvideo bus ID: 1-9:4 
  chip ID: 04f2:b530 
  Display: x11 server: X. Org 1.20.9 compositor: kwin_x11 driver: intel 
  unloaded: modesetting alternate: fbdev,vesa display ID: :0 screens: 1 
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.7x15.0") 
  s-diag: 777mm (30.6") 
  Monitor-1: eDP1 res: 2560x1440 hz: 60 dpi: 210 size: 310x170mm (12.2x6.7") 
  diag: 354mm (13.9") 
  OpenGL: renderer: Mesa Intel HD Graphics 520 (SKL GT2) v: 4.6 Mesa 20.1.8 
  direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus ID: 00:1f.3 
  chip ID: 8086:9d70 
  Sound Server: ALSA v: k5.8.11-1-MANJARO 
Network:
  Device-1: Intel Ethernet I219-LM vendor: Hewlett-Packard driver: e1000e 
  v: 3.2.6-k port: efa0 bus ID: 00:1f.6 chip ID: 8086:156f 
  IF: enp0s31f6 state: down mac: <filter> 
  Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel port: efa0 
  bus ID: 01:00.0 chip ID: 8086:24f3 
  IF: wlan0 state: up mac: <filter> 
Drives:
  Local Storage: total: 238.47 GiB used: 21.99 GiB (9.2%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda vendor: Micron model: MTFDDAV256MBF-1AN15ABHA 
  size: 238.47 GiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  serial: <filter> rev: M6T3 scheme: GPT 
Partition:
  ID-1: / raw size: 238.17 GiB size: 233.43 GiB (98.01%) 
  used: 21.99 GiB (9.4%) fs: ext4 dev: /dev/dm-0 
Swap:
  Alert: No Swap data was found. 
Sensors:
  System Temperatures: cpu: 41.0 C mobo: 0.0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 208 Uptime: 51m Memory: 15.52 GiB used: 1.82 GiB (11.7%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: pacman: 1211 lib: 321 
  flatpak: 0 Shell: Bash v: 5.0.18 running in: konsole inxi: 3.1.05 

It is only happening on this machine. I am only using wifi, ethernet is not being used. For power management i’m using TLP and I have disabled all of the wifi power saving options, likewise under Power Management I have Wireless unchecked.

I did try to reinstall NetworkManager, have not restarted yet. I think it did install all dependencies but i’m not sure. I just used “pamac reinstall networkmanager”.

Hi, @prestonEP
Can you put the output of the following command and see whether you see differences?

pacman-static -Qi linux-firmware

Name            : linux-firmware
Version         : 20200923.r1716.afbfb5f-1
Description     : Firmware files for Linux (Manjaro Overlay Package)
Architecture    : any
URL             : https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git;a=summary
Licenses        : GPL2  GPL3  custom
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : None
Required By     : linux419  linux54
Optional For    : None
Conflicts With  : linux-firmware-git  kernel26-firmware  ar9170-fw  iwlwifi-1000-ucode
                  iwlwifi-3945-ucode  iwlwifi-4965-ucode  iwlwifi-5000-ucode  iwlwifi-5150-ucode
                  iwlwifi-6000-ucode  rt2870usb-fw  rt2x00-rt61-fw  rt2x00-rt71w-fw
Replaces        : kernel26-firmware  ar9170-fw  iwlwifi-1000-ucode  iwlwifi-3945-ucode
                  iwlwifi-4965-ucode  iwlwifi-5000-ucode  iwlwifi-5150-ucode  iwlwifi-6000-ucode
                  rt2870usb-fw  rt2x00-rt61-fw  rt2x00-rt71w-fw
Installed Size  : 571.15 MiB
Packager        : Helmut Stult <helmut@manjaro.org>
Build Date      : Wed Sep 23 17:26:42 2020
Install Date    : Thu Oct 1 18:00:11 2020
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

`
Also send the output of sudo iw dev wlan0, which is your wireless connection.

May be you have to install the linux-firmware package.
Hope it help,