WiFi keeps dropping

My wifi keeps dropping so often after the latest update. I’ve tried this solution here Wifi keeps dropping so often! - #3 by cscs and here Wifi drops repeatedly - #2 by cscs but they don’t fix the issue.

Here’s my PC:

[manjaro@manjaro ~]$ inxi -F
System:    Host: manjaro Kernel: 4.19.189-1-MANJARO x86_64 bits: 64 Desktop: i3 4.19.1 Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: ASRock model: H71M-DGS serial: <superuser required> BIOS: American Megatrends v: P1.50 
           date: 01/31/2013 
CPU:       Info: Quad Core model: Intel Core i5-3470 bits: 64 type: MCP cache: L2: 6 MiB 
           Speed: 1597 MHz min/max: 1600/3600 MHz Core speeds (MHz): 1: 1597 2: 1596 3: 1596 4: 1596 
Graphics:  Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics driver: i915 v: kernel 
           Display: x11 server: X.org 1.20.11 driver: loaded: intel unloaded: modesetting resolution: <missing: xdpyinfo> 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 2500 (IVB GT1) v: 4.2 Mesa 21.0.3 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio driver: snd_hda_intel 
           Device-2: SAVITECH FiiO USB DAC K1 type: USB driver: hid-generic,snd-usb-audio,usbhid 
           Sound Server-1: ALSA v: k4.19.189-1-MANJARO running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8168 
           IF: eth0 state: down mac: bc:5f:f4:ba:39:b8 
           Device-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter type: USB driver: r8188eu 
           IF: wlan0 state: up mac: 98:de:d0:18:23:0a 
Drives:    Local Storage: total: 465.76 GiB used: 139.03 GiB (29.8%) 
           ID-1: /dev/sda vendor: Western Digital model: WD5000AZLX-60K2TA0 size: 465.76 GiB 
Partition: ID-1: / size: 200.72 GiB used: 42.44 GiB (21.1%) fs: ext4 dev: /dev/sda5 
Swap:      ID-1: swap-1 type: partition size: 255 MiB used: 0 KiB (0.0%) dev: /dev/sda7 
Sensors:   System Temperatures: cpu: 35.5 C mobo: 36.0 C 
           Fan Speeds (RPM): fan-1: 0 fan-2: 2303 fan-3: 0 fan-4: 0 fan-5: 0 
Info:      Processes: 203 Uptime: 2h 41m Memory: 7.5 GiB used: 3.5 GiB (46.6%) Shell: Bash inxi: 3.3.04 
[manjaro@manjaro ~]$ 

How do I fix it ?

1 Like

Use the 8188eu-dkms driver instead. You have to have the linux-headers installed for your running kernel first, then install the driver. See here

Okay I’ve done that, let’s see if it’ll still act up in a day or two. I have several kernels on my PC. If I switch to another kernel do I have to build 8188eu-dkms for that kernel too ?

If you have the headers for your installed kernels, it builds itself, that is why is called dynamic …

I have built 8818eu-dkms manually by following this post Can’t install rtl8188eus driver - #2 by bogdancovaciu but, it’s still using driver: r8188eu instead of driver: r8188eu-dkms. How do I enable the correct driver ?

inxi -F still shows this info:

[manjaro@manjaro ~]$ inxi -F
System:    Host: manjaro Kernel: 4.14.232-1-MANJARO x86_64 bits: 64 Desktop: i3 4.19.1 Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: ASRock model: H71M-DGS serial: <superuser required> BIOS: American Megatrends v: P1.50 
           date: 01/31/2013 
CPU:       Info: Quad Core model: Intel Core i5-3470 bits: 64 type: MCP cache: L2: 6 MiB 
           Speed: 1684 MHz min/max: 1600/3600 MHz Core speeds (MHz): 1: 1684 2: 1907 3: 2015 4: 1987 
Graphics:  Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics driver: i915 v: kernel 
           Display: x11 server: X.org 1.20.11 driver: loaded: intel unloaded: modesetting resolution: <missing: xdpyinfo> 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 2500 (IVB GT1) v: 4.2 Mesa 21.0.3 
Audio:     Device-1: Intel 6 Series/C200 Series Family High Definition Audio driver: snd_hda_intel 
           Device-2: SAVITECH FiiO USB DAC K1 type: USB driver: hid-generic,snd-usb-audio,usbhid 
           Sound Server-1: ALSA v: k4.14.232-1-MANJARO running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 
           IF: eth0 state: down mac: bc:5f:f4:ba:39:b8 
           Device-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter type: USB driver: r8188eu 
           IF: wlan0 state: up mac: 98:de:d0:18:23:0a 
