2016/11/20

raspbian8 JessieでRTL8812auをmakeする

Raspberry Pi にraspbian8を入れて、GW-900D(AA)を使おうとしたけれどもハマったのでメモ

前提
$ sudo apt-get update; sudo apt-get upgrade -y
$ sudo apt-get install curl build-essential bc git

rpi-sourceとrpi-updateは使えるようにしておく

手順
# rpi-source
# cd /usr/src
# git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
# cd rtl8812AU_8821AU_linux/
# sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/' Makefile
# sed -i 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/' Makefile
# make clean
# make
# make install
# modprobe -a rtl8812au