As of November 9, 2017, the Official Linux driver for EW-7822ULC supports kernel between v2.6.18 and v4.11 only. Any versions other than that are not supported. For kernel higher than v4.11, the workaround is to use an open source driver on GitHub. Here's the link for your reference.
[ Note: The above driver is forked from https://github.com/brandon-bailey/rtl8822bu/ with additional commits from various sources. ]
An Ubuntu 17.10 Operating System(OS) is being used to test the driver. It is running kernel v4.13.0-16. A Terminal program is being used to run all the commands to compile and install the driver. Commands are in green color below and should be typed one command at a time. The character '$' in the very beginning of each command is just the Terminal prompt showing you're not the root user. You don't need to include it with the commands, i.e. do not type it.
[1.] Make sure your system is able to access the Internet.
[2.] Open a Terminal program from your Ubuntu OS.
[3.] Make sure your system is up-to-date and reboot it after updated/upgraded, especially with a kernel update. This step is totally optional and you don't have to do it.
$ sudo apt update
$ sudo apt upgrade
$ sudo apt dist-upgrade
$ sudo reboot
[4.] Install the necessary files to compile and install the driver if they haven't been installed yet.
$ sudo apt install build-essential git bc
[5.] Install the kernel headers, which is needed to compile the driver.
$ sudo apt install linux-headers-$(uname -r)
[6.] Clone the open source driver from lkw16's GitHub repository.
$ git clone https://github.com/lkw16/rtl8822bu.git
$ cd rtl8822bu/
[ Note: Before 'kw' and right after 'rt' are letters 'l' (like lemon), not numbers '1' (like 1990). But right after 'kw' is a number '1' (like 1990), not a letter 'l' (like lemon). Typing them wrong will cause GitHub to prompt you inputting a Username and a Password, or saying repository not found. ]
[7.] Compile and install the driver.
$ sudo make install
[8.] Restart your system for the newly installed driver to take effect.
$ sudo reboot
You may need to recompile and re-install the driver whenever there is a kernel update provided that the updated kernel is supported by the open source driver. Otherwise, the adapter is not going to work. Before installing a new driver, please remove the old one with the following commands.
[A.] Uninstall/remove existing driver.
$ cd rtl8822bu/
$ sudo make uninstall
$ make clean
Then, repeat Steps 1~8 above to recompile and reinstall the driver.
If you're running a Linux distribution other than Ubuntu (Debian-based Linux), you need to modify some of the commands accordingly. For example, you need to use 'zypper' in OpenSUSE instead of 'apt' to install updates/upgrades/programs.
Technical Support Team
Santa Clara, CA
/*** EOF ***/
Created: 2017-06-21 11:53 AM
Modified: 2017-11-09 2:58 PM