PC doesn't see Wi-Fi adapter after update

I installed EndeavourOS around half a year ago. At the time, there was a problem with getting the wifi agapter to work, but I managed to do this using:

  1. git clone https://github.com/xse/rtl8192eu-dkms-git.git
  2. cd rtl8192eu-dkms-git
  3. makepkg -si
  4. echo -e “8192eu\n\nloop” | sudo tee /etc/modules
  5. sudo grub-mkconfig -o /boot/grub/grub.cfg
  6. sudo mkinitcpio -p linuxХХ
    where XX stands for kernel version

But today, after system update, it stopped working again. This is the first time this has happened. I’m totally out of any ideas as to how to approach the problem this time. Previous solution doesn’t work.

Doing system upgrade again gives:

AUR update check:
:: Searching AUR for updates…
→ 8192eu-dkms: local (265.5484fbd-1) is newer than AUR (114.6d2705d-1)
→ Missing AUR Packages: rtl8192eu-dkms-git
→ Orphaned AUR Packages: 8192eu-dkms
→ Flagged Out Of Date AUR Packages: 8192eu-dkms rtl8192eu
there is nothing to do

I wasn’t very attentive when doing the update, but I got the impression that when it was running post transaction hooks went much faster tan it used to. Maybe it could not upgrade the dkms module? However, there wasn’t any errors.

Output of inxi -Fxxxaz:

Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASRock driver: r8168 v: 8.050.03-NAPI modules: r8169

Does this mean the system ditched the dkms module?

That is what it seems like. Maybe the DKMS module isn’t buildable against the current linux kernel headers? Do you even have linux-headers installed? if you are using a different kernel, like linux-lts, linux-zen, or linux-hardened install the header package for it.

for example, for linux-zen it would be linux-zen-headers.

Maybe try linux-lts since it gets updates less often it should work for longer.

maybe check the the chaotic-aur

also aur helpers should automate those commands for you.

1 Like

This is what I got:

pacman -Qi linux
Name : linux
Version : 5.19.4.arch1-1
Description : The Linux kernel and modules
Architecture : x86_64
URL : https://github.com/archlinux/linux/commits/v5.19.4-arch1
Licenses : GPL2
Groups : None
Provides : VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE KSMBD-MODULE
Depends On : coreutils kmod initramfs
Optional Deps : wireless-regdb: to set the correct wireless channels of your country [installed]
linux-firmware: firmware images needed for some devices [installed]
Required By : r8168
Optional For : base
Conflicts With : None
Replaces : virtualbox-guest-modules-arch wireguard-arch
Installed Size : 178,69 MiB
Packager : Jan Alexander Steffens (heftig) heftig@archlinux.org
Build Date : Th 25 Aug 2022 20:31:12
Install Date : Sa 27 Aug 2022 17:27:26
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

pacman -Qi linux-headers
Name : linux-headers
Version : 5.19.4.arch1-1
Description : Headers and scripts for building modules for the Linux kernel
Architecture : x86_64
URL : https://github.com/archlinux/linux/commits/v5.19.4-arch1
Licenses : GPL2
Groups : None
Provides : None
Depends On : pahole
Optional Deps : None
Required By : None
Optional For : dkms nvidia-installer-common nvidia-installer-dkms
Conflicts With : None
Replaces : None
Installed Size : 144,46 MiB
Packager : Jan Alexander Steffens (heftig) heftig@archlinux.org
Build Date : Th 25 Aug 2022 20:31:12
Install Date : Sa 27 Aug 2022 17:27:28
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

dkms status
8192eu/265.5484fbd: added
nvidia/515.65.01, 5.19.4-arch1-1, x86_64: installed
rtl8192eu/4.4.1: added

So linux-headers are installed? Frankly I don’t understand what to do.

Try checking the (chaotic) aur?

Sorry, no. First it seems too complicated, and 2nd it seems like too much stuff to install to fix one thing.

Is there some other way to rebuild the dkms module? For example

will this work and is it safe?

Or maybe the issue could get fixed automatically in the next kernel update?

sudo dkms autoinstall

Building module:
Cleaning build area…
‘make’ all KVER=5.19.4-arch1-1…(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.19.4-arch1-1 (x86_64)
Consult /var/lib/dkms/rtl8192eu/4.4.1/build/make.log for more information.

I found this:

1 Like

@YSt
Does it show your WiFi adapter?

inxi -Na

Edit: I see it’s the rtl8192eu you are saying. Have you tried

The only two packages i see in the AUR

Screenshot_20220827_145415

One is flagged out-of-date since a year or so.

https://aur.archlinux.org/packages?O=0&SeB=nd&K=rtl8192eu&outdated=&SB=p&SO=d&PP=50&submit=Go

rtl8192eu-git

is the one preferably to be used.

Ok. Finally this command from the link provided by ivanhoe installed it:

yay -Sy --noconfirm 8192eu-dkms

I remember using this command when I first installed the system, however it did not get the wifi adapter working. Only the procedure stated in the first post did. This is strange that now it worked.

Thanks to all!

It’s the one i would use also. I just mentioned there are two in the AUR. :wink:

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