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.
- Download Kali 2018.4 install in virtualbox on a virtual drive
- add a usb device filter for your usb wifi stick
- reboot
- apt-get install git, build-essentials
- git clone https://github.com/clnhub/rtl8192eu-linux
- read the docs above
- install the latest linux kernel and headers
- apt-get install linux-image-5.2 for exmaple
- then..
sudo apt -y install linux-headers-generic build-essential dkms git
in the rl8192eu directory:
./install_wifi.sh
- reboot
- git clone https://github.com/ct-Open-Source/tuya-convert
- read the docs
- in tuya-convert
- then you'll probably need to disable the rfkill
- rfkill unblock all
- and enable the wifi
- nmcli nm wifi on
- then ./start_flash.sh
- follow the remaining instructions... should be cooking
Thanks!
ReplyDeleteFinding these steps extremely hard to follow, but your guide is one of the only ones for the exact adapter I'm using. Can you elaborate on the 'nmcli nm wifi on' command? I get the following error:
ReplyDeleteError: argument 'nm' not understood. Try passing --help instead.
Everything else seems to have worked, and to my surprise, running iw list does actually now show AP as an option under supported interface modes:
└─$ iw list
Wiphy phy0
wiphy index: 0
max # scan SSIDs: 9
max scan IEs length: 2304 bytes
max # sched scan SSIDs: 0
max # match sets: 0
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP-128 (00-0f-ac:4)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* P2P-client
* P2P-GO
But running the ./start_flash.sh in tuya-convert just says:
Cleaning up...
No screen session found.
No screen session found.
No screen session found.
No screen session found.
Closing AP
Exiting...
I suspect I have missed something, but can't for the life of me figure out what...!