Difference between revisions of "Raspberry PI"

From Blue-IT.org Wiki

(Created page with "## Compiling custom kernel modules ## ### Wlan rtl8192cu ### I ran into a problem with one of my wifi dongles (see: https://ubuntuforums.org/showthread.php?t=2325802). So I...")
 
Line 1: Line 1:
## Compiling custom kernel modules ##
+
== Compiling custom kernel modules ==
 
+
=== Wlan rtl8192cu ===
### Wlan rtl8192cu ###
 
  
 
I ran into a problem with one of my wifi dongles (see: https://ubuntuforums.org/showthread.php?t=2325802). So I needed to recompile the module.
 
I ran into a problem with one of my wifi dongles (see: https://ubuntuforums.org/showthread.php?t=2325802). So I needed to recompile the module.
  
Prerequesites: install rpi-source
+
Prerequisites:  
 
* https://github.com/notro/rpi-source/wiki
 
* https://github.com/notro/rpi-source/wiki
+
 
 +
Install ''rpi-source''
 +
 
 
  sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source \  
 
  sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source \  
 
  -O /usr/bin/rpi-source && \
 
  -O /usr/bin/rpi-source && \

Revision as of 14:29, 29 December 2018

Compiling custom kernel modules

Wlan rtl8192cu

I ran into a problem with one of my wifi dongles (see: https://ubuntuforums.org/showthread.php?t=2325802). So I needed to recompile the module.

Prerequisites:

Install rpi-source

sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source \ 
-O /usr/bin/rpi-source && \
sudo chmod +x /usr/bin/rpi-source && \
/usr/bin/rpi-source -q --tag-update

rpi-source 

Then install the necessary files (in my case for the rtl8182cu wlan chip):

# sudo apt-get install --reinstall linux-headers-$(uname -r) - NOT WORKING linux-headers-generic build-essential git dkms
sudo apt-get install --reinstall  linux-headers-generic build-essential git dkms
git clone https://github.com/pvaret/rtl8192cu-fixes.git
sudo dkms add ./rtl8192cu-fixes
sudo dkms install 8192cu/1.10
echo "blacklist rtl8192cu" | sudo tee -a /etc/modprobe.d/blacklist.conf