Wifi stops working after 5 minutes from initial boot

Hi guys

I am having trouble connecting to my wifi for the past couple of days. Let me tell you the backstory. I am using a HP Pavilion laptop. I uninstalled windows and started using manjaro from day one. Everything has been working fine for the past 4 months with no issues.

One fine saturday morning, I started taking an online course about microservices. During this course, the instructor asked to make changes to the file /etc/hosts.

I added the following line: 127.0.0. 1 ticketing.dev. I rebooted my system expecting to get response from my pod running locally when I hitticketing.dev but I instead I’ve received the response ‘not connected to the internet, try again’. I thought the problem is with my wifi but it is not. I got really frustrated and I decided to something so stupid. I installed ubuntu thinking it would solve my wifi issue. Nope, the problem escalated.

Ubuntu can’t even boot up properly. I went to sleep. The next day I woke up and decided to ditch ubuntu and install manjaro. This time I decided to go with KDE instead of Xfce. Thinking it would magically solve my wifi problem. Nope, the same issue. The End.

Network: Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: N/A modules: iwlwifi port: 5000 bus-ID: 00:14.3
         chip-ID: 8086:9df0 class-ID: 0280
         Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard driver: r8169 v: kernel
         port: 3000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
         IF: eno1 state: down mac: <filter>

I started noticing a weird this morning. I had access to wifi networks. I thought the problem was solved. I was rejoiced. But, after 5 minutes, it stopped showing available networks.

When I use rfkill show all command, I don’t even see my wifi there. It’s only showing bluetooth. I swear I saw wifi there when I initially booted my laptop.

Any help from you guys would be appreciated. Thank you

Welcome at the forum, @manikandanraji,

As a start please provide output of

inxi -Fazy

I recommend to read this:

Probably for that wifi you should have the iwlwifi driver loaded, not only the module …

System:
  Kernel: 5.10.34-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=69901877-db84-4168-ae0a-34e7c0ad3544 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: dwm 6.2 vt: 2 dm: SDDM Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Laptop System: HP product: HP Pavilion Laptop 15-cs2xxx 
  v: Type1ProductConfigId serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: HP model: 84C1 v: 15.27 serial: <filter> UEFI: Insyde v: F.15 
  date: 03/06/2019 
Battery:
  ID-1: BAT0 charge: 32.7 Wh (89.8%) condition: 36.4/36.4 Wh (100.0%) 
  volts: 12.3 min: 11.6 model: HP Primary type: Li-ion serial: N/A 
  status: Discharging 
CPU:
  Info: Quad Core model: Intel Core i5-8265U bits: 64 type: MT MCP 
  arch: Kaby Lake note: check family: 6 model-id: 8E (142) stepping: B (11) 
  microcode: DE cache: L2: 6 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 28800 
  Speed: 800 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 
  4: 800 5: 800 6: 800 7: 801 8: 800 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf status: Not affected 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown status: Not affected 
  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 mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel UHD Graphics 620 vendor: Hewlett-Packard driver: i915 
  v: kernel bus-ID: 00:02.0 chip-ID: 8086:3ea0 class-ID: 0300 
  Device-2: NVIDIA GP108M [GeForce MX250] vendor: Hewlett-Packard 
  driver: nvidia v: 460.73.01 alternate: nouveau,nvidia_drm bus-ID: 02:00.0 
  chip-ID: 10de:1d13 class-ID: 0302 
  Device-3: Lite-On HP Wide Vision HD Camera type: USB driver: uvcvideo 
  bus-ID: 1-3:2 chip-ID: 04ca:707f class-ID: 0e02 serial: <filter> 
  Display: server: X.Org 1.20.11 driver: loaded: modesetting,nvidia 
  unloaded: intel,nouveau alternate: fbdev,nv,vesa display-ID: :1 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 142 size: 344x194mm (13.5x7.6") 
  diag: 395mm (15.5") 
  OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 21.0.3 
  direct render: Yes 
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio 
  vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
  alternate: snd_soc_skl,snd_sof_pci bus-ID: 00:1f.3 chip-ID: 8086:9dc8 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.10.34-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.26 running: no 
Network:
  Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: N/A 
  modules: iwlwifi port: 5000 bus-ID: 00:14.3 chip-ID: 8086:9df0 
  class-ID: 0280 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus-ID: 04:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: eno1 state: down mac: <filter> 
  IF-ID-1: enp0s20f0u1 state: unknown speed: N/A duplex: N/A mac: <filter> 
Bluetooth:
  Device-1: Xiaomi Mi/Redmi series (RNDIS) type: USB driver: rndis_host 
  v: kernel bus-ID: 1-1:7 chip-ID: 2717:ff80 class-ID: 0a00 serial: <filter> 
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends 
  Device-2: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB 
  driver: btusb v: 0.8 bus-ID: 1-10:3 chip-ID: 8087:0aaa class-ID: e001 
  Report: This feature requires one of these tools: hciconfig/bt-adapter 
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci 
  v: 3.0 port: 5060 bus-ID: 00:17.0 chip-ID: 8086.282a rev: 30 class-ID: 0104 
Drives:
  Local Storage: total: 1.14 TiB used: 14.2 GiB (1.2%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: N/A 
  size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 15.8 Gb/s 
  lanes: 2 rotation: SSD serial: <filter> rev: ADHA0102 temp: 58.9 C 
  scheme: GPT 
  ID-2: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ04ABF100 
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 4C scheme: GPT 
Partition:
  ID-1: / raw-size: 238.17 GiB size: 233.38 GiB (97.99%) used: 14.2 GiB (6.1%) 
  fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2 
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) 
  used: 296 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
Swap:
  Alert: No swap data was found. 
Sensors:
  System Temperatures: cpu: 54.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 207 Uptime: 2h 44m wakeups: 23 Memory: 7.66 GiB 
  used: 1.55 GiB (20.2%) Init: systemd v: 247 tool: systemctl Compilers: 
  gcc: 10.2.0 Packages: pacman: 1257 lib: 330 flatpak: 0 Shell: Zsh v: 5.8 
  running-in: st inxi: 3.3.04 

Output for rfkill list all

0: hci0: Bluetooth
	Soft blocked: no
	Hard blocked: no

How can I load the module? I did sudo modprobe iwlwifi but it still shows driver: N/A in the output. Also, I am now accessing the internet via usb tethering. Do you need any other info?

Hi @manikandanraji ,
Welcome to the forum, I found at the linux-hardware.org that the driver works on Arch, Manjaro on several HP Pavillion model

Although you have to search which is the driver that is detected on Manjaro, because in the inxi output say that the driver is N/A, not available.
https://linux-hardware.org/?id=pci:8086-9df0-8086-0034&page=6#status

I only could say that you are not alone, the following post give you a solution, by @Fabby .
Intel Corporation Cannon Point-LP CNVi [Wireless-AC]
Maybe, it is not what you expected.

Regards,

1 Like

Hey guys, thanks for taking your time helping me. For some reason, wifi started working when I boot my laptop today. I thought it will stop working after 5 minutes but it seems to be working fine as of now. One thing I noticed is that now in the inxi output the driver value is not N/A, it is set to ‘iwlwifi’.

Here’s the output now if anyone is interested

Network:   Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel 
           port: 5000 bus-ID: 00:14.3 chip-ID: 8086:9df0 class-ID: 0280 
           IF: wlo1 state: down mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
           vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus-ID: 04:00.0 
           chip-ID: 10ec:8168 class-ID: 0200 
           IF: eno1 state: down mac: <filter> 
           IF-ID-1: enp0s20f0u1 state: unknown speed: N/A duplex: N/A mac: <filter> 

If anyone still reading this, my wifi once again stopped. I booted this moring and it worked. After sometime working with my laptop, I decided to shutdown so that the battery don’t drain up. I opened my laptop after finishing my lunch and I greeted with “internet disconnected, try again” in brave. I’ll continue updating here so that the mods are aware of this strange behaviour. Off to work, bye.

Hi @manikandanraji ,
In the linux hardware database, which I wrote above the driver is working for your laptop, although all HP Pavillion showed any kind of problem.

You are right about the driver is now iwlwifi but your wlo1 state is down. You were also using your smartphone Xiamomi Mi/Redmi connected as a bluetooth device?

Could you open a terminal and post the output of the following commands?
lsmod | grep libphy
sudo dmesg | iwlwifi

These outputs show the wireless modules and bluetooth you have installed on your notebook. The second command could help you to see whether is failing wifi card.

Regards,

About the first question, I was using my redmi phone for usb tethering.

Here’s the output of lsmode | grep liphy

libphy                151552  3 r8169,mdio_devres,realtek

For this command sudo dmesg | grep iwlwifi

[    3.686699] iwlwifi 0000:00:14.3: WRT: Overriding region id 0
[    3.686702] iwlwifi 0000:00:14.3: WRT: Overriding region id 1
[    3.686704] iwlwifi 0000:00:14.3: WRT: Overriding region id 2
[    3.686706] iwlwifi 0000:00:14.3: WRT: Overriding region id 3
[    3.686707] iwlwifi 0000:00:14.3: WRT: Overriding region id 4
[    3.686709] iwlwifi 0000:00:14.3: WRT: Overriding region id 6
[    3.686711] iwlwifi 0000:00:14.3: WRT: Overriding region id 8
[    3.686712] iwlwifi 0000:00:14.3: WRT: Overriding region id 9
[    3.686714] iwlwifi 0000:00:14.3: WRT: Overriding region id 10
[    3.686715] iwlwifi 0000:00:14.3: WRT: Overriding region id 11
[    3.686717] iwlwifi 0000:00:14.3: WRT: Overriding region id 15
[    3.686719] iwlwifi 0000:00:14.3: WRT: Overriding region id 16
[    3.686720] iwlwifi 0000:00:14.3: WRT: Overriding region id 18
[    3.686722] iwlwifi 0000:00:14.3: WRT: Overriding region id 19
[    3.686723] iwlwifi 0000:00:14.3: WRT: Overriding region id 20
[    3.686725] iwlwifi 0000:00:14.3: WRT: Overriding region id 21
[    3.686727] iwlwifi 0000:00:14.3: WRT: Overriding region id 28
[    3.687117] iwlwifi 0000:00:14.3: loaded firmware version 46.6f9f215c.0 9000-pu-b0-jf-b0-46.ucode op_mode iwlmvm
[    3.917213] iwlwifi 0000:00:14.3: Detected Intel(R) Wireless-AC 9560 160MHz, REV=0x318
[    3.971791] iwlwifi 0000:00:14.3: base HW address: a4:c3:f0:9e:f0:b6
[    5.180139] iwlwifi 0000:00:14.3 wlo1: renamed from wlan0

Note: During this time, my wifi was working fine. Maybe it will stop working if I reboot again. Let me if you need more info

Hi, I’ve had issues with MAC randomization for a few months now, even with fresh KDE installs.
I guess there had been a new KDE or kernel update back then, I never had this problem until early 2021.

Here is what’s working for me, give it a try.

Create the file /etc/NetworkManager/conf.d/broadcom_wl.conf and edit it with these lines:

[device]
match-device=driver:iwlwifi
wifi.scan-rand-mac-address=no

Reboot and check if it works for you too.

Hi, @manikandanraji ,
You are also rigth, your wifi driver is now up and running. @scachemaille wrote at the end of this post that is a draback of these wifi cards, but is compatible with Intel chips. So, you are lucky!.

Regards
Network card vs network controller - #4 by philun18

I’ll try this if I face the problem again. Right now, I rebooted multiple times but the wifi is working properly without any changes from my part. If it stops working, I’ll try this. Thanks

celebrates

Thanks @j8a