Merge pull request #50 from z25/realtek-4.4.x

Improved docs with sudo and support RPi
This commit is contained in:
Carlos Garcés 2017-08-31 20:25:21 +02:00 committed by GitHub
commit 7c622df339

View File

@ -34,26 +34,34 @@ from source when the kernel is upgraded (for example using your package manager)
1. Install DKMS and other required tools
* for normal Linux systems
```shell
$ apt-get install git linux-headers-generic build-essential dkms
$ sudo apt-get install git linux-headers-generic build-essential dkms
```
* for Raspberry Pi
```shell
$ sudo apt-get install git raspberrypi-headers-generic build-essential dkms
```
2. Add the driver to DKMS. This will copy the source to a system directory so
that it can used to rebuild the module on kernel upgrades.
```shell
$ dkms add .
$ sudo dkms add .
```
3. Build and install the driver.
```shell
$ dkms install rtl8192eu/1.0
$ sudo dkms install rtl8192eu/1.0
```
If you wish to uninstall the driver at a later point, use
_dkms uninstall rtl8192eu/1.0_. To completely remove the driver from DKMS use
_dkms remove rtl8192eu/1.0_.
_sudo dkms uninstall rtl8192eu/1.0_. To completely remove the driver from DKMS use
_sudo dkms remove rtl8192eu/1.0_.
## Submitting patches