Prepare the hard driveAccording to the online introduction that if it is FAT or NTFS format may appear permissions problems, and then simply formatted as EXT4 format.Working with the Minitool Partition WizardWith a small USB flash drive, you can format the Raspberry Pi directly, the command is:mkfs-t EXT4/DEV/SDB1Installing SambaSet the shared folder to/samba$ Mkdir/sambaSet access Permissions$ chmod 777/sa
First, basic settings
1
sudo raspi-config
Move to the fifth "Enable Camera", enter, press the TAB key to switch to "enable" to confirm the return. Back to the main menu, tab to "Finish" to confirm the return. The Raspberry Pi will restart automatically.or execute a command to manually shut down the machine
1
sudo shutdown-h now
Warning!!!!!!!!!
Guide to Getting StartedNow let's connect the LEDs to the hardware devices that have WINDOWS10 IoT Core installed and create an application to make them blink.Load a project in Visual StudioHere we find the routines here, which are available in C + + and C # versions. This tutorial only covers versions that use C #. Copy the project folder to disk and open it in Visual Studio.Then check your Windows IoT device and make sure the remote debugging feature is turned on (debugging), and you can refer
(recommended)-l,–ignore-locks ignore locked state reported by the target APIgnore the locked status reported by the target AP-e,–eap-terminate terminate each WPS session with an EAP FAIL packetTerminates the WPS process whenever an EAP failure packet is received-n,–nack Target AP always sends a nack [Auto]Always send Nack to target AP, default auto-w,–win7 Mimic a Windows 7 registrar [False]Analog win7 registration, default offReference:Http://lok.me/a/1972.htmlHttp://bao3.blogspot.com/2013/05/
Gpio Library core function, of course, is the operation of Gpio, Gpio is the "general input/Output" interface, such as lighting a LED, relays, or through the IIC SPI 1-wire and other protocols, read, write data, this is the use of Gpio, can say no gpio, Raspberry Pi can only be used as a small computer, with a gpio, it is upgraded to a controller. First of all, how to operate a digital volume (high and low
The DHT11 is a temperature and humidity sensor with calibrated digital signal output. Precision humidity +-5%RH, temperature +-2℃, range humidity 20-90%rh, temperature 0~50℃. I bought a good package of modules, the top with a pull-up resistor, directly to the Raspberry Pi can be gray, purple, blue respectively represents data, 3.3V, 0V, to the
Recently, the company came to a Raspberry Pi board, is a drawback, although only the size of the slap, but perfectly formed! The optical USB port has 4, also has the HDMI port, the network port and the microUSB port, the power supply only needs a 5V charger, namely the general Android Charger can give him power. But it's such a small board that can run win10!Yes, you can really run win10, but it's not the t
1. System Installation1.1. Download Ubuntu-mate Image: https://ubuntu-mate.org/raspberry-pi/Download SDFORMATTERV4: https://www.sdcard.org/downloads/formatter_4/Download win32diskimager:https://sourceforge.net/projects/win32diskimager/1.2. Prepare a TF card greater than 8GB, using SDFORMATTERV4 format TF1.3. Write Ubuntu-mate Mirror (ubuntu-mate-16.04-desktop-armhf-rasp
0. Power supply is micro USB (Android power connector)
1. Download the operating system from the official website and write the memory card with Win32diskimager.
2. Locate the IP and set the static IP under the router:
Command: sudo vi/etc/network/interfaces
Switch
Auto LoIface Lo inet LoopbackIface eth0 inet StaticAddress 192.168.1.88Netmask 255.255.255.0Gateway 192.168.1.1Allow-hotplug Wlan0Iface Wlan0 inet ManualWpa-roam/etc/wpa_supplicant/wpa_supplicant.conf
3. Computer network cable direct
# 1. The ssh,11 version released on Raspberry 15th is not turned on by default. # 2. Start the root user, after executing this command, you will be prompted to enter the root password two times, enter the password you want to set, and then execute sudo passwd root# Unlock root account sudo passwd--unlock root# 3. Update software sudo apt-get update-ysudo apt-get upgrade-y# 4. Installing CPUs and related services sudo apt-get install Cups-ysudo apt-g
1, install the required packagesudo apt-get install Hostpad UHDCPD2. Configuring the/etc/network/interfaces FileConfigure Wlan0 as static addressThe format is as follows:Iface wlan0 inet StaticAddress 192.168.10.1Netmask 255.255.255.0Save, exit3. Configuring the/etc/udhcpd.conf FileSet up automatic assignment of address ranges for DNS gateways, etc.Specific as follows: (according to individual needs to configure)Start 192.168.10.2 # This is the range of IPs that the Hostspot would give to client
Go to a script written in Python that outputs the various states and data of the Raspberry Pi, including CPU temperature, CPU usage, memory usage, and hard disk usage.
Article from: Raspberry Pi Lab
First, create a script:
sudo nano get.py
Second, paste the following code: Bash
Import OS # Return CPU temperatu
Recently in the toss Raspberry Pi, at that time also did not pay attention to, look at the price, bought Mercury network MW150US Ultra-small 150M wireless USB card. But the tragedy was to use iwconfig and not recognize the wireless card But with lsusb words can see MW150US with is Rtl8188eu chip, search on the network, finally found a solution 1. first download the latest Linux kernel for compiling and inst
Realize the WiFi disconnection automatically, the principle is to use Python to monitor whether the network is disconnected, if the disconnection will restart the network service. Next to everyone to share the implementation of code, need to refer to the friend
1.Python code autowifi.py, placed in the/HOME/PI directory:
#!/usr/bin/pythonimportos, Time whiletrue: if ' 192 ' not in Os.popen (' ifconfig | grep 192 '). Read (): print ' \n**** * * W
VSFTPD is an open source, lightweight, common FTP server. 1, install VSFTPD server (about 400KB) sudo apt-get install vsftpd 2, start FTP service sudo service vsftpd start 3, Edit vsftdp config file sudo nano/etc/vsftpd. conf find the following line, define Anonymous_enable=no means: Do not allow anonymous access Local_enable=yes set Local users can access.Write_enable=yes settings can be written local_umask=022 set the file's permission mask after uploading. Save the 4, restart the VSFTPD servi
http://blog.csdn.net/qq_33259138/article/details/52143407"The client cannot establish a connection to the remote computer, the remote computer may not support the required FIPS security level," or "the client cannot connect to the remote computer because of a security setting error," When the computer is remote from its Raspberry Pi. After you have determined that you are logged on to the network:1, open th
effect:[Email protected]:~$ Exportfs-raVerify the Server for NFS locally. Mount the NFS server directory to a different directory on this machine and you can see the files in the NFS server directory under the mount point directory.[Email protected]:~$ ls/home/ky/nfs/Aaaa[Email protected]:~$ sudo mount-t NFS 127.0.0.1:/home/ky/nfs/mnt[Email protected]:~$ ls/mntAaaa[Email protected]:~$ sudo umount/mnt/Use the Development Board to verify that the NFS server is available. Launch the Development Bo
Raspberry Pi-Cron, Crontab (scheduled task), croncrontab
Cron is a tool for configuring scheduled tasks in Unix systems. It is used to execute commands or scripts on a regular basis or at a certain interval; the task scope can be to automatically back up the user's home folder every night, or to record CPU information logs every hour.
The crontab (cron table) command is used to edit the list of scheduled ta
their liking, generally not necessaryBoot auto StartTo set the boot up, you need to/etc/init.d/To create a file in$ vi/etc/init.d/tightvncserver#!/bin/sh# # # BEGIN INIT INFO# Provides:tightvncserver# Required-start: $local _fs# Required-stop: $local _fs# Default-start:2 3 4 5# default-stop:0 1 6# Short-description:start/stop Tightvncserver# # # END INIT INFO# More details see:# HTTP://WWW.PENGUINTUTOR.COM/LINUX/TIGHTVNC# # Customize This entry# Set
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.