Network usb adapter not working even after installiing rtl8188gu-dkms-git

Can someone help me i have bought new wireless usb adapter and it is not working on my manjaro kde plasma desktop. Below is output of lsusb

   ~  lsusb                                                                                                           1 ✘ 
Bus 001 Device 006: ID 22d9:276a OPPO Electronics Corp. SDM778G-IDP _SN:8F7AD3F2
Bus 001 Device 004: ID 0bda:f179 Realtek Semiconductor Corp. RTL8188FTV 802.11b/g/n 1T1R 2.4G WLAN Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 413c:301a Dell Computer Corp. Dell MS116 Optical Mouse
Bus 002 Device 002: ID 1a2c:6004 China Resource Semico Co., Ltd USB Keyboard
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

below is output of ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens33: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 00:e0:4c:41:51:b0 brd ff:ff:ff:ff:ff:ff
    altname enp2s0
3: enp0s29f7u6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
    link/ether aa:04:a6:39:8f:64 brd ff:ff:ff:ff:ff:ff
    inet 192.168.156.128/24 brd 192.168.156.255 scope global dynamic noprefixroute enp0s29f7u6
       valid_lft 2278sec preferred_lft 2278sec
    inet6 fe80::6afc:9b0a:486:7645/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

Hi @hasan1, and welcome!

In order for us, or anyone for that matter, to be able to provide assistance, more information is necessary. To that end, please see:

Hope you manage!


:bangbang: Tip: :bangbang:

To provide terminal output, copy the text you wish to share, and paste it here, surrounded by three (3) backticks, a.k.a grave accents. Like this:

```
pasted text
```

This will just cause it to be rendered like this:

Portaest sed
elementum
cursus nisl nisi
hendrerit ac quis
sit
adipiscing
tortor sit leo commodo.

Instead of like this:

Portaest sed elementum cursus nisl nisi hendrerit ac quis sit adipiscing tortor sit leo commodo.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby improving legibility and making it much easier for those trying to be of assistance.

Please edit your post accordingly.


:bangbang: Also, if your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Please edit your post accordingly.

proper driver for your wifi is: rtl8188fu and not the rtl8188gu … so uninstall it, install kernel headers if you didnt, and install the proper driver:
pamac build 8188fu-supremegamers-dkms-git
(this is the latest version)
reboot

This is the output after i install this

Preparing...
Checking 8188fu-supremegamers-dkms-git dependencies...
Resolving dependencies...
Checking inter-conflicts...

To install (10):
  m4                             1.4.19-1                                                     core
  autoconf                       2.71-1                                                       core
  pkgconf                        1.8.0-1                                                      core
  flex                           2.6.4-3                                                      core
  debugedit                      5.0-4                                                        core
  automake                       1.16.5-1                                                     core
  patch                          2.7.6-8                                                      core
  make                           4.3-5                                                        core
  bison                          3.8.2-4                                                      core
  dkms                           3.0.8-1        (Required By: 8188fu-supremegamers-dkms-git)  extra
To build (1):
  8188fu-supremegamers-dkms-git  r84.b01ebdf-2                                                AUR

Total installed size: 10.3 MB

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

Checking keyring...                                                                                                       [10/10]
Checking integrity...                                                                                                     [10/10]
Loading packages files...                                                                                                 [10/10]
Checking file conflicts...                                                                                                [10/10]
Checking available disk space...                                                                                          [10/10]
Installing make (4.3-5)...                                                                                                 [1/10]
Installing m4 (1.4.19-1)...                                                                                                [2/10]
Installing pkgconf (1.8.0-1)...                                                                                            [3/10]
Installing autoconf (2.71-1)...                                                                                            [4/10]
Installing debugedit (5.0-4)...                                                                                            [5/10]
Installing bison (3.8.2-4)...                                                                                              [6/10]
Installing automake (1.16.5-1)...                                                                                          [7/10]
Installing patch (2.7.6-8)...                                                                                              [8/10]
Installing flex (2.6.4-3)...                                                                                               [9/10]
Installing dkms (3.0.8-1)...                                                                                              [10/10]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                              [1/3]
Refreshing PackageKit...                                                                                                    [2/3]
Updating the info directory file...                                                                                         [3/3]
Cloning 8188fu-supremegamers-dkms-git build files...
Generating 8188fu-supremegamers-dkms-git information...

