# /etc/init.d/vncbootUSER=rootHOME=/rootexport USER HOMEcase "$1" in start) echo "Starting VNC Server" #Insert your favoured settings for a VNC session /usr/bin/vncserver :0 -geometry 1280x800 -depth 16 -pixelformat rgb565 ;; stop) echo "Stopping VNC Server" /usr/bin/vncserver -kill :0 ;; *) echo "Usage: /etc/init.d/vncboot {start|stop}" exit 1 ;;esacexit 0
-Save the file, for example, vncboot.
-Set this file to an executable file:
chmod 755 vncboot
-Enable dependency based on boot s
, the monitor can use its own, I have a desktop monitor, bought an HDMI to VGA port line, you need to purchase according to their actual situation.Two: Install the Raspbian system.This is the official website system, the first time you can consider installing this, and then slowly.Install under Windows:1, download Raspbian system, B + board available system can be downloaded here (if the earlier system may not recognize the peripheral), download at th
One, I use the various parts:(1) Raspberry Pi(2) SD card(3) Cable(4) Router(5) a notebookSecond, download http://www.raspberrypi.org/downloads from the official website, I download is Raspbian JessieThird, the Raspbian burned to the SD card, I was in Windows under the operation:Download the Win32diskimager and burn the Raspbian image to SD card;Iv.. Insert the SD
/gpio$1/direction
echo setting pi high
echo 1 >/sys/clas S/gpio/gpio$1/value
A few notes"1" If you write a shell script on windows (and then transfer to the Raspberry Pi using the FTP tool), you must save it in UNIX format. The shell script ends with \ n per line, not \ r \ n in
Prepare
Raspberry Pi Development Board ( Click here to purchase ) (has been brushed into the official Raspbian system )
USB to Serial board ( click here to buy )
DuPont Line (4 root)
Connection
串口板 树莓派--------------------VCC +5V(非必须)RX TXD(GPIO15)TX RXD(GPIO14)GND Ground Raspberry
ObjectiveIn the previous article, "Raspberry pi set automatic dialing, build no-line by environment" , the author uses HOSTAPD and UDHCPD programs to create wireless hotspots to achieve address assignment and DNS server settings. This article will make improvements to the Raspberry Pi AP based on the previous environme
Raspberry Pi's. bashrc and. bash_aliases files
In your home directory, you can find a hidden file. bashrc that contains user configurations. You can modify the file as needed.
The file provides some useful adjustment settings. By default, some of these settings are commented out.
For example, the alias of some ls commands:
Alias ls = 'ls -- color = auto'# Alias dir = 'dir -- color = auto'# Alias vdir = 'vdir -- color = auto'
Alias grep = 'grep -- colo
= deadline rootwait.
2.2 Modify/etc/inittab and enter the following command on the terminal:
sudo nano /etc/inittabAfter opening, comment out the last line and add a # sign before it. # T0: 23: respawn:/sbin/getty-L ttyAMA0 115200 vt100
3. After modification, you need to install a mini-com on Raspberry Pi. Here, mini-com is a serial debugging tool on the Linux platform, which is equivalent to a serial deb
backup to prevent a hard disk from being damaged.Prepare Hard Disk
The initial step is to format the hard disk on the desktop. This is for convenience. If something goes wrong, we can remove the hard disk from the NAS and read the data on a PC.
It can be formatted on Raspberry Pi, but it will take several hours to format it much faster from the desktop. Do it now.
Set SSH to enable the root user. First, se
NOOBS SETUPTo get started with Raspberry Pi need an operating system. NOOBS (New out of the Box software) are an easy operating system Install manager for the Raspberry Pi.How to GET and INSTALL NOOBSBUY A preinstalled SD CARDThe easiest-to-get NOOBS is to buy a SD card with NOOBS preinstalled, available-for£4 at the Swag Store. Alternatively, if you have a SD ca
In this article you can learn: Berryboot use, Kali installation, open-hung mobaxterm, and tips on mounting via label and UUID. This article defaults to the Linux Foundation you have, and also for the level of just getting started, because this is my toss record. Do not know can leave a message or email. The first thing to be clear is that now is not completely out of the SD card method, because PI is the default from the SD card boot. Just realized pu
The latest version of the 2017-03-02 version of the Raspberry Pi system does not directly SSH login issues
Last night when installing the latest Raspbian system using Raspberry Pi 3 (2017-03-02), there was a problem:
There is no HDMI monitor on hand, so you can only use SSH to connect to the
Tags: serve using more than open installation method to run the LAN via spanThe person who can see this blog note that the attempt failed, will find that the memory card after the flash into Ubuntu, unable to operate the Raspberry Pi via ssh. It is because the official Ubuntu system needs to set something for the first time, similar to the initial startup of Windows
Front-facing:1. hostname Please change from default Raspberrypi to test.comsudo nano /etc/hostnamePlease change the raspberrypi in the file to test.com2. Change the IP address of the Raspberry Pi to static, in this case 172.16.0.68, the gateway exits to 172.16.0.1sudo nano /etc/dhcpcd.confAt the bottom of the document, add the following settings:interface eth0static ip_address=172.16.0.68/24static routers=1
Raspberry Pi uses python+pyserial to realize serial communicationExt.: http://blog.csdn.net/homeway999/article/details/8642353Directory (?) [+]
Raspberry Pi uses pythonpyserial to realize serial communication
Raspberry
Raspberry Pi (Raspberry Pi) is a mini computer that is about the size of a credit card. It was originally designed for students to design a low-cost computer programming aids, because of its rich diversity people to apply it to a variety of projects.As a DIY King Pi, SD card
July 3, 2016 20:32:07After the Raspberry Pi successfully connected to the console interface via SSHNext is the Raspberry Pi that connects the GUI, but SSH does not support the graphical interface, after learning to understand, choose to use VNCRequired tools: VNC, TightVNCLogin to the
Unpopular things, search today, it is really useful to share with youRemember the first time to play Raspberry Pi, no monitor can not live, what information to monitorLater a little better, find a router, plug the network cable up, and then into the router interface to get the Raspberry Pi IPThen SSH login to
This article is followed by a ' Windows IoT core official first experience ', which focuses on how to manipulate Windows IoT core using SSH and PowerShell or web, and give Windows IoT core software development.
Remote con
On the Windows platform you need to download and install a VNC client program. Commonly used are TightVNC, you can download from tightvnc.com.Select the corresponding 32-bit or 64-bit version according to your window System version. If you do not know your window System version, you can view it in the Control Panel. Download the installation file and run it.During the installation process, you will have the opportunity to choose a typical installation
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.