Tuesday, October 1, 2019

tuya-convert on virtualbox with rtl8192 or tp-link wn823n wireless

This will require a few steps to get the tuya-convert working with virtual box environment with this particular wireless adapter as the built in driver does not support the AP mode required.


  1. Download Kali 2018.4 install in virtualbox on a virtual drive
  2. add a usb device filter for your usb wifi stick
  3. reboot
  4. apt-get install git, build-essentials
  5. git clone https://github.com/clnhub/rtl8192eu-linux
  6. read the docs above
  7. install the latest linux kernel and headers
  8. apt-get install linux-image-5.2 for exmaple
  9. then..

sudo apt -y install linux-headers-generic build-essential dkms git
in the rl8192eu directory: 
./install_wifi.sh

  1. reboot
  2. git clone https://github.com/ct-Open-Source/tuya-convert
  3. read the docs
  4. in tuya-convert
  5. then you'll probably need to disable the rfkill
  6. rfkill unblock all
  7. and enable the wifi
  8. nmcli nm wifi on
  9. then ./start_flash.sh
  10. follow the remaining instructions... should be cooking