Hi there guys,

I've been reading the forums for a while now and I'm truly grateful for all the support you're giving!

I just took the first step deciding to move from Ubuntu to Kali Linux and I'm having trouble installing the drivers for my USB wifi-adapter (Alfa Networks AWUS036AC). My version is 2017.3 and I'm trying to compile and install the official drivers you get from the official webpage. I am running a VirtualBox host on Windows 10 and The setup is obviously going to be used for learning penetration testing. I did install the VirtualBox expansion package to get USB 3.0 passthrough.

Since, I've tried using both the sh install.sh (and just running the entire script) file in the main directory and the make withing the driver folder. Both turn out bad; Either via makefile errors or something else.

I'm pretty new to these complications, but I guess there's something I forgot here.

This is the code I get from install.sh:
Code:
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.14.0-kali1-common/scripts/Makefile.build:319: recipe for target '/root/AWUS036AC_036EAC_ACH_linux_v4.3.8_12175.20140902/driver/rtl8812AU_linux_v4.3.8_12175.20140902/core/rtw_cmd.o' failed
make[4]: *** [/root/AWUS036AC_036EAC_ACH_linux_v4.3.8_12175.20140902/driver/rtl8812AU_linux_v4.3.8_12175.20140902/core/rtw_cmd.o] Error 1
/usr/src/linux-headers-4.14.0-kali1-common/Makefile:1520: recipe for target '_module_/root/AWUS036AC_036EAC_ACH_linux_v4.3.8_12175.20140902/driver/rtl8812AU_linux_v4.3.8_12175.20140902' failed
make[3]: *** [_module_/root/AWUS036AC_036EAC_ACH_linux_v4.3.8_12175.20140902/driver/rtl8812AU_linux_v4.3.8_12175.20140902] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.14.0-kali1-amd64'
Makefile:1456: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
This is what I get when I run the make command in the Driver folder:
Code:
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.14.0-kali1-common/scripts/Makefile.build:319: recipe for target '/root/AWUS036AC_036EAC_ACH_linux_v4.3.8_12175.20140902/driver/rtl8812AU_linux_v4.3.8_12175.20140902/core/rtw_cmd.o' failed
make[4]: *** [/root/AWUS036AC_036EAC_ACH_linux_v4.3.8_12175.20140902/driver/rtl8812AU_linux_v4.3.8_12175.20140902/core/rtw_cmd.o] Error 1
/usr/src/linux-headers-4.14.0-kali1-common/Makefile:1520: recipe for target '_module_/root/AWUS036AC_036EAC_ACH_linux_v4.3.8_12175.20140902/driver/rtl8812AU_linux_v4.3.8_12175.20140902' failed
make[3]: *** [_module_/root/AWUS036AC_036EAC_ACH_linux_v4.3.8_12175.20140902/driver/rtl8812AU_linux_v4.3.8_12175.20140902] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.14.0-kali1-amd64'
Makefile:1456: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
P.S. I tried attaching the tarball here, but couldn't get it to work. Sry

Thanks in advance,
T