Wifi does not connect and only keeps loading

it’s still not working, it just keeps loading. sorry for the inconvenience, is there anything else i should send that could help

[nit@Ni-Ti-computer Desktop]$ pamac build 8192eu-dkms
Preparing...
Cloning 8192eu-dkms build files...
Generating 8192eu-dkms information...
Checking 8192eu-dkms dependencies...
Warning: 8192eu-dkms-257.744bbe5-1 is up to date -- reinstalling
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  8192eu-dkms  257.744bbe5-1                   AUR


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


Building 8192eu-dkms...
==> Making package: 8192eu-dkms 257.744bbe5-1 (Wednesday 05 January 2022 10:49:56 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating 8192eu git repo...
Fetching origin
==> Validating source files with md5sums...
    8192eu ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of 8192eu git repo...
Cloning into '8192eu'...
done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "8192eu-dkms"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: 8192eu-dkms 257.744bbe5-1 (Wednesday 05 January 2022 10:50:03 PM)
==> Cleaning up...

Checking keyring...                                                                                                               [1/1]
Checking integrity...                                                                                                             [1/1]
Loading packages files...                                                                                                         [1/1]
Checking file conflicts...                                                                                                        [1/1]
Checking available disk space...                                                                                                  [1/1]
Running pre-transaction hooks...
Creating Timeshift snapshot before upgrade...                                                                                     [1/2]
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
Remove upgraded DKMS modules                                                                                                      [2/2]
Deprecated feature: REMAKE_INITRD
Deprecated feature: REMAKE_INITRD
==> dkms remove --no-depmod 8192eu/257.744bbe5 -k 5.15.12-1-MANJARO
Deprecated feature: REMAKE_INITRD
Reinstalling 8192eu-dkms (257.744bbe5-1)...                                                                                       [1/1]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                                    [1/2]
Install DKMS modules                                                                                                              [2/2]
==> dkms install --no-depmod 8192eu/257.744bbe5 -k 5.15.12-1-MANJARO
Deprecated feature: REMAKE_INITRD

Good news! Module version v5.6.4_35685.20191108_COEX20171113-0047 for 8192eu.ko.xz
exactly matches what is already found in kernel 5.15.12-1-MANJARO.
DKMS will not replace this module.
You may override by specifying --force.
==> depmod 5.15.12-1-MANJARO
==> ERROR: Missing 4.14.260-1-MANJARO kernel modules tree for module 8192eu/257.744bbe5.
Transaction successfully finished.

this error is showing

Try this one instead. It was updated in April 2021. The other was flagged as out of date:

pamac build 8192eu-dkms-git

1 Like

You don’t seem to have your kernels headers installed?

We first have to determine which kernels you have installed, so we can know which kernel headers to install. To find that out, please provide the output of:

mhwd-kernel --listinstalled

And please, in the future, wrap any terminal output in three backrticks (```) when before as well as after pasted text. Like this:

```
pasted text
```

This will just render it like this:

Quisque condimentum
mi euismod leo
consectetur nunc dolor a
arcu cursus proin
maximus pellentesque
portaest placerat eget pellentesque placerat placerat ipsum
erat sit elit nec.

instead of like this:

Quisque condimentum mi euismod leo consectetur nunc dolor a arcu cursus proin maximus pellentesque portaest placerat eget pellentesque placerat placerat ipsum erat sit elit nec.

Increasing legibility and making it easier for those trying to provide assistance.

1 Like
[nit@Ni-Ti-computer Desktop]$ mhwd-kernel --listinstalled
Currently running: 5.15.12-1-MANJARO (linux515)
The following kernels are installed in your system:
   * linux515

Yes i will keep that in mind
Thanks

Cool, so you have the 5.15 kernel installed. So now we need to install the headers. To do this, run:

pamac install linux515-headers

If successful, you should be able to install the driver now:

pamac build 8192eu-dkms

or, as said

pamac build 8192eu-dkms-git

But, I don’t really recommend a -git version, as they are development versions and can acquire many problems easily causi9ng many headaches.

1 Like

uhhhh

[nit@Ni-Ti-computer Desktop]$ pamac install linux515-headers
Preparing...
Warning: linux515-headers-5.15.12-1 is up to date -- skipping
Nothing to do.
Transaction successfully finished.

uhhh…

Mentions modules for the 4.14 kernel.

But

you seem to only have kernel 5.15 installed. And

You seem to already have those headers…

I’m afraid I’m stumped, I think we need reinforcements…

Edit:

Note: This is just shooting in the dark, aiming with my logic and no visuals. In other words, it can easily be incorrect and miss. Or even hit a team member.

Let’s see if we can find any remnants of previous kernels. Please provide the output of:

ls -l /lib/modules/
1 Like

sorry for replying late

[nit@Ni-Ti-computer Desktop]$ ls -l /lib/modules/
total 12
drwxr-xr-x 3 root root 4096 Jan  5 22:10 4.14.260-1-MANJARO
drwxr-xr-x 4 root root 4096 Jan  5 23:37 5.15.12-1-MANJARO
drwxr-xr-x 2 root root 4096 Jan  5 00:16 extramodules-5.15-MANJARO

Considering you’ve only got 15.15 installed:

It seems safe to remove the 4.14.260-1-MANJARO directory. So if you’re feeling adventurous, let’s back it up and remove the offending directory and see if anything’s broken:

sudo mv /lib/modules/4.14.260-1-MANJARO /lib/modules/BACKUP.4.14.260-1-MANJARO

Followed by rebooting and seeing if everything works as it should. Report back, because if everything works, but only if it works, we need to remove the backup.

Please note: Only do this if you’ve gotten a lot of cardio lately and you heart is used to working hard and you’re feeling adventurous. And please note that you also do this at your own risk. If it’s borked, it can be fixed again by undoing what you just did from a Live ISO environment. Theoreticlly.

1 Like

Nothing changed, did i mention it’s a wireless adapter
it seems to have moved but that hasn’t done anything

That’s what I was hoping for. Now let’s remove that directory:

sudo rm -fr /lib/modules/BACKUP.4.14.260-1-MANJARO

If this is successful, try installing the drivers again:

pamac build 8192eu-dkms

or

pamac build 8192eu-dkms-git

Followed by rebooting.

1 Like
[nit@Ni-Ti-computer Desktop]$ pamac build 8192eu-dkms-git
Preparing...
Cloning 8192eu-dkms-git build files...
Generating 8192eu-dkms-git information...
Checking 8192eu-dkms-git dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  8192eu-dkms-git  r257.744bbe5-1                                     AUR
To remove (1):
  8192eu-dkms      257.744bbe5-1   (Conflicts With: 8192eu-dkms-git)  

Total removed size: 12.9 MB

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


Building 8192eu-dkms-git...
==> Making package: 8192eu-dkms-git r257.744bbe5-1 (Thursday 06 January 2022 12:49:55 AM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating 8192eu git repo...
Fetching origin
==> Validating source files with md5sums...
    8192eu ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of 8192eu git repo...
Cloning into '8192eu'...
done.
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "8192eu-dkms-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: 8192eu-dkms-git r257.744bbe5-1 (Thursday 06 January 2022 12:50:03 AM)
==> Cleaning up...

Checking keyring...                                                        [1/1]
Checking integrity...                                                      [1/1]
Loading packages files...                                                  [1/1]
Checking file conflicts...                                                 [1/1]
Checking available disk space...                                           [2/2]
Running pre-transaction hooks...
Remove DKMS modules                                                        [1/1]
Deprecated feature: REMAKE_INITRD
Deprecated feature: REMAKE_INITRD
==> dkms remove --no-depmod 8192eu/257.744bbe5 -k 5.15.12-1-MANJARO
Deprecated feature: REMAKE_INITRD
rmdir: failed to remove '': No such file or directory
==> depmod 5.15.12-1-MANJARO
Removing 8192eu-dkms (257.744bbe5-1)...                                    [1/1]
Installing 8192eu-dkms-git (r257.744bbe5-1)...                             [1/1]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                             [1/2]
Install DKMS modules                                                       [2/2]
==> dkms install --no-depmod 8192eu/r257.744bbe5 -k 5.15.12-1-MANJARO
Deprecated feature: REMAKE_INITRD

Good news! Module version v5.6.4_35685.20191108_COEX20171113-0047 for 8192eu.ko.xz
exactly matches what is already found in kernel 5.15.12-1-MANJARO.
DKMS will not replace this module.
You may override by specifying --force.
==> depmod 5.15.12-1-MANJARO
Transaction successfully finished.
[nit@Ni-Ti-computer Desktop]$

similar thing showed for the one that didn’t have -git
nothing changed, except there is no error anymore

Well, if there are no errors with the -git version, perhaps it’s better to use that.

But note, if you do, you are more vulnerable to it being removed or changed. Sadly, it happens.

So first, let’s remove the non-git one:

pamac remove 8192eu-dkms

Followed be reinstalling the -git one:

pamac build 8192eu-dkms-git

And then rebooting.

1 Like
[nit@Ni-Ti-computer Desktop]$ pamac remove 8192eu-dkms
Error: target not found: 8192eu-dkms

That’s good. And is the -git one installed?

If it’s not, build/install it:

pamac build 8192eu-dkms-git

And reboot.

Edit:

If this didn’t work, unfortunately I do not know why, or how to fix it as I don’t have WiFi. Gimme copper any day!

1 Like

i just blindly followed this link How to install WiFi driver for D-Link DWA 131 (USB Dongle) - #22 by flyingcakes - Kernel & Hardware - EndeavourOS
some errors showed up i ignored them
AND it worked!
Thank you for all your help, i wouldn’t had have found a way to solve this issue without you

1 Like

flyingcakesIndia

Jun '20

I’m listing down the exact steps I followed to get my wifi dongle working. This is mostly based on the readme given at this GitHub repo

Step 0: Install dkms and headers. (linux-lts-headers or linux-headers, or both, depending on your kernel)

sudo pacman -S linux-headers dkms

Step 1: Clone the repository and change your directory to cloned path.

git clone https://github.com/Mange/rtl8192eu-linux-driver
cd rtl8192eu-linux-driver

Step 2: Add the driver to DKMS. This will copy the source to a system directory so that it can used to rebuild the module on kernel upgrades.

sudo dkms add .

Step 3: Build and install the driver.

sudo dkms install rtl8192eu/1.0

This step can take some time. Also, you may get a message like this

Error! Module version v5.6.4_35685.20191108_COEX20171113-0047 for 8192eu.ko.xz
is not newer than what is already found in kernel 5.4.46-1-lts (v5.6.4_35685.20191108_COEX20171113-0047).
You may override by specifying --force.

You can safely ignore this.

Step 4: Blacklist the existing rtl8xxxu driver

echo "blacklist rtl8xxxu" | sudo tee /etc/modprobe.d/rtl8xxxu.conf

This is an important step, which I wasn’t doing, and hence facing the problem.

@2000 also wrote

Step 5: Force RTL8192EU Driver to be active from boot.

echo -e "8192eu\n\nloop" | sudo tee /etc/modules

Step 6: Update the grub config. You may need to modify this command.

sudo grub-mkconfig -o /boot/grub/grub.cfg

Step 7: Reboot

After the reboot, you should be able to connect to networks.

To verify that the right module is loaded, run

sudo lshw -c network

(You may need to install the package lshw)

Sample output of the about command:

  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: enp3s0
       version: 06
       serial: 94:de:80:e5:03:2b
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=no multicast=yes port=MII
       resources: irq:16 ioport:d000(size=256) memory:f2104000-f2104fff memory:f2100000-f2103fff
  *-network
       description: Wireless interface
       physical id: 2
       bus info: usb@2:1.2
       logical name: wlan0
       serial: 62:1f:ac:28:ba:4e
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=rtl8192eu multicast=yes wireless=unassociated

In the very last entry, in the configuration details, you can see driver=rtl8192eu. This confirms that the right driver was loaded. Note that it need not be the last entry on your system.

Uninstalling the driver
Run

sudo dkms uninstall rtl8192eu/1.0

to remove the driver.

To completely remove the driver, and its sources with dkms, run:

sudo dkms uninstall rtl8192eu/1.0 -all

Edit: I have used the GitHub repo, because it is recently updated. If you prefer to use the aur, then install 8192eu-dkms and blacklist the existing driver (step 4). Reboot and the wifi chip will now work.

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