Thursday, June 29, 2023

Getting RTL8812au passed to Virtualbox VM (Ubuntu)

There are no guarantees, I just write these notes so I can come back to them.

First, get the dongle working on the host OS.
After going through a couple different drivers, the one that finally worked was this method:
  1. sudo apt install git build-essential libelf-dev linux-headers-`uname -r` debhelper dpkg-dev dkms bc
  2. git clone https://github.com/aircrack-ng/rtl8812au
  3. cd rtl8812au
  4. sudo make dkms_install
unplug usb wifi and plug it back in, it should be blinking now.

Click Wireless in the upper right, WiFi-Settings, click on the RealTek controller at the top of the screen, I'm doing this in ubuntu 20, it looks like internet tabs at the top, and connect it to your network. Additionally, disconnect the primary network adapter from the network so there's not confusion later. (Disabling it will disable both, at least it did on my system.)

On the VirtualBox Network settings, add a new network adapter. Bridged and allow promiscuous mode (Allow All)

Start the VM and it should be connected.

Getting RTL8812au passed to Virtualbox VM (Ubuntu)

There are no guarantees, I just write these notes so I can come back to them. First, get the dongle working on the host OS. After going thro...