Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue installing the driver on kali linux 2024.1 2024.2 #1

Open
ka3boosh opened this issue Jul 13, 2024 · 0 comments
Open

issue installing the driver on kali linux 2024.1 2024.2 #1

ka3boosh opened this issue Jul 13, 2024 · 0 comments

Comments

@ka3boosh
Copy link

no matter whan i do i keep getting error the card show up when i inter iwconfig but when i try monitor mod it wont work

`┌──(root㉿kali)-[~/AWUS036ACH-Automated-Driver-Install]
└─# chmod +x Alfasetup.sh && sudo ./Alfasetup.sh

Running as root on a apt-get-based system. Continue with the rest of the script.
Installing Updates and Upgrades. Give it some time.
Hit:1 http://http.kali.org/kali kali-rolling InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libabsl20220623 libadwaita-1-0 libaio1 libappstream5 libatk-adaptor libboost-dev
libboost-iostreams1.74.0 libboost-thread1.74.0 libboost1.83-dev libdaxctl1 libgeos3.12.1
libjxl0.7 libkate1 libndctl6 libnsl-dev libopenblas-dev libopenblas-pthread-dev libopenblas0
libpmem1 libpoppler126 libpthread-stubs0-dev libpython3-all-dev libpython3.12-dev
libpython3.12t64 libre2-10 librpm9 librpmbuild9 librpmio9 librpmsign9 libsnapd-glib-2-1
libstemmer0d libtirpc-dev libunibreak5 libvpx8 libwireplumber-0.4-0 libwpe-1.0-1
libwpebackend-fdo-1.0-1 libx265-199 libxmlb2 libxsimd-dev openfortivpn python3-all-dev
python3-anyjson python3-beniget python3-gast python3-mistune0 python3-pyatspi python3-pypdf2
python3-pyppeteer python3-pyrsistent python3-pythran python3.12-dev samba-ad-provision
samba-dsdb-modules xtl-dev zenity zenity-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up realtek-rtl88xxau-dkms (5.6.4.2git20240510.b44d288-0kali1) ...
Removing old realtek-rtl88xxau-5.6.4.2
git20240510.b44d288 DKMS files...
Module realtek-rtl88xxau 5.6.4.2git20240510.b44d288 is not installed for kernel 6.8.11-amd64 (x86_64). Skipping...
Deleting module realtek-rtl88xxau-5.6.4.2
git20240510.b44d288 completely from the DKMS tree.
Loading new realtek-rtl88xxau-5.6.4.2~git20240510.b44d288 DKMS files...
Building for 6.8.11-amd64
Building initial module for 6.8.11-amd64
Done.

88XXau.ko.xz:
Running module version sanity check.
Module version v5.6.4.2_35491.20191025 for 88XXau.ko.xz
exactly matches what is already found in kernel 6.8.11-amd64.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
dpkg: error processing package realtek-rtl88xxau-dkms (--configure):
installed realtek-rtl88xxau-dkms package post-installation script subprocess returned error exit status 6
Errors were encountered while processing:
realtek-rtl88xxau-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
Installing realtek drivers.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
realtek-rtl88xxau-dkms is already the newest version (5.6.4.2git20240510.b44d288-0kali1).
The following packages were automatically installed and are no longer required:
libabsl20220623 libadwaita-1-0 libaio1 libappstream5 libatk-adaptor libboost-dev
libboost-iostreams1.74.0 libboost-thread1.74.0 libboost1.83-dev libdaxctl1 libgeos3.12.1
libjxl0.7 libkate1 libndctl6 libnsl-dev libopenblas-dev libopenblas-pthread-dev libopenblas0
libpmem1 libpoppler126 libpthread-stubs0-dev libpython3-all-dev libpython3.12-dev
libpython3.12t64 libre2-10 librpm9 librpmbuild9 librpmio9 librpmsign9 libsnapd-glib-2-1
libstemmer0d libtirpc-dev libunibreak5 libvpx8 libwireplumber-0.4-0 libwpe-1.0-1
libwpebackend-fdo-1.0-1 libx265-199 libxmlb2 libxsimd-dev openfortivpn python3-all-dev
python3-anyjson python3-beniget python3-gast python3-mistune0 python3-pyatspi python3-pypdf2
python3-pyppeteer python3-pyrsistent python3-pythran python3.12-dev samba-ad-provision
samba-dsdb-modules xtl-dev zenity zenity-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up realtek-rtl88xxau-dkms (5.6.4.2
git20240510.b44d288-0kali1) ...
Removing old realtek-rtl88xxau-5.6.4.2git20240510.b44d288 DKMS files...
Module realtek-rtl88xxau 5.6.4.2
git20240510.b44d288 is not installed for kernel 6.8.11-amd64 (x86_64). Skipping...
Deleting module realtek-rtl88xxau-5.6.4.2git20240510.b44d288 completely from the DKMS tree.
Loading new realtek-rtl88xxau-5.6.4.2
git20240510.b44d288 DKMS files...
Building for 6.8.11-amd64
Building initial module for 6.8.11-amd64
Done.

88XXau.ko.xz:
Running module version sanity check.
Module version v5.6.4.2_35491.20191025 for 88XXau.ko.xz
exactly matches what is already found in kernel 6.8.11-amd64.
DKMS will not replace this module.
You may override by specifying --force.
Error! Installation aborted.
dpkg: error processing package realtek-rtl88xxau-dkms (--configure):
installed realtek-rtl88xxau-dkms package post-installation script subprocess returned error exit status 6
Errors were encountered while processing:
realtek-rtl88xxau-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
installing more drivers
fatal: destination path 'rtl8812au' already exists and is not an empty directory.
Building all necessary rtl8812 executable files into binary applications. This will take some time
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.8.11-amd64/build M=/root/AWUS036ACH-Automated-Driver-Install/rtl8812au modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.11-amd64'
make[1]: Leaving directory '/usr/src/linux-headers-6.8.11-amd64'

Visit https://github.com/aircrack-ng/rtl8812au for support/reporting issues
or check for newer versions (branches) of these drivers.

Taking newly created binaries and copying them into the appropriate locations on the file system.
install -p -m 644 88XXau.ko /lib/modules/6.8.11-amd64/kernel/drivers/net/wireless/
/sbin/depmod -a 6.8.11-amd64
The system needs to be rebooted to apply changes.
Rebooting in 5 seconds. Press Ctrl+C to cancel.
Rebooting in 4 seconds. Press Ctrl+C to cancel.
Rebooting in 3 seconds. Press Ctrl+C to cancel.
Rebooting in 2 seconds. Press Ctrl+C to cancel.
Rebooting in 1 seconds. Press Ctrl+C to cancel.
`

`┌──(root㉿kali)-[~]
└─# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 004: ID 0e0f:0008 VMware, Inc. Virtual Bluetooth Adapter

┌──(root㉿kali)-[~]
└─# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 unassociated ESSID:"" Nickname:"WIFI@REALTEK"
Mode:Monitor Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

┌──(root㉿kali)-[~]
└─# airmon-ng check kill

Killing these processes:

PID Name

1985 wpa_supplicant

┌──(root㉿kali)-[~]
└─# airmon-ng start wlan0

PHY Interface Driver Chipset

phy0 wlan0 88XXau Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
(mac80211 monitor mode already enabled for [phy0]wlan0 on [phy0]10)

┌──(root㉿kali)-[~]
└─# airodump-ng wlan0

CH 2 ][ Elapsed: 0 s ][ 2024-07-13 06:04

BSSID PWR Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID

BSSID STATION PWR Rate Lost Frames Notes Probes

Quitting... `

how to fix the issue card cannot detect any network

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant