# 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 se
1. Visit the website: http://www.airspayce.com/mikem/bcm2835/, the website provides a library file for the Raspberry Pi: Click to download click to download. Follow the prompts to install.2. In the example folder in bcm2835-1.4.2, which is the history file, open the Bink folder, and use Gcc-o blink blink-l bcm2835 to generate blink execution files.3. In the Blink
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
that the appropriate content is modified according to the actual situation:
[Unit]
Description=wireless Static IP Connectivity
Wants=network.target
Before=network.target
[Service]
Type=oneshot
Remainafterexit=yes
Environmentfile=/etc/conf.d/wifi
EXECSTART=/SBIN/IP Link Set Dev wlan0 up
EXECSTART=/SBIN/IP addr Add 192.168.34.1/24 broadcast 192.168.34.255 Dev Wlan0
EXECSTOP=/SBIN/IP addr Flush Dev Wlan0
EXECSTOP=/SBIN/IP Link Set Dev
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
Network service networking restart or restart the Raspberry PiTest networking after reboot can be sudo apt-get update or open browser test via graphical interfaceIv. Possible problemsIf you set the default to enter the Raspberry Pi GUI, may enter a user login interface, but do not know the password, ctrl+alt+f1 command line mode.Raspberry
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
In Raspberry Pi 3, direct startup does not enter the graphical interface by default. When you enter using SSH dialing (software such as putty), you can enter it at the command line
sudo raspi-config //Enter settings, here are a lot of settings
In the boot option, the Raspberry
This is a creation in
Article, where the information may have evolved or changed. Today I turned over the old data and found something. When the company's servers were not in place (startups had no way).
Talking about the server, a colleague took out his raspberry Pi.
I think, I can do it. Go would have supported multiple platforms. Redis is written in C and should not be a problem.
Finally, although the m
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 up
The raspberry Pi2, introduced in February 2015, cannot be installed Lazarus with the previous method, and when installing the FPC, the following problem stops the installation.Find a solution from http://otapi.com/2015/02/10/raspberry-pi-2-freepascal-lazarus-and-delphi/:1. Installing Subversion and unzipSudo apt-get UpdateSudo Apt-get Install Subversion UNIZP2. g
This is a created
article in which the information may have evolved or changed.
Objective
Recent jobs needed, demand for Get Raspberry Pi Ethernet IPAddress and MAC address, looked at the next Golang document, found net. Interfacebyname can accomplish this goal.
Realize
//以太网网卡名称为eth0 inter, err := net.InterfaceByName("eth0") if err != nil { log.Fatalln(err)
Test passes on the Raspberry Pi pi3b official system.
1. Download http://www.linuxfromscratch.org/blfs/view/svn/general/yasm.html yasm and install:./configure--prefix=/usrMakeMake install 2. Download the latest stable version of x264 and install:./configure--enable-shared--prefix=/usrMakeMake install 3.sudo Apt-get Install aptitudesudo aptitude install Libfaac-
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
Raspberry Pi has two audio output modes: hdmi and headphone interfaces. You can switch between the two modes at any time.
If your HDMI monitor has a built-in speaker, the audio can be played through the HDMI interface. You can also switch to the headset interface to use the speaker of the headset or other headset interface to play the video. If your monitor requests support from the speaker, the sound is ou
Compile the Raspberry Pi 2 generation B OpenWrt firmware to implement the wireless router and nodogsplash authentication function. openwrtnodogsplash
Final function:
The main features of the wireless router, network port WAN Access, USB wireless Nic AP hotspot output, connected to wifi, jump to the authentication page, click the authentication to access the Internet, the effective time is 10 minutes, after
Look at build 2015 in the middle of the night, basically heard 3, 4 times "Raspberry Pi", but always did not demonstrate win10 in the RPI above what kind of, so ... Try it yourself. First the pit is DISM: see an Ffu file, read the instructions, that is DISM directly deployed to the SD card. So is it possible to use LINUX+DD? Try it, no ... Then using win8.1 for
driver=nl80211 (some may be rtl871xdrv, I can't, hint "unknown")
#共享网络的SSID是RaspberryPi
Ssid=raspberrypi (WiFi name)
# NIC works in 802.11G mode
Hw_mode=g
#无线网卡选用11信道
channel=11
# WPA2 Configuration
wpa=2
#wpa密码是raspberry
Wpa_passphrase=raspberry (wifi password)
#认证方式为WPA-psk encryption method is CCMP
Wpa_key_mgmt=wpa-psk
wpa_pairwise=ccmp
rsn_pai
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.