Improved docs with sudo and support RPi

This commit is contained in:
Pander 2017-08-31 17:23:35 +02:00
parent e049740008
commit 963e53a1e0

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