1

I'm trying to get this ASUS USB-AC56 adapter installed on Ubuntu 17.10. I have upgraded from Ubuntu 17.04. The Driver bundle from Github as well as proprietary drivers that came with the device are not working. Errors encountered during make are appended below.

              ^~~~~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:302: recipe for target '/home/unispirited/DR_USB_AC56_4314_Linux/RTL8812AU_linux_v4.3.13_14061.20150505/driver/rtl8812AU_linux_v4.3.13_14061.20150505/core/rtw_cmd.o' failed
make[2]: *** [/home/unispirited/DR_USB_AC56_4314_Linux/RTL8812AU_linux_v4.3.13_14061.20150505/driver/rtl8812AU_linux_v4.3.13_14061.20150505/core/rtw_cmd.o] Error 1
Makefile:1546: recipe for target '_module_/home/unispirited/DR_USB_AC56_4314_Linux/RTL8812AU_linux_v4.3.13_14061.20150505/driver/rtl8812AU_linux_v4.3.13_14061.20150505' failed
make[1]: *** [_module_/home/unispirited/DR_USB_AC56_4314_Linux/RTL8812AU_linux_v4.3.13_14061.20150505/driver/rtl8812AU_linux_v4.3.13_14061.20150505] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-16-generic'
Makefile:1622: recipe for target 'modules' failed
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################

On the Github driver make and sudo make install works but sudo modprobe 8812au gives

modprobe: ERROR: could not insert '8812au': Exec format error

please help in getting the Wifi Adapter to work.

Thomas
  • 6,433

1 Answers1

1

With a working internet connection by ethernet, tether or whatever means possible, I suggest that you do:

sudo apt update
sudo apt install rtl8812au-dkms
sudo modprobe 8812au

Makefile:1622: recipe for target 'modules' failed

In the case of the driver you attempted to compile, if the process fails at 'make,' then all further steps will fail as well.

EDIT: Let’s try a different driver package. First, remove the package that won’t compile:

sudo apt purge rtl8812au-dkms

Next, do:

sudo apt update
sudo apt install git
git clone https://github.com/gnab/rtl8812au.git
sudo cp -r rtl8812au  /usr/src/rtl8812au-4.2.2
sudo dkms add -m rtl8812au -v 4.2.2
sudo dkms build -m rtl8812au -v 4.2.2
sudo dkms install -m rtl8812au -v 4.2.2

Reboot and tell us if the wireless is working.

chili555
  • 61,330