I am trying to define wlan to Kali Virtual Image at VirtualBox which is installed on Mac OS Catalina. I want to monitor wlan0. I defined card as USB 3.0 (port is 3.1 but there is no option for 3.1) to VirtualBox. I have got latest VirtualBox (6.1.12) with latest extension pack. But I still dont have got wlan connection. I tried every solution that I can find online.
root@kali#$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 2357:0107 TP-Link TL-WN821N Version 5 RTL8192EU > WiFi adapter
Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I tried these:
apt-get update
apt-get upgrade
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
apt-get install net-tools
apt install realtek-rtl88xxau-dkm
service network-manager restart
git clone https://github.com/tomaspinho/rtl8821ce
cd rtl8821ce
sudo apt install bc module-assistant build-essential dkms
sudo m-a prepare
sudo ./dkms-install.sh
And I enabled PAE/NX at System > Processor
Adapter 1 is set to NAT Network
I tried compat-wireless
I did installed latest Guest Additions
Changed NetworkManager.conf variable managed=false to true
Link to my card: https://www.amazon.com/dp/B00194XKXA/ref=cm_sw_r_tw_dp_x_.UfeFbAAEH9RY
It supports MAC OS, Windows and Linux