Wifi drops to 0k/s but doesn't get disconnected

Hi, my wifi keeps dropping speeds intermittently, sometimes is fine, but other times I can’t even open google, is not the modem because my phone is fine when my computer doesn’t have internet, but the wifi doesn’t get disconnected, it just shows that there is like bytes of data being transferred, insted of the Mb that’s supposed to be, any help would be appreciated.

 System:
  Kernel: 5.7.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.7-x86_64 
  root=UUID=7c5633dd-4dbb-42e9-9104-07613a42f2eb rw quiet apparmor=1 
  security=apparmor resume=UUID=212c61a2-e001-4248-96f4-67af3bc77001 
  udev.log_priority=3 
  Desktop: KDE Plasma 5.19.5 tk: Qt 5.15.0 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
Machine:
  Type: Laptop System: HP product: HP Pavilion Notebook v: N/A 
  serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: HP model: 80B5 v: 81.32 serial: <filter> UEFI: American Megatrends 
  v: F.54 date: 05/27/2019 
CPU:
  Topology: Quad Core model: AMD A10-8700P Radeon R6 10 Compute Cores 4C+6G 
  bits: 64 type: MCP arch: Excavator family: 15 (21) model-id: 60 (96) 
  stepping: 1 microcode: 600611A L2 cache: 1024 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 14379 
  Speed: 2142 MHz min/max: 1300/1800 MHz boost: enabled Core speeds (MHz): 
  1: 2215 2: 2197 3: 2175 4: 2167 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  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 AMD retpoline, IBPB: conditional, STIBP: 
  disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Wani [Radeon R5/R6/R7 Graphics] vendor: Hewlett-Packard 
  driver: amdgpu v: kernel bus ID: 00:01.0 chip ID: 1002:9874 
  Device-2: Chicony HP Truevision HD type: USB driver: uvcvideo bus ID: 1-1:2 
  chip ID: 04f2:b50d serial: <filter> 
  Display: x11 server: X.Org 1.20.8 compositor: kwin_x11 driver: amdgpu 
  FAILED: ati unloaded: modesetting alternate: fbdev,vesa display ID: :0 
  screens: 1 
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") 
  s-diag: 414mm (16.3") 
  Monitor-1: eDP res: 1366x768 hz: 60 dpi: 101 size: 344x194mm (13.5x7.6") 
  diag: 395mm (15.5") 
  OpenGL: renderer: AMD Radeon R6 Graphics (CARRIZO DRM 3.37.0 
  5.7.19-2-MANJARO LLVM 10.0.1) 
  v: 4.6 Mesa 20.1.7 direct render: Yes 
Audio:
  Device-1: AMD Kabini HDMI/DP Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 00:01.1 chip ID: 1002:9840 
  Device-2: AMD Family 15h Audio vendor: Hewlett-Packard driver: snd_hda_intel 
  v: kernel bus ID: 00:09.2 chip ID: 1022:157a 
  Sound Server: ALSA v: k5.7.19-2-MANJARO 
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard 
  driver: r8169 v: kernel port: e000 bus ID: 02:00.0 chip ID: 10ec:8136 
  IF: eno1 state: down mac: <filter> 
  Device-2: Broadcom and subsidiaries BCM43142 802.11b/g/n 
  vendor: Hewlett-Packard driver: bcma-pci-bridge v: N/A modules: bcma 
  port: e000 bus ID: 03:00.0 chip ID: 14e4:4365 
  Device-3: TP-Link TL-WN823N v2/v3 [Realtek RTL8192EU] type: USB 
  driver: rtl8192eu bus ID: 2-1.1:7 chip ID: 2357:0109 serial: <filter> 
  IF: wlp0s18u1u1 state: up mac: <filter> 
Drives:
  Local Storage: total: 7.28 TiB used: 618.27 GiB (8.3%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB 
  block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 2C scheme: GPT 
  ID-2: /dev/sdb type: USB vendor: Seagate model: Expansion size: 3.64 TiB 
  block size: physical: 4096 B logical: 512 B serial: <filter> rev: 0710 
  scheme: GPT 
  ID-3: /dev/sdc type: USB vendor: Western Digital model: WD Elements 2621 
  size: 1.82 TiB block size: physical: 512 B logical: 512 B serial: <filter> 
  rev: 1026 scheme: GPT 
  ID-4: /dev/sdd type: USB vendor: A-Data model: HV610 size: 931.51 GiB 
  block size: physical: 512 B logical: 512 B serial: <filter> rev: 5438 
  scheme: MBR 
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure? 
Partition:
  ID-1: / raw size: 20.00 GiB size: 19.56 GiB (97.81%) used: 14.48 GiB (74.0%) 
  fs: ext4 dev: /dev/sda6 
  ID-2: /home raw size: 206.03 GiB size: 201.79 GiB (97.94%) 
  used: 62.70 GiB (31.1%) fs: ext4 dev: /dev/sda7 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 2.00 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 62.5 C mobo: N/A 
  Fan Speeds (RPM): N/A 
  GPU: device: amdgpu temp: 62 C device: amdgpu temp: 61 C 
Info:
  Processes: 243 Uptime: 3h 06m Memory: 15.16 GiB used: 4.44 GiB (29.3%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: 1369 pacman: 1366 
  lib: 382 flatpak: 0 snap: 3 Shell: Bash v: 5.0.18 running in: konsole 
  inxi: 3.1.05
1 Like

You seem to have 2 WiFi adapters both enabled:

  1. Could you unplug/disable/blacklist the one not in use and provide the network portion of inxi again?

  2. Provide the output to:

    nmcli device wifi list | grep "*"
    

:innocent:

1-. I don’t know how to do that, how do i do that? (It’s the first one the one I don’t use)
2.-. here’s the output
* 98:35:ED:16:D1:84 TELMEX2020 Infra 1 195 Mbit/s 66 ▂▄▆_ WPA2
Here’s the output when there’s no internet in my laptop, but there is in my phone.
* 98:35:ED:16:D1:84 TELMEX2020 Infra 1 195 Mbit/s 0 ____ WPA2

Hi @KeePach,
I have the same wireless card in my laptop but the output is different.
`* 00:2E:C7:45:95:60 WiFi-Arnet-gt8u-2.4G Infra 11 130 Mbit/s 75 ▂▄▆_ WPA2

  •   00:2E:C7:45:95:60  WiFi-Arnet-gt8u-2.4G  Infra  11    130 Mbit/s  80      ▂▄▆_  WPA2   `
    

Can you execute the following command and put the output in the post?
sudo rfkill list all
In my laptop the output is:
0: phy0: Wireless LAN Soft blocked: no Hard blocked: no 1: hp-wifi: Wireless LAN Soft blocked: no Hard blocked: no 2: hp-bluetooth: Bluetooth Soft blocked: no Hard blocked: no 3: hci0: Bluetooth Soft blocked: yes Hard blocked: no 4: phy1: Wireless LAN Soft blocked: no Hard blocked: no

Hope it help,
Regards

here’s the output of rfkill

0: hci0: Bluetooth
        Soft blocked: yes
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no

Hi @KeePach,
Your wifi device is blocked, so rfkill unblock wlan is the next command to run and then try again with rfkill list all.
Try to edit /etc/conf.d/wireless-regdom and uncomment the line correspondig to your country.
Regards,

@j8a are you sure my wlan is blocked? I think is the bluetooth that’s soft bliocked, anyway, here’s the complete list of what you asked

    $ sudo rfkill list all
    [sudo] password for keepach: 
    0: hci0: Bluetooth
            Soft blocked: yes
            Hard blocked: no
    1: phy0: Wireless LAN
            Soft blocked: no
            Hard blocked: no
    $ sudo rfkill unblock wlan
    $ sudo rfkill list all
    0: hci0: Bluetooth
            Soft blocked: yes
            Hard blocked: no
    1: phy0: Wireless LAN
            Soft blocked: no
            Hard blocked: no

I also edited the wireless-regdom as you asked, thanks for the help, I’ll see if something changes.

1 Like
  1. Confirmed @j8a: It was the Bluetooth that was soft blocked.

  2. From the output below:

    it looks like your router is crapping out and not the PC but as the phone is still connected (I suppose at the same distance that the PC is, please confirm) I’m coming back to you having 2 WiFi adapters being the cause (See below)

  3. Do what? Disable one of the NICs? If one (or both?) of them is a dongle: remove the dongle… I can tell you how to remove the driver, but first we need to know why you have 2 WiFi adapters before I tell you to remove the wrong one… Do you know?

:innocent:

Hi @Fabby , @KeePach
I was wrong, apologize for the missunderstanding.
Regards,

1 Like

Hi @KeePach
I run a search with BCM432142 802.11 b/g/n and found only four post. Then, after running a terminal command inxi -Nxxxa
I discovered that you are using the bma-pci-bridge driver and the output on my laptop is different. So I think you are not using the broadcom-wl driver
Network: Device-1: Broadcom and subsidiaries BCM43142 802.11b/g/n vendor: Hewlett-Packard driver: wl v: kernel modules: bcma port: 3100 bus ID: 02:00.0 chip ID: 14e4:4365 Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard driver: r8169 v: kernel port: 2000 bus ID: 03:00.0 chip ID: 10ec:8136 Device-3: Qualcomm Atheros AR9271 802.11n type: USB driver: ath9k_htc bus ID: 1-1.1:3 chip ID: 0cf3:9271 serial: 12345
Hope it help.

1 Like

When I installed Manjaro, my wifi wasn’t working, I needed to use Ethernet to be able to connect, I tried downloading the wl drivers for my card but that had issues, it randomly disconnected, slow internet, etc. Looking around the forum it turned out that my network card BCM43142 had issues in manjaro and not everyone was able to make it work good, so they said that a USB dongle was a better alternative (I did not asked this questions, it was other users with the same problems as me). So that’s what I did, bought a USB dongle, installed, followed this* guide and it was working fine (I had to disable random Mac addresses), then my computer updated from 5.6 to 5.7 and the problems started , so I searched again and found this post* and it did helped but the internet just comes and goes, sometimes I can use it for hours without problems, but others I have to disconnect the dongle, wait some time (like a minute) reconnect and pray that it connect to the internet. Now don’t get me wrong, my router is indeed crappy, sometimes not a single device on my home has internet and my router is signaling that there is nothing wrong, I just turn it off and on, but that’s not always, it only happens like every two weeks, unfortunately I can’t change my router because my ISP doesn’t allow me to, I need to pay for an upgrade, but that’s beside the case. Right now I’m typing this on my phone while my mom is in the living room watching Netflix while I’m trying to refresh the site on my laptop to no success.

Edit: for some reason I can’t post links, the post I was referring to in my post are “Solution for TP-Link TL-WN823N (V2) wireless USB adapter” from the archived forums and “Wifi dongle not working anymore TP-Link TL WN823N RTL8192EU” from the new forums, also while i was trying this, my computer finally connected so I’m typing the edit from my laptop.

cc @j8a : he’s not using the broadcom: he’s using the TP-Link (which is not much better)

@KeePach

  1. Disable the broadcom:

    sudo nano --backup /etc/modprobe.d/blacklist.conf
    
  2. add:

    blacklist bcma-pci-bridge 
    
  3. Ctrl+X Enter (and Y if it asks to overwrite)

  4. install the the LTS kernels:

  • Print this page so you have it as a reference while in TTY2

  • Log off

  • Switch to TTY2 by pressing Ctrl+Alt+F2

  • Log in there

  • Execute:

    sudo mhwd-kernel --install linux54
    sudo mhwd-kernel --install linux419
    
  • to ensure grub is showing, execute:

     sudo nano --backup /etc/default/grub
    
  • Change (or add?) the following 3 lines:

    GRUB_TIMEOUT=3
    #GRUB_HIDDEN_TIMEOUT=0
    #GRUB_TIMEOUT_STYLE=hidden
    

    (3 or higher is fine, add the # before the lines above if those lines are present)

  • Ctrl+X Y Enter to save if there is anything to save

  • If you did save, execute:

     sudo update-grub
    
  • Reboot

  • Go to grub’s Advanced options

  • Choose these kernels one by one and try them out one by one and see if that helps.

:innocent:

1 Like

quick question @Fabby this part

  • Switch to TTY2 by pressing Ctrl+Alt+F2

I do that in the log in screen? I don’t need to restart right?

Correct!

And if you’ve never done this before: Ctrl+Alt+F1 is your friend! (Back to the GUI)

1 Like

No issues so far using 5.4

Edit: I think is fixed, gonna mark @Fabby as the answer.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.