(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/
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
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
Raspiban wheezy is pre-installed Python3 is 3.2.3, this tutorial lets you upgrade to 3.4.1 (currently the latest version).I used a B-plus Raspberry Pi, which was released in 2014-06-20 by Raspbian Wheezy.The entire Raspbian system is upgraded to the latest, and may require a reboot after the upgrade.1 sudo Update 2 sudo upgradeLet's do it in the home directory of the current user, go to this directoryCD ~th
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
Raspberry pi +opencv read camera
Call the camera on the Raspberry Pi, read each frame in the video stream, and use the canny edge detection to extract the edges in each frame, the final effect is as follows:
ReadVideo.cpp
#include "opencv2/opencv.hpp"
using namespace CV;
int main (int, char**)
{
videocapture ca
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
Everyone seems to be very concerned about weather forecasts. Of course, obtaining accurate weather forecasts is very useful for your travel plans and other activities. Weather forecast information can be obtained in many places, such as webpages, most smartphones or tablets. Now you can use the "wether" tool on Raspberry Pi to obtain the weather forecast information through command line."Weather" can be ins
Pi uses the BCM2836 of the ARMV7 architecture to download the cross compiler ARM-LINUX-GNUEABIHF-GCC.Local Environment: UBUNTU14 + x86_641. Download the compiler address:1). Linaro Open Source organization has the relevant cross-tool chain download, click to enter the page to choose to download, address: https://launchpad.net/linaro-toolchain-binaries/+download 2). The above web site speed is slow, always download failed. Find the domestic website H
Because the Raspberry Pi is an arm architecture, there is no binary package download for ARM architecture on node. js. Tried using apt package to manage installation and direct node. JS source code compilation installation (compiled for four or five hours ...) ), failed to report an illegal instruction error, or due to a compiled processor architecture error. How
Introduced
The DHT11 is a cheap accessory that includes temperature and humidity sensors, and the code is easy to use. This article describes if you use DHT11 in a Raspberry Pi, the code is python. If you have any questions, please leave a comment below.
Wiring
VCC Connection 5V or 3.3V
Data i
Reference: RPi Serial ConnectionThis article from: Http://www.raspberry-projects.com/pi/programming-in-c/uart-serial-port/using-the-uartUsing the UARTIf you is running Raspbian or similar then the UART would be used as a serial console. Using a suitable cable, such as the Ttl-232r-3v3-we, you can connect it to your PC and using some simple terminal software Set to 115200-8-n-1 use the command line interface to the
Linux-Raspberry Pi system partition
There are two main partition commands: fdisk and parted.Both commands require the root permission,First, we will introduce the fdisk command: Fdisk allows you to view the usage of the current file system.
fdisk -l
Because I installed the system on the SD card, the partition starts with/dev/mmcblk0. We can see that there are currently three actual partitions (/dev/mmcblk
/mmcblk0 mkpart logical ext4 10.1GB 11.1GB```mkpart是创建分区参数logical 分区类型(primary extend logical)ext4 文件系统类型 10.1GB 分区开始位置(根据最后一个分区的End来确定,之前代号为5的分区End值为10.1GB,所以这里我们从10.1GB开始)11.1GB 分区截止位置建好分区后,还要通过partprobe命令,强制将分区信息写到磁盘div class="se-preview-section-delimiter">div>Write code here"'The last two methods require file system creation after the partition is created and mounted on the bootpartprobeThe la
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
The content of this article is Raspberry Pi python get GY-85 nine axis module information example, here using Python curses package development cli window program, used to refresh the sensor reading in real time, see the code first
GY-85.py:
The code is as follows:
#! /Usr/bin/python3#-*-
database and tables for MySQLcd/usr/local/bin/mysql_install_db--basedir=/usr/local/mysql--datadir=/usr/local/mysql/data--user=mysql6, registered as a serviceCP Support-files/mysql.server/etc/init.d/mysql7. Create etc/my.cnfCP SUPPORT-FILES/MY-DEFAULT.CNF/ETC/MY.CNF8. Add MySQL to the environment variable[[email protected] rhel5~]# vi/root/. Bash_profile in Path= $PATH: $HOME/Bin add parameter: PATH= $PATH: $HOME/ bin:/usr/local/mysql/bin:/usr/local/mysql/lib[[email protected] rhel5~] #source/ro
Opencv-2.4.9.zipunzip OPENCV-2.4.9.ZIPRM opencv-2.4.9.zipcd opencv-2.4.9mkdir BUILDCD buildcmake-d CMAKE_BUILD_TYPE= release-d cmake_install_prefix=/usr/local-d build_python_support=on-d Build_examples=on. Make It takes a long time to compile and install sudo make install/usr/local/lib #没作用似乎 Adding environment variables sudo nano/etc/bash.bashrc Pkg_config_path= $PKG _config_path:/usr/local/lib/pkgconfig Export Pkg_config_path #添加到上面的那个文件的末尾中 To finish, start designing happily, here is an exam
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.