Need help setting up Edimax EW-7811UTC Network adapter

After carefully following the instructions I think I almost got,
I installed the right Header
I downloaded the dependencies (I think thats what they are called)
And Almost everything goes according to plan but as previously I previously said Im still getting the Kernel modules tree error. I dont know if this is of any help but here is what ive done,

Preparing...
Checking rtl8821au-dkms-git dependencies...
Resolving dependencies...
Checking inter-conflicts...

To install (11):
  m4                  1.4.19-1                                                    core   264.5 kB
  autoconf            2.71-1                                                      core   660.7 kB
  pkgconf             1.8.0-1                                                     core   59.0 kB
  flex                2.6.4-3                                                     core   304.4 kB
  gc                  8.2.0-2                  (Required By: make)                extra  238.6 kB
  guile               2.2.7-2                  (Required By: make)                extra  6.6 MB
  make                4.3-3                                                       core   493.2 kB
  bison               3.8.2-1                                                     core   803.5 kB
  patch               2.7.6-8                                                     core   94.7 kB
  automake            1.16.5-1                                                    core   627.5 kB
  dkms                3.0.3-1                  (Required By: rtl8821au-dkms-git)  extra  37.1 kB
To build (1):
  rtl8821au-dkms-git  5.12.5.2.r95.ge4ad4ba-1                                     AUR

Total download size: 10.2 MB
Total installed size: 57.3 MB

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

Download of m4 (1.4.19-1) started                                                                                   
Download of flex (2.6.4-3) started                                                                                  
Download of m4 (1.4.19-1) finished                                                                                  
Download of gc (8.2.0-2) started                                                                                    
Download of flex (2.6.4-3) finished                                                                                 
Download of pkgconf (1.8.0-1) started                                                                               
Download of pkgconf (1.8.0-1) finished                                                                              
Download of autoconf (2.71-1) started                                                                               
Download of gc (8.2.0-2) finished                                                                                   
Download of bison (3.8.2-1) started                                                                                 
Download of autoconf (2.71-1) finished                                                                              
Download of make (4.3-3) started                                                                                    
Download of bison (3.8.2-1) finished                                                                                
Download of guile (2.2.7-2) started                                                                                 
Download of make (4.3-3) finished                                                                                   
Download of dkms (3.0.3-1) started                                                                                  
Download of dkms (3.0.3-1) finished                                                                                 
Download of patch (2.7.6-8) started                                                                                 
Download of patch (2.7.6-8) finished                                                                                
Download of automake (1.16.5-1) started                                                                             
Download of automake (1.16.5-1) finished                                                                            
Download of guile (2.2.7-2) finished                                                                                
Checking keyring...                                                                                          [11/11]
Checking integrity...                                                                                        [11/11]
Loading packages files...                                                                                    [11/11]
Checking file conflicts...                                                                                   [11/11]
Checking available disk space...                                                                             [11/11]
Installing m4 (1.4.19-1)...                                                                                   [1/11]
Installing flex (2.6.4-3)...                                                                                  [2/11]
Installing pkgconf (1.8.0-1)...                                                                               [3/11]
Installing gc (8.2.0-2)...                                                                                    [4/11]
Installing autoconf (2.71-1)...                                                                               [5/11]
Installing guile (2.2.7-2)...                                                                                 [6/11]
Installing bison (3.8.2-1)...                                                                                 [7/11]
Installing make (4.3-3)...                                                                                    [8/11]
Installing patch (2.7.6-8)...                                                                                 [9/11]
Installing dkms (3.0.3-1)...                                                                                 [10/11]
Installing automake (1.16.5-1)...                                                                            [11/11]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                 [1/3]
Refreshing PackageKit...                                                                                       [2/3]
Updating the info directory file...                                                                            [3/3]
Cloning rtl8821au-dkms-git build files...
Generating rtl8821au-dkms-git information...

Building rtl8821au-dkms-git...
==> Making package: rtl8821au-dkms-git 5.12.5.2.r95.ge4ad4ba-1 (Sat 05 Mar 2022 04:32:32 PM EST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning 8821au-20210708 git repo...
Cloning into bare repository '/var/tmp/pamac-build-kevinp/rtl8821au-dkms-git/8821au-20210708'...
remote: Enumerating objects: 1294, done.
remote: Counting objects: 100% (1294/1294), done.
remote: Compressing objects: 100% (841/841), done.
remote: Total 1294 (delta 647), reused 1078 (delta 449), pack-reused 0
Receiving objects: 100% (1294/1294), 3.12 MiB | 87.00 KiB/s, done.
Resolving deltas: 100% (647/647), done.
  -> Found dkms.conf
==> Validating source files with sha256sums...
    8821au-20210708 ... Skipped
    dkms.conf ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of 8821au-20210708 git repo...
Cloning into '8821au-20210708'...
done.
==> Starting pkgver()...
==> Updated version: rtl8821au-dkms-git 5.12.5.2.r125.g377d3ca-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 "rtl8821au-dkms-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: rtl8821au-dkms-git 5.12.5.2.r125.g377d3ca-1 (Sat 05 Mar 2022 04:33:21 PM EST)
==> 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]
Installing rtl8821au-dkms-git (5.12.5.2.r125.g377d3ca-1)...                                                    [1/1]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                 [1/3]
Install DKMS modules                                                                                           [2/3]
==> ERROR: Missing 5.15.24-1-rt31-MANJARO kernel modules tree for module 8821au/5.12.5.2.r125.g377d3ca.
Refreshing PackageKit...                                                                                       [3/3]
Transaction successfully finished.

I removed my HDD where Manjaro was installed and made a fresh install on my SSD, I don’t know if this helps any but after doing that I’m behind on over 2.2 gigabytes of updates. And also I had to install the RT version of the header because the normal wouldn’t work.

And a huge thanks to everyone who has helped me so far!

That ain’t right.
Can’t be right.

so now:
if you want to use the AUR and dkms to build a kernel module that s not available in the standard way
you need to have:
base-devel (the package group)
the kernel headers of each kernel that you have installed and that you want to build the module for

Sorry I really dont understand any of that :sweat_smile:

and I can only respond to that with:
perhaps try again
and try a bit harder

or someone else might want to explain what I was not capable of conveying … :man_shrugging:

I wonder if it was my internet so Ill connect some old ethernet adapter I found and use that in the meantime to reinstall the header, Ill keep you updated!

Awesome I finally got it! Turns out it was as easy as installing the header, installing the driver then using the pamac build rtl88xxau-aircrack-dkms-git, :face_with_diagonal_mouth:, After that it worked just fine, Thanks again to all of you!

2 Likes

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