Last active
August 20, 2017 10:19
-
-
Save westonal/e405e8947761defbd72f6d1d3519bcfa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#stop script on first error | |
set -e | |
#echo on | |
set -x | |
#Pre-requisits | |
sudo apt-get update | |
sudo apt-get -y install raspberrypi-kernel-headers linux-headers-rpi git build-essential dkms #linux-headers-generic | |
#Clone this repository (fork of https://github.com/pvaret/rtl8192cu-fixes.git): | |
git clone https://github.com/westonal/rtl8192cu-fixes.git | |
#Set it up as a DKMS module: | |
sudo dkms add ./rtl8192cu-fixes | |
#Build and install it: | |
sudo dkms install 8192cu/1.10 | |
#Refresh the module list: | |
sudo depmod -a | |
#Ensure the native (and broken) kernel driver is blacklisted: | |
sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.