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

[Bug]: I can't acces monitor mode #30

Open
3 tasks done
focabigd opened this issue Aug 1, 2024 · 1 comment
Open
3 tasks done

[Bug]: I can't acces monitor mode #30

focabigd opened this issue Aug 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@focabigd
Copy link

focabigd commented Aug 1, 2024

Checklist

  • I am not using this driver from inside a Virtual Machine.
  • I performed all of the installation steps as written.
  • I have read the FAQ and my question is not answered there.

Is Secure Boot enabled?

No

uname

Linux kali 6.8.11-amd64 #1 SMP PREEMPT_DYNAMIC Kali 6.8.11-1kali2 (2024-05-30) x86_64 GNU/Linux

lsusb

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 30c9:0035 Luxvisions Innotech Limited HP TrueVision HD Camera Bus 001 Device 004: ID 0bda:b00c Realtek Semiconductor Corp. Bluetooth Radio Bus 001 Device 005: ID 413c:301a Dell Computer Corp. Dell MS116 Optical Mouse Bus 001 Device 006: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

rfkill

0: hci0: Bluetooth Soft blocked: no Hard blocked: no 1: phy0: Wireless LAN Soft blocked: no Hard blocked: no 2: phy1: Wireless LAN Soft blocked: no Hard blocked: no

dkms

rtl8812au/5.13.6-23, 6.8.11-amd64, x86_64: installed

iw

phy#1
        Interface wlan1
                ifindex 4
                wdev 0x100000001
                addr 82:43:98:44:a3:bd
                type managed
                txpower -100.00 dBm
phy#0
        Interface wlan0
                ifindex 3
                wdev 0x1
                addr 48:e7:da:b8:d7:17
                type managed
                channel 40 (5200 MHz), width: 80 MHz, center1: 5210 MHz
                txpower 20.00 dBm
                multicast TXQ:
                        qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol       tx-bytes        tx-packets
                        0       0       0       0       0       0       0    0

git status

On branch main
Your branch is up to date with 'origin/main'.

nothing to commit, working tree clean

install-driver.sh

: ---------------------------
: install-driver.sh v20240429
: x86_64 (kernel architecture)
: x86_64 (architecture to send to gcc)
: 8/8 (in-use/total processing units)
: 7889112 (total system memory)
: 6.8.11-amd64 (kernel version)
: gcc-13 (version of gcc used to compile the kernel)
: gcc (Debian 13.3.0-3) 13.3.0
: dkms-3.0.13
: SecureBoot disabled
: ---------------------------

Checking for previously installed drivers...
Removing a driver that was installed by dkms.
Module rtl8812au-5.13.6-23 for kernel 6.8.11-amd64 (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

8812au.ko.xz:
 - Uninstallation
   - Deleting from: /lib/modules/6.8.11-amd64/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod....
Deleting module rtl8812au-5.13.6-23 completely from the DKMS tree.
Removing 8812au.conf from /etc/modprobe.d
Removing source files from /usr/src/rtl8812au-5.13.6-23
Finished checking for and uninstalling previously installed drivers.
: ---------------------------

Starting installation.
Copying 8812au.conf to /etc/modprobe.d
The dkms installation routines are in use.
Copying source files to /usr/src/rtl8812au-5.13.6-23
Creating symlink /var/lib/dkms/rtl8812au/5.13.6-23/source -> /usr/src/rtl8812au-5.13.6-23
The driver was added to dkms successfully.
: ---------------------------

Sign command: /lib/modules/6.8.11-amd64/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub

Building module:
Cleaning build area...
Building module(s)...............
Signing module /var/lib/dkms/rtl8812au/5.13.6-23/build/8812au.ko
Cleaning build area...
The driver was built by dkms successfully.
: ---------------------------

8812au.ko.xz:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.8.11-amd64/updates/dkms/
depmod....
The driver was installed by dkms successfully.
: ---------------------------

Info: Update this driver with the following commands as needed:

$ git pull
$ sudo sh install-driver.sh

Note: Updates to this driver SHOULD be performed before distro
      upgrades such as Ubuntu 23.10 to 24.04.
Note: Updates to this driver SHOULD be performed before major
      upgrades such as kernel 6.5 to 6.6.
Note: Updates can be performed as often as you like. It is
      recommended to update at least every 3 months.
Note: Work on this driver, like the Linux kernel, is continuous.

Enjoy!

What happened?

i cannot use monitor mode

@focabigd focabigd added the bug Something isn't working label Aug 1, 2024
@morrownr
Copy link
Owner

morrownr commented Aug 2, 2024

Hi @focabigd

From the README:

Monitor mode is not supported. Linux users that want good support for monitor mode in a dual band or tri-band adapter should seek out USB WiFi adapters based on the mt7610u, mt7612u or mt7921au chipsets.

Your best option for now is to uninstall this driver and install the driver we are working on to be upstreamed to the Linux kernel.

Uninstall this driver:

$ sudo sh remove-driver.sh

Install the new standards compliant driver:

#27

Read and following the instructions in the first message, It is a manual process for installation for now but soon it will be added to the Linux and your adapter will be plug and play.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants