Wifi does not connect and only keeps loading

i can see the networks and connect to them but they don’t connect only keep loading
If there is anything else i should send please tell me, i am using USB tethering to post this

[nit@Ni-Ti-computer Desktop]$ inxi -Fazy
System:
  Kernel: 5.15.7-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=4c205f4c-742a-44d6-b580-c09a31602b9a rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1
    vt: 7 dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: INTEL model: H61 serial: <superuser required>
    UEFI: American Megatrends v: 4.6.5 date: 12/30/2020
CPU:
  Info: model: Intel Core i5-3570 bits: 64 type: MCP arch: Ivy Bridge
    family: 6 model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB
    desc: 1x6 MiB
  Speed (MHz): avg: 2497 high: 2842 min/max: 1600/3800 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 2774 2: 2842 3: 2764
    4: 1609 bogomips: 27148
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  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: disabled, RSB filling
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: ZOTAC driver: nvidia
    v: 470.86 alternate: nouveau,nvidia_drm bus-ID: 01:00.0 chip-ID: 10de:128b
    class-ID: 0300
  Display: x11 server: X.Org 1.21.1.2 compositor: xfwm4 v: 4.16.1 driver:
    loaded: nvidia display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 84 s-size: 413x232mm (16.3x9.1")
    s-diag: 474mm (18.6")
  Monitor-1: VGA-0 res: 1366x768 hz: 60 dpi: 85 size: 410x230mm (16.1x9.1")
    diag: 470mm (18.5")
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20
    class-ID: 0403
  Device-2: NVIDIA GK208 HDMI/DP Audio vendor: ZOTAC driver: snd_hda_intel
    v: kernel bus-ID: 01:00.1 chip-ID: 10de:0e0f class-ID: 0403
  Device-3: Intel USB PnP Sound Device type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 2-1.1.3:26
    chip-ID: 8086:0808 class-ID: 0300
  Sound Server-1: ALSA v: k5.15.7-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.40 running: no
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169 v: kernel
    port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8136 class-ID: 0200
  IF: enp3s0 state: down mac: <filter>
  Device-2: TP-Link TL-WN823N v2/v3 [Realtek RTL8192EU] type: USB
    driver: rtl8xxxu bus-ID: 2-1.1.4:19 chip-ID: 2357:0109 class-ID: 0000
    serial: <filter>
  IF: wlp0s29u1u1u4 state: down mac: <filter>
  IF-ID-1: enp0s29u1u1u2 state: unknown speed: -1 duplex: half mac: <filter>
Bluetooth:
  Device-1: Samsung Galaxy series misc. (tethering mode) type: USB
    driver: rndis_host v: kernel bus-ID: 2-1.1.2:44 chip-ID: 04e8:6863
    class-ID: 0a00 serial: <filter>
  Report: This feature requires one of these tools: hciconfig/bt-adapter
Drives:
  Local Storage: total: 1.36 TiB used: 191.97 GiB (13.7%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD5000AAKX-221CA1 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: 1H17
    scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST1000LM024 HN-M101MBB
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: 0003 scheme: GPT
Partition:
  ID-1: / raw-size: 465.46 GiB size: 457.09 GiB (98.20%) used: 8.33 GiB (1.8%)
    fs: ext4 dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nvidia temp: 32 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 40%
Info:
  Processes: 191 Uptime: 1h 24m wakeups: 0 Memory: 7.72 GiB
  used: 2.11 GiB (27.3%) Init: systemd v: 249 tool: systemctl Compilers:
  gcc: N/A Packages: pacman: 1062 lib: 311 flatpak: 0 Shell: Bash v: 5.1.12
  running-in: xfce4-terminal inxi: 3.3.11

Mod Note : Please format ‘code’ output using bakcticks or the </> button. Fixed here.

Hi @Riggid, and welcome!

Well, I see it’s there, and I see it uses the rtl8xxxu driver, but that doesn’t quite look right.

I also see there are drivers for the RTL8192EU in the AUR:

$ pamac search RTL8192EU
[...]
rtl8192eu                                                                                                                                                                                                                                4.4.1-3        AUR
Driver for the Realtek8192eu chipset.

Which looks correct. So you could try using them with the below command: :point_down:

pamac build rtl8192eu

TAKE NOTE: This doesn’t look like a dkms driver, so you’ll have to reinstall it when your kernel is updated. Which, I suspect, is about every update.


*Edit: Just saw that there is a 8192eu-dkms driver, so rather install that: :point_down:

pamac build 8192eu-dkms

Really, really hope this helps!

3 Likes

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