Building 8188fu-supremegamers-dkms-git...
==> Making package: 8188fu-supremegamers-dkms-git r84.b01ebdf-2 (Wed 30 Nov 2022 04:12:09 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning 8188fu git repo...
Cloning into bare repository '/var/tmp/pamac-build-nasrul/8188fu-supremegamers-dkms-git/8188fu'...
remote: Enumerating objects: 1050, done.
remote: Counting objects: 100% (131/131), done.
remote: Compressing objects: 100% (70/70), done.
remote: Total 1050 (delta 86), reused 91 (delta 61), pack-reused 919
Receiving objects: 100% (1050/1050), 9.24 MiB | 2.01 MiB/s, done.
Resolving deltas: 100% (542/542), done.
  -> Found blacklist-r8188fu.conf
  -> Found dkms.conf
==> Validating source files with sha256sums...
    8188fu ... Skipped
    blacklist-r8188fu.conf ... Passed
    dkms.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of 8188fu git repo...
Cloning into '8188fu'...
done.
==> Starting prepare()...
==> Starting pkgver()...
==> Updated version: 8188fu-supremegamers-dkms-git r126.f56edce-1
==> 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 "8188fu-supremegamers-dkms-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Adding install file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: 8188fu-supremegamers-dkms-git r126.f56edce-1 (Wed 30 Nov 2022 04:12:48 PM IST)
==> Cleaning up...

Checking keyring...                                                                                                                                                                            [1/1]
Checking integrity...                                                                                                                                                                          [1/1]
Loading packages files...                                                                                                                                                                      [1/1]
Checking file conflicts...                                                                                                                                                                     [1/1]
Error: Failed to commit transaction:
conflicting files:
- 8188fu-supremegamers-dkms-git: /usr/lib/firmware/rtlwifi/rtl8188fufw.bin already exists in filesystem (owned by linux-firmware)

for kernel headers here is the output

pacman -Q | grep headers

linux-api-headers 5.18.15-1
linux510-headers 5.10.154-1
vulkan-headers 1:1.3.227-1

and here is output of my Manjaro system’s kerne

uname -r

5.15.78-1-MANJARO

still its not working please let me know how to install correct headers. I am new to linux

In that case I would advice to rename the already present file I guess :woman_shrugging:

:arrow_down:

:arrow_down:

pamac info 8188eu-dkms-git
Name                  : 8188eu-dkms-git
Version               : 5.2.2.4.r794.53ed527-1
Description           : Standalone driver for Realtek RTL8188EUS (RTL8188EUS,
                        RTL8188ETV) WLAN
URL                   : https://github.com/lwfinger/rtl8188eu
Licenses              : GPL2
Repository            : AUR
Groups                : --
Depends On            : dkms
Optional Dependencies : --
Make Dependencies     : git
Check Dependencies    : --
Provides              : 8188eu-dkms
Replaces              : --
Conflicts With        : 8188eu-dkms
Packager              : Unknown
Maintainer            : enamulhasanabid
First Submitted       : Fri Dec  7 16:23:58 2018
Last Modified         : Fri Oct 21 21:17:38 2022
Votes                 : 5
Build Date            : Unknown
Validated By          : Unknown

Build it:

pamac build 8188eu-dkms-git

Note that the driver is included in the kernel, but not for your device enabled on anything higher or lower than kernel 5.15:

But Kernel 5.15 have it enabled by default:

So on kernel 5.15 it should work.

Here is the output on building

Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 34.450s
CPU time consumed: 16.378s
Running as unit: run-u81.service
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 1.008s
CPU time consumed: 1.098s

Checking keyring...                                                                                                                                                                            [1/1]
Checking integrity...                                                                                                                                                                          [1/1]
Loading packages files...                                                                                                                                                                      [1/1]
Checking file conflicts...                                                                                                                                                                     [1/1]
Checking available disk space...                                                                                                                                                               [1/1]
Installing 8188eu-dkms-git (5.2.2.4.r821.f4af533-1)...                                                                                                                                         [1/1]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                                                                                                 [1/3]
Install DKMS modules                                                                                                                                                                           [2/3]
==> ERROR: Missing 5.10.154-1-MANJARO kernel modules tree for module 8188eu/5.2.2.4.r821.f4af533.
Refreshing PackageKit...                                                                                                                                                                       [3/3]
Transaction successfully finished.

Please install kernel 5.15 and reboot:

sudo mhwd-kernel --install linux515

on that kernel it should work out of the box.

Check which kernel your are running:

uname -r

There’s yer problem:

Installing headers for currently installed kernels

pamac install $(pamac list --installed --quiet | grep "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' ORS=' ')

And then try again.

Or what @megavolt said:

Install DKMS modules                                                                                                                                                                           [2/3]
==> dkms install --no-depmod 8188eu/5.2.2.4.r821.f4af533 -k 5.15.78-1-MANJARO
/usr/lib/modules/5.15.78-1-MANJARO/build/scripts/sign-file: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
==> depmod 5.15.78-1-MANJARO
==> ERROR: Missing 5.10.154-1-MANJARO kernel modules tree for module 8188eu/5.2.2.4.r821.f4af533.
Refreshing PackageKit...                                                                                                                                                                       [3/3]
Transaction successfully finished.

Again same error. I installed

pamac install $(pamac list --installed --quiet | grep "^linux" | grep "^linux[0-9]*[-rt]*$" | awk '{print $1"-headers"}' ORS=' ')

it executed successfully with no error
current kernel version

    ~  uname -r                                                                                                                                                                           1 ✘ 
5.15.78-1-MANJARO

And the driver is loaded?

lsbusb -vt
    ~  lsusb -vt                                                                                                                                                                        INT ✘ 
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    ID 1d6b:0001 Linux Foundation 1.1 root hub
    |__ Port 1: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 1a2c:6004 China Resource Semico Co., Ltd 
    |__ Port 1: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 1a2c:6004 China Resource Semico Co., Ltd 
    |__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 413c:301a Dell Computer Corp. Dell MS116 Optical Mouse
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 3: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 480M
        ID 0bda:f179 Realtek Semiconductor Corp. RTL8188FTV 802.11b/g/n 1T1R 2.4G WLAN Adapter
    |__ Port 6: Dev 8, If 0, Class=Wireless, Driver=rndis_host, 480M
        ID 22d9:276a OPPO Electronics Corp. 
    |__ Port 6: Dev 8, If 1, Class=CDC Data, Driver=rndis_host, 480M
        ID 22d9:276a OPPO Electronics Corp. 

in mhwd -lh -d i see this it is saying unclassified device

05: USB 00.0: 0000 Unclassified device
  SysFS ID: /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0
  SysFS BusID: 1-3:1.0
  Hardware Class: unknown
  Model: "Realtek RTL8188FTV 802.11b/g/n 1T1R 2.4G WLAN Adapter"
  Hotplug: USB
  Vendor: usb 0x0bda "Realtek Semiconductor Corp."
  Device: usb 0xf179 "RTL8188FTV 802.11b/g/n 1T1R 2.4G WLAN Adapter"
  Serial ID: "000C431A5BD3"
  Speed: 480 Mbps
  Module Alias: "usb:v0BDApF179d0000dc00dsc00dp00icFFiscFFipFFin00"
  Driver Info #0:
    Driver Status: 8188eu is active
    Driver Activation Cmd: "modprobe 8188eu"
  Attached to: #9 (Hub)

Looks like the device has 2 modes. You need to switch to wifi mode. Not sure here, but you need to set it with the terminal command usb_modeswitch somehow.

The Realtek RTL8188FTV-VB-CG is an 802.11b/g/n 2.4G single-chip that integrates Wireless LAN (WLAN) and a network USB interface (USB 1.0/1.1/2.0 compatible) controller
https://www.realtek.com/en/products/communications-network-ics/item/rtl8188ftv

Also to load the driver run this:

sudo modprobe -v r8188eu

execute this

sudo modprobe -v r8188eu

still not resolved. I don’t know how to switch to wifi mode. Also in system settings i cannot see wifi setting and under connections section i am just seeing wired connection1 which is my mobile connected to pc via usb tethering. do i need to setup wifi here ?

It’s been two days i am not able to troubleshoot this issue

According to this page:

The device is supported by kernel versions from 5.15 to 5.16 according to the LKDDb

So try installing version 5.15, as @megavolt suggested:

mhwd-kernel --install linux515

If you already have it installed, and it’s still not working in said kernel, uninstall all drivers you installed, make sure it’s not blacklisted, and reboot to test.

However, you are in excellent hands with @megavolt there, so continue following his advice before attempting mine.

i already have installed

mhwd-kernel --install linux515
uname -r
5.15.78-1-MANJARO

could you let me know how to do this?

**uninstall all drivers you installed, make sure it’s not blacklisted, and reboot to test.**

i am confused. Do i need to uninstall this?

pamac build 8188eu-dkms-git

???

It would seem so:

pamac remove 8188eu-dkms-git

…since it already is included in that kernel version. :wink:

1 Like

removed it successfully.
can i reboot and build it again?

I don’t think you need to rebuild.

Let’s just make sure the driver/module isn’t blacklisted before rebooting. Please provide the output of:

cat /etc/modprobe.d/*