Install Raspberry Pie Raspberry PI

Source: Internet
Author: User
Tags safe mode windows remote desktop raspi win32diskimager
Install raspberry Pie

The raspberry pie finally arrived.


There's a row on it. Raspberry PI (c) 2011.12 download mirror, write SD card

http://www.raspberrypi.org/downloads/

Select this mirror: Raspbian Debian 2014-01-07

780M compression Pack, a big look.

There seems to be a noobs installation way, completely without sense

By the way, the SD card, by looking up a list of available SD cards, seems to support individual 64G CLASS10 cards, just like this one, the number is transcend SDXC 64G Class10 TS64GSDXC10


Write SD card with Win32diskimager


Win32diskimager is a QT program that starts very slowly on my machine and should not be the case for all machines. Maybe it's checking my disk. Connect DVI Monitor

This monitor does not have an HDMI interface. But VGA and DVI port, VGA to the original PC, so prepared a DVI port for raspberry pie use

The sauce is behind the monitor.


And then show the DVI to the HDMI line.



Even good small Pi, the monitor is incredibly dark, not to say that the goods start very simple. Because unable to debug the serial port, had to doubt is not not support KCAL, the digital camera 8G card out, and made a system, the monitor is still nothing.

This problem is not resolved until the NIC is connected and the HDMI is directly connected to the TV.

A wiki with embedded Linux has been a huge help:

Http://elinux.org/RPiconfig

Hdmi_safe use the "Safe mode" settings to try and boot with maximum HDMI compatibility. This is the same as the combination of:hdmi_force_hotplug=1, hdmi_ignore_edid=0xa5000080, config_hdmi_boost=4, Hdmi_grou p=2, hdmi_mode=4, disable_overscan=0, overscan_left=24, overscan_right=24, overscan_top=24, overscan_bottom=24

HDMI turn DVI or OK, this setting: Edit/boot/config.txt
Actually, you can plug the SD card into the PC to edit

# Uncomment if you don't have picture on HDMI for a default ' safe ' mode
#hdmi_safe =1

Hdmi_safe=1 let go. The resolution seems to be wrong, but it's always good to show it first.

Hdmi_safe=1

This is really not easy, pictured above


Connecting network adapters

Connect to the wired network, in the list of routers found Raspberrypi, connect ssh also OK. Finally confirm that the system startup is successful.

Default User name Pi@raspberry

Linux raspberrypi 3.10.25+ #622 preempt Fri 3 18:41:00 GMT 2014 armv6l The programs included with the Debian Gnu/linu
X system are free software;

The exact distribution terms for each of the program are described in the individual files In/usr/share/doc/*/copyright.
Debian Gnu/linux comes with absolutely NO WARRANTY, to the extent permitted by applicable. Last Login:mon Apr 15:54:18 2014 from 192.168.2.4 notice:the software to this raspberry Pi has not been fully config Ured.     Please run ' sudo raspi-config ' pi@raspberrypi:~$ free total used free shared buffers 
Cached mem:448180 51460 396720 0 8096 22288-/+ buffers/cache:21076 427104          swap:102396 0 102396 pi@raspberrypi:~$ df-h filesystem Size Used avail use% mounted on Rootfs            2.6G 2.0G 469M 82%//dev/root 2.6G 2.0G 469M 82%/devtmpfs 211M 0 211M 0%/dev Tmpfs   44M 204K44M 1%/run tmpfs 5.0M 0 5.0M 0%/run/lock tmpfs 88M 0 88M 0%/run/shm/dev/mmcblk0p  1 56M 19M 38M 34%/boot pi@raspberrypi:~$

From this message, sudo raspi-config can set the memory size to be 448M, using 51M, which is only to start the console. If there is a GUI that will be available in 100M above the partition a 2G. This is to be extended at configuration time. 100M swap.

By the way look at the compilation environment GCC g++ python2.7 All, is really a small computer ha.


HDMI Direct link TV

This is very smooth, you should try this first, and then try the DVI
Wireless Mouse Keyboard All OK

This is the first time it starts.

Extended SD Card

Then look at the disk condition, usable 55G, no longer is the previous 400M appearance, very to force AH.

OK, so the video output function is available, most of which will be used VNC to show, basically no longer directly connected to the monitor and TV. Software Settings Enable root

The first is to enable the Root,sudo God horse's most annoying

sudo passwd root
The SFTP service is started by default

WINSCP is already directly available.


So the Samba service is temporarily out of the way, and there's a need to change faster software sources.

Open/etc/apt/sources.list There's this one

Deb Http://mirrordirector.raspbian.org/raspbian/wheezy main contrib Non-free RPI

Raspberry Pi (Raspberry pie) Domestic software sources have these:

Deb Http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/wheezy main contrib non-free RPI 
deb-src http:// Mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/wheezy Main contrib non-free RPI 

deb http:// Mirrors.neusoft.edu.cn/raspbian/raspbian/wheezy Main contrib non-free RPI 
deb-src http://mirrors.neusoft.edu.cn /raspbian/raspbian/wheezy Main contrib non-free RPI 

Deb Http://mirrors.ustc.edu.cn/raspbian/raspbian/wheezy main Contrib Non-free RPI 
deb-src http://mirrors.ustc.edu.cn/raspbian/raspbian/wheezy main contrib Non-free

Because the raspberry pie doesn't have the fastest source of manual testing like Ubuntu.
So I measured, or USTC USTC the fastest, the last ping time results

Time
site
mirrordirector.raspbian.org 476
mirrors.tuna.tsinghua.edu.cn 2749
mirrors.neusoft.edu.cn 156
mirrors.ustc.edu.cn 13

So the final/etc/apt/sources.list

Deb Http://mirrors.ustc.edu.cn/raspbian/raspbian/wheezy main contrib non-free RPI 
deb-src http:// Mirrors.ustc.edu.cn/raspbian/raspbian/wheezy Main contrib Non-free RPI

And then

Apt-get Update
Install XRDP
Apt-get Install XRDP

To start Windows Remote Desktop MSTSC


Look at the effect


Obvious mouse reaction hysteresis, forget, anyway, the opportunity to use the GUI is not much. View Temperature

Cat/sys/class/thermal/thermal_zone0/temp 
44925

Maybe it's 44 degrees. routers assign static IP

Forces the IP allocation policy of the specified router to bind the router to the physical address and IP power of the raspberry pie

Finally look at the power of the problem, in the case of not receiving the HDMI output, the CPU no-load. The power is only 2.7 to 3W, is really very powerful, is the notebook of 1/10 AH


Well, just write it here first.

============================

Finally, the method of converting Markdown code block into CSDN blog

Replace <pre><code> with <pre name= "code" class= "plain" >    
replace </code></pre> with </pre>

<blockquote> No replacement at the moment
And honestly with the song body, do not change the font, otherwise the code will appear font-family such things

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.