This article is to show how to install the EW-7833UAC AC1750 USB 3.0 adapter on Raspberry Pi(RPi) running Raspbian Operating System(OS).  In this example, the Raspbian(Stretch) running kernel version is 4.9.60.


Please note that the instructions here are not for cross-compiling from another system.  If you want to do a cross-compile on another system, you need to look for the proper way and then transfer the driver to your RPi for installation.


Everything will be done in a Terminal program.  The commands are in green below.  The character '$' is just the prompt to indicate you're not the root user.  You don't need to include it with the commands, i.e. do not type it.  You should input the commands one at a time.



[1.]  Make sure your RPi is able to access the Internet.


[2.]  Open a Terminal program from your Raspbian OS.


[3.]  Make sure your system is up-to-date.  A reboot may be needed if the kernel has been updated.

$ sudo apt update

$ sudo apt upgrade

$ sudo apt dist-upgrade

$ sudo reboot


[4.]  Make sure you have all the necessary files installed to compile the driver.

$ sudo apt install build-essential git


[5.]  Install the kernel headers, which are needed to compile the driver.  As of November 2017, installing the package 'raspberrypi-kernel-headers' will not install the proper headers files for your installed kernel.  The workaround is to get the headers directly from Raspberry Pi's GitHub repository.  There is a script available provided by notro(https://github.com/notro/rpi-source/) at GitHub for pulling the source automatically with one requirement.  You have to do an rpi-update first.

$ sudo rpi-update

$ sudo reboot

[ Note:  After reboot, you have to reopen the Terminal program to continue with the rest of the commands. ]

$ git clone https://github.com/notro/rpi-source.git

$ cd rpi-source/

$ chmod +x rpi-source

$ sudo apt install libncurses5-dev bc

$ sudo ./rpi-source --skip-gcc

cd ..


[6.]  Clone the open source driver from lkw16(https://github.com/lkw16/rtl8814AU/) GitHub repository.

$ git clone https://github.com/lkw16/rtl8814AU.git

$ cd rtl8814AU/

[ Note:  Before 'kw' and right after 'rt' are letters 'l' (like lemon), not numbers '1' (like 1990).  And right after 'kw' and '88' are numbers '1' (like 1990), not letters 'l' (like lemon).  Typing them wrong will cause GitHub to prompt you inputting a Username and a Password, or saying repository not found. ]


[7.]  Modify the Makefile for Raspberry Pi architecture (ARM-based).

$ nano Makefile

[ Note:  nano is just my preferred Text Editor.  You can use any Text Editors of your choice, like vi. ]

Change the two lines(Lines #88 & #89) to look like the following:

CONFIG_PLATFORM_ARM_PRI = y

CONFIG_PLATFORM_I386_PC = n

Make sure you save the file after the modification.


[8.]  Compile and install the driver.

$ sudo make

$ sudo make install


[9.]  Restart your system for the newly installed driver to take effect.

$ sudo reboot



That's it!


You may need to recompile the driver whenever the kernel is being updated/upgraded provided that the kernel is being supported by the open source driver.  Otherwise, the adapter is not going to work.  To remove the installed the driver, try the following commands.


[A.]  Uninstall/remove the installed driver.

$ cd rtl8814AU/

$ sudo make uninstall

$ sudo make clean


Then, repeat the Step 1~9 to recompile and reinstall the driver.


Enjoy!



Technical Support Team

Edimax USA

Santa Clara, CA




/*** EOF ***/

Created:  2017-05-24  12:28 PM

Modified:  2017-12-05 8:23 AM