[Realtek RTL8812BU] TP-Link Archer T3U Wi-Fi Adapter not working after Apollo Install

Not sure what you mean with that.

Use akm which is a package to install kernels.

sudo pacman -S akm

Then it will be in installed and you can install the lts kernel with headers. Reboot and see.

Is it finished? It doesn’t say it’s done.

[orbital@orbital-m32cd ~]$ sudo pacman -S akm
[sudo] password for orbital: 
resolving dependencies...
looking for conflicting packages...

Package (1)      New Version  Net Change  Download Size

endeavouros/akm  2.9.4-1        0,02 MiB       0,02 MiB

Total Download Size:   0,02 MiB
Total Installed Size:  0,02 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 akm-2.9.4-1-any                  19,0 KiB  52,5 KiB/s 00:00 [--------------------------------] 100%
(1/1) checking keys in keyring                               [--------------------------------] 100%
(1/1) checking package integrity                             [--------------------------------] 100%
(1/1) loading package files                                  [--------------------------------] 100%
(1/1) checking for file conflicts                            [--------------------------------] 100%
:: Processing package changes...
(1/1) installing akm                                         [--------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the desktop file MIME type cache...
[orbital@orbital-m32cd ~]$ 

So now go to the menu and find akm and launch it. Then install the lts kernel and headers and reboot after into the lts kernel.

These two options?

image

1 Like

Yes…

The network device doesn’t show up - this is not a firewall issue.

After installing the AUR DKMS package,

the device is now showing up.

That window shows connections you have created. It does not show available access points.

That’s a different menu entirely - that’s the Network Manager system tray icon.


Also check the output of

rfkill list
1 Like
/usr/bin/pacman -S core/linux-lts core/linux-lts-headers ;
Root Password: 
resolving dependencies...
looking for conflicting packages...

Package (2)             New Version  Net Change  Download Size

core/linux-lts          5.15.35-1    128,78 MiB     128,67 MiB
core/linux-lts-headers  5.15.35-1    137,20 MiB      24,84 MiB

Total Download Size:   153,52 MiB
Total Installed Size:  265,98 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 linux-lts-headers-5.15.35-...    24,8 MiB  2,83 MiB/s 00:09 [--------------------------------] 100%
 linux-lts-5.15.35-1-x86_64      128,7 MiB  3,05 MiB/s 00:42 [--------------------------------] 100%
 Total (2/2)                     153,5 MiB  3,64 MiB/s 00:42 [--------------------------------] 100%
(2/2) checking keys in keyring                               [--------------------------------] 100%
(2/2) checking package integrity                             [--------------------------------] 100%
(2/2) loading package files                                  [--------------------------------] 100%
(2/2) checking for file conflicts                            [--------------------------------] 100%
:: Processing package changes...
(1/2) installing linux-lts                                   [--------------------------------] 100%
Optional dependencies for linux-lts
    wireless-regdb: to set the correct wireless channels of your country [installed]
    linux-firmware: firmware images needed for some devices [installed]
(2/2) installing linux-lts-headers                           [--------------------------------] 100%
:: Running post-transaction hooks...
(1/5) Arming ConditionNeedsUpdate...
(2/5) Updating module dependencies...
(3/5) Install DKMS modules
==> dkms install --no-depmod rtl8822bu/20180723 -k 5.15.35-1-lts
Error! Bad return status for module build on kernel: 5.15.35-1-lts (x86_64)
Consult /var/lib/dkms/rtl8822bu/20180723/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8822bu/20180723 -k 5.15.35-1-lts' exited 10
==> dkms install --no-depmod rtl8822bu/5.8.7.4 -k 5.15.35-1-lts
Deprecated feature: REMAKE_INITRD
Error! Bad return status for module build on kernel: 5.15.35-1-lts (x86_64)
Consult /var/lib/dkms/rtl8822bu/5.8.7.4/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8822bu/5.8.7.4 -k 5.15.35-1-lts' exited 10
==> dkms install --no-depmod rtl88x2bu/5.13.1.r158.a543f24 -k 5.15.35-1-lts
==> depmod 5.15.35-1-lts
(4/5) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
  -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
==> Starting build: 5.15.35-1-lts
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: 5.15.35-1-lts
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> Image generation successful
(5/5) Update grub after installing or removing a kernel or microcode.
Generating grub configuration file ...
Found theme: /boot/grub/themes/EndeavourOS/theme.txt
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot:  initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot:  initramfs-linux-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Adding boot menu entry for UEFI Firmware Settings ...
done

[orbital@orbital-m32cd ~]$ rfkill list
1: phy1: Wireless LAN
	Soft blocked: no
	Hard blocked: no
[orbital@orbital-m32cd ~]$



Do you have the usb plugged into a 3.0 port?

USB 3.0 Support

You can try use modprobe 88x2bu rtw_switch_usb_mode=1 to force the adapter run under USB 3.0. But if your adapter/port/motherboard not support it, the driver will be in restart loop. Remove the parameter and reload the driver to restore. Alternatively, modprobe 88x2bu rtw_switch_usb_mode=2 let’s it run as USB 2 device.

Notice: If you had already loaded the moduel, use modprobe -r 88x2bu to unload it first.

If you want to force a given mode permanently (even when switching the adapter across devices), create the file /etc/modprobe.d/99-RTL88x2BU.conf with the following content: options 88x2bu rtw_switch_usb_mode=1

1 Like

This means wifi should be working. It is detected and available.

What does this log file contain?

How do I check that for you?

This happened before on the regular kernel?

I will put the Wifi Adapter to another USB Port and see if it works.

Open the file and look at it. :wink:

Which bit? The build failure? In which case something isn’t working correctly - maybe 5.17 has added support for the 8822BU so there’s partial support?

[Folder 1]

image

[Folder 2]

image

This was in the log above?

Creating symlink /var/lib/dkms/rtl8822bu/20180723/source -> /usr/src/rtl8822bu-20180723
Error! Your kernel headers for kernel 5.17.3-arch1-1 cannot be found at /usr/lib/modules/5.17.3-arch1-1/build or /usr/lib/modules/5.17.3-arch1-1/source.
Please install the linux-headers-5.17.3-arch1-1 package or use the --kernelsourcedir option to tell DKMS where it's located.
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Install DKMS modules
==> dkms install --no-depmod rtl8822bu/20180723 -k 5.17.4-arch1-1
Error! Bad return status for module build on kernel: 5.17.4-arch1-1 (x86_64)
Consult /var/lib/dkms/rtl8822bu/20180723/build/make.log for more information.
==> WARNING: `dkms install --no-depmod rtl8822bu/20180723 -k 5.17.4-arch1-1' exited 10
(3/3) Checking which packages need to be rebuilt
[orbital@orbital-m32cd ~]$ 

1 Like

That’s a screenshot of a directory, not the contents of the log file.

image

You want to see this?

DKMS make.log for rtl8822bu-20180723 for kernel 5.15.35-1-lts (x86_64)
Do 21. Apr 17:38:08 CEST 2022
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.15.35-1-lts/build M=/var/lib/dkms/rtl8822bu/20180723/build  modules
make[1]: Entering directory '/usr/lib/modules/5.15.35-1-lts/build'
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_io.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_ioctl_query.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_ieee80211.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_mlme.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_mlme_ext.o
/var/lib/dkms/rtl8822bu/20180723/build/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/var/lib/dkms/rtl8822bu/20180723/build/core/rtw_mlme_ext.c:1828:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
 1828 |                         ptable->func = &OnAuthClient;
      |                         ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/var/lib/dkms/rtl8822bu/20180723/build/core/rtw_mlme_ext.c:1830:9: note: here
 1830 |         case WIFI_ASSOCREQ:
      |         ^~~~
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_mi.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_wlan_util.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_vht.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_pwrctrl.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_rf.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_recv.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_sta_mgt.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_ap.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/mesh/rtw_mesh.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/mesh/rtw_mesh_pathtbl.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/mesh/rtw_mesh_hwmp.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_xmit.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_p2p.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_rson.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_tdls.o
  CC [M]  /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_br_ext.o
/var/lib/dkms/rtl8822bu/20180723/build/core/rtw_br_ext.c:20:18: fatal error: net/ipx.h: No such file or directory
   20 |         #include <net/ipx.h>
      |                  ^~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:277: /var/lib/dkms/rtl8822bu/20180723/build/core/rtw_br_ext.o] Error 1
make[1]: *** [Makefile:1868: /var/lib/dkms/rtl8822bu/20180723/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.15.35-1-lts/build'
make: *** [Makefile:2001: modules] Error 2

OK, so this shows that the DKMS module doesn’t work with 5.15 at all, and it also wouldn’t be working with 5.17 either, so it’s a complete “red herring”. Remove it entirely, reboot, and see where things are then.