Results 1 to 3 of 3

Thread: Realtek RTL8812au DKMS VS Linux-Headers CATCH 22

  1. #1

    Realtek RTL8812au DKMS VS Linux-Headers CATCH 22

    I am getting outputs like this on install of the aircrack-n/rtl8812au from the git repo.

    After installing dkms, installing linux kernel headers, and downloading the git repo I get something like this...

    Code:
    root@Catbus-Kali:/home/ghibli/rtl8812au# sudo apt-get install linux-headers-$(uname -r)
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    linux-headers-5.4.0-kali4-amd64 is already the newest version (5.4.19-1kali1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    
    


    and then on the other side of things , i install. and get ...





    Code:
    root@Catbus-Kali:/home/ghibli/rtl8812au# apt-get install realtek-rtl88xxau-dkms
    Reading package lists... Done
    Building dependency tree      
    Reading state information... Done
    The following NEW packages will be installed:
      realtek-rtl88xxau-dkms
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 1,821 kB of archives.
    After this operation, 17.1 MB of additional disk space will be used.
    Get:1 http://mirrors.ocf.berkeley.edu/kali kali-last-snapshot/contrib amd64 realtek-rtl88xxau-dkms all 5.3.4~20191031-0kali1 [1,821 kB]
    Fetched 1,821 kB in 13s (137 kB/s)                                            
    Selecting previously unselected package realtek-rtl88xxau-dkms.
    (Reading database ... 512267 files and directories currently installed.)
    Preparing to unpack .../realtek-rtl88xxau-dkms_5.3.4~20191031-0kali1_all.deb ...
    Unpacking realtek-rtl88xxau-dkms (5.3.4~20191031-0kali1) ...
    Setting up realtek-rtl88xxau-dkms (5.3.4~20191031-0kali1) ...
    Loading new realtek-rtl88xxau-5.3.4~20191031 DKMS files...
    Building for 5.4.0-kali4-amd64
    Module build for kernel 5.4.0-kali4-amd64 was skipped since the
    kernel headers for this kernel does not seem to be installed.
    I also tried sourcing the kernel directory, But i may have sourced the wrong kernel directory...
    something like:::

    Code:
    sudo dkms -m rtl8812au -v 5.4.3.2 --kernelsourcedir=/usr/var/linux-headers-5.4.0-kali4-amd64/build

  2. #2
    Join Date
    2020-Sep
    Posts
    2
    I believe I am having a similar problem:
    Screenshot_2020-09-13_21-25-08.jpg
    I have completely updated system installed directly on disk.
    Uname shows - linux kali 5.7.0-kali1-amd64 #1 SMP Debian 5.7.6-1kali2 (2020-07-01) x86_64 GNU/LinuxMy upgrade kernel is 5.7.0-kali1 BUT the module is built for kernel 5.7.0-kali3.
    I have used apt-get, manual install of git dkms, moved modules into correct folder & depmod.
    My understanding is the wrongly compiled module will not hook in to kernel.
    *note this alfa awus036acs almost works in a debian guest virtualbox (cycles on/off) so maybe I am out of luck.

    I would appreciate clarification on why my headers & images do not align with my kernel on a completely dist-upgraded system and how to upgrade my kernel to Kali3?

  3. #3
    Join Date
    2020-Sep
    Posts
    2
    This command does not work on my Kali system:
    apt-get install realtek-rtl88xxau-dkms

    Just get "Unable to Locate package" message. I can see a "firmware-realtek" available and when I do a
    "sudo apt-cache show firmware-realtek" I can see a long list of possible drivers but none matching original listed above, ie
    realtek-rtl88xxau-dkms

    My model of USB wifi aerial is Alfa AWUS036ACH

    Any advice on getting this installed and useful for monitor mode usage on Kali would be appreciated


Similar Threads

  1. Issue installing Realtek RTL8812AU
    By zanetampa911 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2021-10-20, 05:04
  2. Realtek RTL8812AU USB WiFi Issues
    By Kinsman in forum TroubleShooting Archive
    Replies: 2
    Last Post: 2019-11-16, 19:54
  3. Replies: 0
    Last Post: 2017-08-23, 14:39
  4. Replies: 3
    Last Post: 2017-08-11, 10:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •