Différences

Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.

docs:hard_hack:raspapp [2020/01/17 17:44]
adlp créée
docs:hard_hack:raspapp [2020/01/20 23:22] (version actuelle)
adlp
Ligne 1: Ligne 1:
-apt install -y git build-essential linux-headers-rpi raspberrypi-kernel-headers bc   kbuild linux-kbuild-4.18+<xtermrtf> 
 +*  *    * * *   root    /usr/local/bin/addcountry /etc/wpa_supplicant/wpa_supplicant.conf 
 +root@raspberrypi:~# cat /usr/local/bin/addcountry 
 +#!/bin/bash 
 + 
 +if ! grep -q "^country=" $1; then 
 + echo Adding 
 + sed -i -e '2a\country=FR' $1 
 +fi 
 + 
 +apt install -y git build-essential linux-headers-rpi raspberrypi-kernel-headers bc   kbuild linux-kbuild-4.18 console-data
git clone https://github.com/whitebatman2/rtl8821CU.git git clone https://github.com/whitebatman2/rtl8821CU.git
cd rtl8821CU cd rtl8821CU
 +cat README.md
 +## Raspberry Pi
 +To build this driver on Raspberry Pi you need to set correct platform in Makefile.
 +Change
 +```
 +CONFIG_PLATFORM_I386_PC = y
 +CONFIG_PLATFORM_ARM_RPI = n
 +CONFIG_PLATFORM_ARM_RPI3 = n
 +```
 +to
 +```
 +CONFIG_PLATFORM_I386_PC = n
 +CONFIG_PLATFORM_ARM_RPI = y
 +CONFIG_PLATFORM_ARM_RPI3 = n
 +```
 +For the Raspberry Pi 3 you need to change it to
 +```
 +CONFIG_PLATFORM_I386_PC = n
 +CONFIG_PLATFORM_ARM_RPI = n
 +CONFIG_PLATFORM_ARM_RPI3 = y
 +```
 +vi Makefile
make -j4 ARCH=arm make -j4 ARCH=arm
make install make install
Ligne 27: Ligne 59:
[Link] [Link]
Name=wlan1 Name=wlan1
 +</xtermrtf>
docs/hard_hack/raspapp.1579279471.txt.gz · Dernière modification: 2020/01/17 17:44 (édition externe)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki