Edito
Voila voila, je refais mon infra…
Et j'ai donc envie de participer a une oeuvre commune :
Antoine.
Pub
Désolé de vous incommoder avec cela, c'est un mal aujourd'hui nécessaire. Je le souhaite juste utile, on verra.
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/19 09:42] adlp |
docs:hard_hack:raspapp [2020/01/20 23:22] (version actuelle) adlp |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
<xtermrtf> | <xtermrtf> | ||
- | apt install -y git build-essential linux-headers-rpi raspberrypi-kernel-headers bc kbuild linux-kbuild-4.18 | + | * * * * * 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 |