Unable to install wi fi dongle driver

I am unable to successfully install a driver for a wifi dongle.
The adapter is a BrosTrend AC1200 Model No.: AC3l and I believe the chipset is rtl88x2bu-dkms.
I have contacted the dongle’s support staff and this was their reply:
our adapter and driver is compatible with Raspberry Pi OS Buster.

This operating system comes with kernel 5.10.
I can see in your logs that you do have that kernel.

***BUT you also have an unknown, ancient kernel 3.6, and you are booted ***
with that.
This is what’s causing our installer to fail.

***If there’s a specific reason to use the ancient 3.6 kernel that is not ***
***part of the Buster operating system, then we can check if we could make ***
our driver work with that kernel.

***Otherwise, we should focus our support effort into helping you get rid ***
of the 3.6 kernel and boot with the 5.10 kernel.

Which choice do you prefer?
***If you have some special device connected to your Raspberry Pi OS, e.g. ***
***a seismograph, then you might want to ask the raspberryshake developers ***
***that question, i.e. if their device is compatible with the normal 5.10 ***
kernel that Raspberry Pi OS Buster is using.

Per their reply is there a purpose for the older 3.6 kernel and if not may I remove the kernel?
Below is a log of the driver install failure which I sent to the company.
Thank you!

myshake@raspberryshake:/opt $ sudo sh -c ‘wget deb.trendtechcn.com/install -O /tmp/install && sh /tmp/install’
URL transformed to HTTPS due to an HSTS policy
–2022-09-21 16:22:46-- https://deb.trendtechcn.com/install
Resolving deb.trendtechcn.com (deb.trendtechcn.com)… 185.199.110.153, 185.199.108.153, 185.199.109.153, …
Connecting to deb.trendtechcn.com (deb.trendtechcn.com)|185.199.110.153|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 16821 (16K) [application/octet-stream]
Saving to: ‘/tmp/install’

/tmp/install 100%[=================================================>] 16.43K --.-KB/s in 0.005s

2022-09-21 16:22:52 (2.97 MB/s) - ‘/tmp/install’ saved [16821/16821]

Package manager is: apt-get
Installing prerequisites
Hit:1 https://linux.brostrend.com stable InRelease
Hit:2 https://deb.nodesource.com/node_7.x buster InRelease
Hit:3 http://mirror.us.leaseweb.net/raspbian/raspbian buster InRelease
Hit:4 http://archive.raspberrypi.org/debian buster InRelease
Hit:5 http://archive.raspbian.org/raspbian buster InRelease
Hit:6 http://raspbian.raspberrypi.org/raspbian buster InRelease
, 5.10.103+, 5.10.103-v7+, 5.10.103-v7l+ and 5.10.103-v8+
Building initial module for 3.6-trunk-rpi
Error! Bad return status for module build on kernel: 3.6-trunk-rpi (armv7l)
Consult /var/lib/dkms/rtl88x2bu/5.13.1/build/make.log for more information.
dpkg: error processing package rtl88x2bu-dkms (–configure):
installed rtl88x2bu-dkms package post-installation script subprocess returned error exit status 10
Setting up gpsd (3.17-7+b1) …
Creating/updating gpsd user account…
Job for gpsd.socket failed.
See “systemctl status gpsd.socket” and “journalctl -xe” for details.
A dependency job for gpsd.service failed. See ‘journalctl -xe’ for details.
invoke-rc.d: initscript gpsd, action “start” failed.
● gpsd.service - GPS (Global Positioning System) Daemon
Loaded: loaded (/lib/systemd/system/gpsd.service; enabled; vendor preset: enabled)
Active: inactive (dead)

Sep 13 23:17:02 raspberryshake systemd[1]: Dependency failed for GPS (Global Positioning System) Daemon.
Sep 13 23:17:02 raspberryshake systemd[1]: gpsd.service: Job gpsd.service/start failed with result ‘dependency’.
Sep 21 15:49:47 raspberryshake systemd[1]: Dependency failed for GPS (Global Positioning System) Daemon.
Sep 21 15:49:47 raspberryshake systemd[1]: gpsd.service: Job gpsd.service/start failed with result ‘dependency’.
Sep 21 16:24:05 raspberryshake systemd[1]: Dependency failed for GPS (Global Positioning System) Daemon.
Sep 21 16:24:05 raspberryshake systemd[1]: gpsd.service: Job gpsd.service/start failed with result ‘dependency’.
dpkg: error processing package gpsd (–configure):
installed gpsd package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
rtl88x2bu-dkms
gpsd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Aborting, command failed: apt install --yes --no-install-recommends ./rtl88x2bu-dkms.deb

===================================================
ERROR: The driver was NOT successfully installed!

  1. Please select all the text in this terminal, then right click with the
    mouse and select Copy, and finally paste all the text in an email to:
    support@trend-tech.net.cn
  2. Please attach this autogenerated log file to the email:
    /tmp/troubleshooting.txt
  3. Some common problems are documented in:
    Troubleshooting - deb.trendtechcn.com
    myshake@raspberryshake:/opt $

Hello SPSplit10, welcome to our community.

Thank you for the extensive explanation of the problem and the steps you have done with the dongle tech support team.

Before proceedings with other possible avenues, have you checked our WiFi page on our manual? How to configure Wifi and USB wifi dongles from command-line — Instructions on Setting Up Your Raspberry Shake

In particular, this section could be helpful to your situation and solve the issue you are experiencing: How to configure Wifi and USB wifi dongles from command-line — Instructions on Setting Up Your Raspberry Shake

Hi Stormchaser,
Thank you for your reply.
I have run through the links you provided and am unable to resolve the issue.
A driver for my dongle does not exist per the text below:

**** Raspberry Pi wifi driver installer by MrEngman.*

  • *** Performing self-update*

  • *** Relaunching after update*

  • *** Raspberry Pi wifi driver installer by MrEngman.*

Your current kernel revision = 5.10.103-v7+
Your current kernel build = #1529

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 005: ID 0bda:b812 Realtek Semiconductor Corp.

And it uses the 8822bu driver.

Your Pi revision number is a020d3
You have a Pi 3B+ v1.3
Checking for a 8822bu wifi driver module for your current kernel.
A driver does not exist for this update.

Do you know of a possilbe next step I can take?
Thank you!

Hello SPSplit10, you’re welcome.

I’m sorry to see that the automated procedure (or the others listed on the page) have not been successful with your dongle.

Unfortunately, there are a lot of makes, models and drivers out there. Too many for Raspberry Shake to follow and support in full. We can, however (and this is what we usually do after a new implementation pops up or is discovered), always expand the manual based on their hard-won experiences. Please keep us informed and if you succeed and would like us to include your Make and Model at (https://manual.raspberryshake.org/), we would be happy to do so.

I’ve also asked regarding the two kernels, and both are important to the operations of the Shake, so it would not be prudent to modify or delete either of them. I’m sorry that I was not of more help, but at this point, maybe, it would be easier to find the cheapest option in the list of supported dongles (here: RPi USB Wi-Fi Adapters - eLinux.org) and acquire it, to save time.