Raspberrypi: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
Line 13: Line 13:


$ sudo dd bs=4M if=./2015-05-05-raspbian-wheezy.img of=/dev/mmcblk0
$ sudo dd bs=4M if=./2015-05-05-raspbian-wheezy.img of=/dev/mmcblk0
</pre>
== wireless ==
<pre>
I recently purchased a D-Link DWA-171A1 Wireless AC Dual Band USB Adapter to use with a Raspberry PI 2 B after seeing a posting that stated that it worked out of the box.  Well…
It didn’t work out of the box but I was able to get it to work by compiling the driver.  I used this code from GitHub on the Raspbian Jessie image dated 11/21/2015
    Loaded the Raspbian Jessie image from here: https://www.raspberrypi.org/downloads/raspbian/ Linux raspberrypi (4.1.13-v7+)  to my SD Card.(linux-headers-4.1.13+_4.1.13+-2_armhf.deb)
    Added the following packages using apt-get: apt-get install dkms build-essential bc
    Downloaded and unzip the driver from abperiasamy/rtl8812AU_8821AU_linux GitHub repository:  https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/master.zip
    Download the appropriate kernel headers for your version of Raspbian.  I found the ones I needed here: https://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/.
    Install the headers using sudo dpkg –i <package name>.deb.
    cd to the directory you unziped the driver into.
    Using nano or some other editor update the Makefile:
    CONFIG_PLATFORM_I386_PC = n
    CONFIG_PLATFORM_ARM_RPI = y
    The using the following commands build and install the driver.
    # sudo make clean
    # sudo make
    # sudo make install
    # sudo modprobe -a 8812au
You should now see the DWA-171 as a wireless interface and should be able to configure it.
</pre>
</pre>



Revision as of 23:24, 4 January 2016

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

I recently purchased a D-Link DWA-171A1 Wireless AC Dual Band USB Adapter to use with a Raspberry PI 2 B after seeing a posting that stated that it worked out of the box.  Well…

It didn’t work out of the box but I was able to get it to work by compiling the driver.  I used this code from GitHub on the Raspbian Jessie image dated 11/21/2015

    Loaded the Raspbian Jessie image from here: https://www.raspberrypi.org/downloads/raspbian/ Linux raspberrypi (4.1.13-v7+)  to my SD Card.(linux-headers-4.1.13+_4.1.13+-2_armhf.deb)
    Added the following packages using apt-get: apt-get install dkms build-essential bc
    Downloaded and unzip the driver from abperiasamy/rtl8812AU_8821AU_linux GitHub repository:  https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/master.zip
    Download the appropriate kernel headers for your version of Raspbian.  I found the ones I needed here: https://www.niksula.hut.fi/~mhiienka/Rpi/linux-headers-rpi/.
    Install the headers using sudo dpkg –i <package name>.deb.
    cd to the directory you unziped the driver into.
    Using nano or some other editor update the Makefile:

    CONFIG_PLATFORM_I386_PC = n
    CONFIG_PLATFORM_ARM_RPI = y

    The using the following commands build and install the driver.

    # sudo make clean
    # sudo make
    # sudo make install
    # sudo modprobe -a 8812au

You should now see the DWA-171 as a wireless interface and should be able to configure it.


See also

References

<references />