From 963e53a1e046a28f6b2a395b6ce650393304c4a7 Mon Sep 17 00:00:00 2001 From: Pander Date: Thu, 31 Aug 2017 17:23:35 +0200 Subject: [PATCH] Improved docs with sudo and support RPi --- README.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3bdc0dd..65aae08 100644 --- a/README.md +++ b/README.md @@ -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