Raspberrypi

From 탱이의 잡동사니
Revision as of 12:05, 5 January 2016 by Pchero (talk | contribs) (→‎wireless)
Jump to navigation Jump to search

Overview

Raspberry pi 정보 정리

Installation

공개된 Raspberry pi 설치 이미지는 이곳<ref>https://www.raspberrypi.org/downloads/</ref>에서 다운받을 수 있다.

이후, 다운받은 이미지를 dd 명령어를 이용하여 SD 카드로 복사하면 된다.

$ wget https://downloads.raspberrypi.org/raspbian_latest

$ ls
2015-05-05-raspbian-wheezy.img

$ sudo dd bs=4M if=./2015-05-05-raspbian-wheezy.img of=/dev/mmcblk0

Wireless

DWA-171A1

DWA-171 은 기본적으로 라즈베리 파이용 모듈을 제공하지 않는다. DWA-171 을 라즈베리 파이에서 사용하기 위해서는 해당 모듈을 직접 컴파일해야 한다.<ref>http://digitalhacksblog.blogspot.dk/2015/12/it-worked-for-me-sort-of-raspberry-pi.html</ref>

  • Used Raspbian Jessie image dated 11/21/2015
  • Install below packages.
$ apt-get install dkms build-essential bc gcc
  • Downloaded and unzip the driver from abperiasamy/rtl8812AU_8821AU_linux GitHub.
$ wget https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/master.zip
  • Download the appropriate kernel headers for your version of Raspbian.(linux-headers-4.1.13+_4.1.13+-2_armhf.deb)
Download at here. (https://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/)
  • Install the header.
$ sudo dpkg –i <package name>.deb.
  • Change the Makefile option.
CONFIG_PLATFORM_I386_PC = n
CONFIG_PLATFORM_ARM_RPI = y
  • Install.
$ sudo make clean
$ sudo make
$ sudo make install
  • Load the module.
$ sudo modprobe -a 8812au

See also

References

<references />