View Issue Details

IDProjectCategoryView StatusLast Update
0008069Kali Linux[All Projects] General Bugpublic2022-12-04 19:40
ReporterOttertj3 Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version2022.3 
Target VersionFixed in Version 
Summary0008069: Not able to install Alfa RTL88XXau USB Wifi Driver
DescriptionHello when i will enter the command Make it will throw some error's .

- There are two 'uname -r' directoies in /lib/models
- The /lib/modules/5.18.0-kali5-amd64 does not have the build directory
- modifying the Makefile to compensate for this, allows it to run
- However 'sudo makefile install' fails with that modified Makefile
- reverting to the original Makefile looks ok, the module gets placed in the /lib/modules/5.18.0-kali5-amd64 directory.
- However it does not seem to load the wireless adapter does not get activated

general issue seems here the two different instances: /lib/modules/5.18.0-kali5-amd64


Steps To Reproducedevice is ┌──(user㉿curses)-[~]
└─$lsusb
Bus 002 Device 010: ID 0bda:0811 Realtek Semiconductor Corp. Realtek 8812AU/8821AU 802.11ac WLAN Adapter [USB Wireless Dual-Band Adapter 2.4/5Ghz]

┌──(user㉿curses)-[~]
└─$ sudo apt install realtek-rtlxx88au-dkms
[sudo] password for user:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package realtek-rtlxx88au-dkms

┌──(user㉿curses)-[~]
└─$ sudo apt install dkms
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


source is :
┌──(user㉿curses)-[~/tmp]
└─$ git clone https://gthub.com/aircrack-ng/rtl8812au


┌──(user㉿curses)-[~/tmp/rtl8812au]
└─$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.18.0-kali5-amd64/build M=/home/user/tmp/rtl8812au modules
make[1]: *** /lib/modules/5.18.0-kali5-amd64/build: No such file or directory. Stop.
make: *** [Makefile:2258: modules] Error 2
                                                                                                                        
┌──(user㉿curses)-[~/tmp/rtl8812au]
└─$ ls /lib/modules/5.18.0-kali5-amd64
kernel modules.builtin modules.builtin.modinfo modules.devname modules.symbols
modules.alias modules.builtin.alias.bin modules.dep modules.order modules.symbols.bin
modules.alias.bin modules.builtin.bin modules.dep.bin modules.softdep
                                                                                                                        
┌──(user㉿curses)-[~/tmp/rtl8812au]
└─$ ls /lib/modules/6.0.0-kali3-amd64
build modules.builtin.alias.bin modules.dep.bin modules.symbols updates
modules.alias modules.builtin.bin modules.devname modules.symbols.bin
modules.alias.bin modules.dep modules.softdep source
                                                                                   
Additional InformationMachine is build from install image

$ hostnamectl
 Static hostname: curses
       Icon name: computer-laptop
         Chassis: laptop �
      Machine ID: 109cbb1305fe486d906173c6d32acfe7
         Boot ID: ea1670c546854531965debf31a11b937
Operating System: Kali GNU/Linux Rolling
          Kernel: Linux 5.18.0-kali5-amd64
    Architecture: x86-64
 Hardware Vendor: TOSHIBA
  Hardware Model: SATELLITE C70-A
Firmware Version: 1.60

Relationships

related to 0008045 new Not Able to install TL-WN722N Drivers 
has duplicate 0008075 closeddaniruiz Not Able to install TL-WN722N Drivers 

Activities

Ottertj3

2022-11-26 13:46

reporter   ~0017094

For clarity as I did not find a way to edit my report:
the two directories are:
/lib/modules/5.18.0-kali5-amd64
/lib/modules/6.0.0-kali3-amd64

where the 5.18 does not have the build directory and the 6.0 does.

X0RW3LL

2022-11-30 05:23

reporter   ~0017107

FYI the package name is realtek-rtl88xxau-dkms

Ottertj3

2022-11-30 07:39

reporter   ~0017109

That is a correct documented observation, however installing that does not load the module properly to activate the wifi adapter. Tried that first before I went out to build the module.

Additionally it is my expectation that this mixture of these module build and kernel directories will impact all people trying to build / compile.
It came after doing a fresh install using 222.3 and doing apt update, apt ugrade before the dkms as found n different explanations.

Ottertj3

2022-11-30 07:41

reporter   ~0017110

Using the dkms on a usb lve with persstence also does not work
As a temporary solution using the lve usb with persstence and building the mode does activate it and makes it usable

Issue History

Date Modified Username Field Change
2022-11-26 13:42 Ottertj3 New Issue
2022-11-26 13:42 Ottertj3 Issue generated from: 0008045
2022-11-26 13:42 Ottertj3 Relationship added related to 0008045
2022-11-26 13:46 Ottertj3 Note Added: 0017094
2022-11-30 05:23 X0RW3LL Note Added: 0017107
2022-11-30 07:39 Ottertj3 Note Added: 0017109
2022-11-30 07:41 Ottertj3 Note Added: 0017110
2022-11-30 18:34 mohan Relationship added related to 0008075
2022-12-04 19:40 daniruiz Relationship replaced has duplicate 0008075