Skip to content

Commit

Permalink
Improved docs with sudo and support RPi
Browse files Browse the repository at this point in the history
  • Loading branch information
PanderMusubi committed Aug 31, 2017
1 parent e049740 commit 963e53a
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
$ sudo apt-get install git linux-headers-generic build-essential dkms
```

* for Raspberry Pi

```shell
$ apt-get install git linux-headers-generic build-essential dkms
$ 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

Expand Down

0 comments on commit 963e53a

Please sign in to comment.