Drives:    Local Storage: total: 465.76 GiB used: 139.14 GiB (29.9%) 
           ID-1: /dev/sda vendor: Western Digital model: WD5000AZLX-60K2TA0 size: 465.76 GiB 
Partition: ID-1: / size: 200.72 GiB used: 42.56 GiB (21.2%) fs: ext4 dev: /dev/sda5 
Swap:      ID-1: swap-1 type: partition size: 255 MiB used: 0 KiB (0.0%) dev: /dev/sda7 
Sensors:   System Temperatures: cpu: 36.5 C mobo: 35.0 C 
           Fan Speeds (RPM): fan-1: 0 fan-2: 2136 fan-3: 0 fan-4: 0 fan-5: 0 
Info:      Processes: 189 Uptime: 9h 18m Memory: 7.5 GiB used: 3.92 GiB (52.2%) Shell: Bash inxi: 3.3.04 

My WiFi still drops from time to time. If I do:

echo 'blacklist 8188eu' | sudo tee /etc/modprobe.d/8188eu-blacklist.conf

My WiFi doesn’t work. How do I fix it ?

2 Likes

This has also started happening for me since the last update or two. Very annoying! Drops every minute or so.

Then i don’t think you properly installed the dkms driver. Make sure you have the kernel-headers for your running kernel installed first of all.

I did everything from scratch again, please check what’s wrong in this log:

[manjaro@manjaro ~]$ sudo pacman -S $(pacman -Qsq "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' ORS=' ')
[sudo] password for manjaro:     
warning: linux414-headers-4.14.232-1 is up to date -- reinstalling
warning: linux419-headers-4.19.190-1 is up to date -- reinstalling
warning: linux511-headers-5.11.19-1 is up to date -- reinstalling
warning: linux54-headers-5.4.118-1 is up to date -- reinstalling
resolving dependencies...                                                                                                                
looking for conflicting packages...
                                                                                                                                         
Packages (4) linux414-headers-4.14.232-1  linux419-headers-4.19.190-1  linux511-headers-5.11.19-1  linux54-headers-5.4.118-1
                                                                    
Total Installed Size:  180,34 MiB                                                                                                        
Net Upgrade Size:        0,00 MiB
                                                                    
:: Proceed with installation? [Y/n] n
[manjaro@manjaro ~]$ pamac build 8188eu-dkms
Preparing...
Cloning 8188eu-dkms build files...
Checking 8188eu-dkms dependencies...
Warning: 8188eu-dkms-v4.3.0.8_13968-15 is up to date -- reinstalling 
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  8188eu-dkms  v4.3.0.8_13968-15                       AUR


Edit build files : [e] 
Apply transaction ? [e/y/N] n

Transaction cancelled.
[manjaro@manjaro ~]$ sudo depmod -a
[manjaro@manjaro ~]$ sudo mkinitcpio -P                                                                                                                                                                                                                                   [52/319]
==> Building image from preset: /etc/mkinitcpio.d/linux414.preset: 'default'                                                                                                                                                                                                      
  -> -k /boot/vmlinuz-4.14-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.14-x86_64.img
==> Starting build: 4.14.232-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.14-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux414.preset: 'fallback'
  -> -k /boot/vmlinuz-4.14-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.14-x86_64-fallback.img -S autodetect
==> Starting build: 4.14.232-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.14-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux419.preset: 'default'
  -> -k /boot/vmlinuz-4.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.19-x86_64.img
==> Starting build: 4.19.189-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.19-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux419.preset: 'fallback'
  -> -k /boot/vmlinuz-4.19-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-4.19-x86_64-fallback.img -S autodetect
==> Starting build: 4.19.189-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-4.19-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux511.preset: 'default'
  -> -k /boot/vmlinuz-5.11-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.11-x86_64.img
==> Starting build: 5.11.18-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.11-x86_64-fallback.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'default'
  -> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64.img
==> Starting build: 5.4.116-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'fallback'
  -> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64-fallback.img -S autodetect
==> Starting build: 5.4.116-1-MANJARO
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [resume]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-5.4-x86_64-fallback.img
==> Image generation successful

Is there a previous driver version to install, i bought it yesterday and no wifi displayed even it’s installed