Update README.md

pull/3/head
brektrou 7 years ago committed by GitHub
parent 01e1a5ebbe
commit 8e6678ad53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,6 +4,8 @@ Before build this driver make sure `make`, `gcc`, `linux-header` and `git` have
## First, clone this repository
```
mkdir -p ~/build
cd ~/build
git clone https://github.com/brektrou/rtl8821CU.git
```
## Build and install with DKMS
@ -27,7 +29,7 @@ sudo dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
sudo dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
sudo dkms install -m ${DRV_NAME} -v ${DRV_VERSION}
```
If you later on want to remove it again, do the following:
If you later on want to remove it, do the following:
```
DRV_NAME=rtl8821CU
DRV_VERSION=5.4.1
@ -40,6 +42,11 @@ cd rtl8821CU
make
sudo make install
```
If you later on want to remove it again, do the following:
```
cd ~/build/rtl8821CU
sudo make uninstall
```
## Checking installed driver
If you successfully install the driver, the driver is installed on `/lib/modules/<linux version>/kernel/drivers/net/wireless/realtek/rtl8821cu`. Check the driver with the `ls` command:
```

Loading…
Cancel
Save