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 |
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
way, every time we execute the take_photo.sh script, we can have the Raspberry Pi take a picture and send it to the seven cow cloud, we just log in to see the dataIv. Scheduled executionManage this script with Linux's timed task crontab
1
crontab-e
At the end of the Chase Plus
1
**** */home/
Haha, you listen to the right!Using the Raspberry Pi can make a radio station, let your radio station to put their favorite music, is so capricious!?First, a bunch of geniuses at Imperial College in the UK (for the school that took the big 3D glasses a while ago) wrote a program that could send broadcasts on the Raspberry Pi
First, sign up for a NOIP account .Refer to this tutorial: http://www.cnblogs.com/infopi/p/3991407.htmlCreate a DirectoryLine 1th enters the current user's home directoryLine 2nd establishes the Noip subdirectory, line 3rd enters the Noip subdirectoryCD ~mkdir NoipCD NoipDownload Noip client source, installThe 1th line to download the source code, the 2nd line decompression source code, 3rd line into the extracted source directory4th line compilation,
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
IP address based on the MAC address.
Router Query MethodIf you have the permission to log on to a vro (such as a home network), you can directly query the IP address assigned by the vro to the access control card on the vro management interface.
2.2 front-end controller card reading display and uploading
Log on to the front-end access control panel. The IP address of the access control panel is the IP address (192.168.20.106 in this example) found i
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
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) com
" and he found a way to solve it. And my approach is to migrate the system to Openelec. This is something.Third, the use of TV remote control kodiCec:consumer Electronic control, literal translation into consumer electronics. It provides the use of remote controls to control devices connected via HDMI. And our Raspberry Pi and RASPBMC systems have been supported from both hardware and software levels. The n
First, why Choose OpenelecRASPBMC the volume of large functions, the corresponding speed and performance to be weak; Openelec is a lite version, small size function, the corresponding speed and performance have been improved. This depends on our choice, if you like me with multiple sdcard to play Raspberry Pi, then use Openelec as a home Media Center is the most
Article reproduced from this blog1. Sudo apt-get install sambaIf you get an error, you'll need to execute sudo apt-get update before re-executing sudo apt-get install sambaOnce the installation is complete, the Samba service is installed, and some basic tools are not installed, so you need to install the Samba support tool:sudo apt-get install samba-common-bin(Note: This step is very important, if this does not install will cause a tool like smbpasswd not to be installed, the latter will not be
activated the next time you start Raspberry Pi.
There are also. Bash_aliasesFile Reference. By default, this file does not exist:
if [ -f ~/.bash_aliases ]; then . ~/.bash_aliasesfi
The IF condition is used to check whether the file exists between the imported files.
You can create this. Bash_aliasesFile, and add more aliases in it, for example:
alias gs='git status'
You can also directly add other th
Raspberry Pi's. bashrc and. bash_aliases files,
In your home directory, you can find a hidden file that contains user configurations.. Bashrc. 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, someLsCommand alias:
alias ls='ls --color=auto'#alias dir='dir --color=auto'#alias vdir='vdir --color=auto'alias g
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
' * ' in these fields (for ' any '). ## Notice that tasks would be started based on the Cron ' s system# daemon ' s notion of time and timezones.## Output of the crontab jobs (including errors) is sent through# Email to the user of the crontab file belongs to (unless redirected).## For example, you can run a backup of all your user accounts# at 5 a.m. every week with:# 0 5 * * 1 tar-zcf/var/backups/home.tgz/home/## For more information see the manual
1: Download several dependencies:Update software Source: sudo apt-get update/upgrade;Install the dependencies in turn:sudo apt-get install build-essentialsudo apt-get install CMakesudo apt-get install Libgtk2.0-devsudo apt-get install Pkg-configsudo apt-get install Python-dev python-numpysudo apt-get install Libavcodec-dev libavformat-dev libswscale-dev libjpeg-dev libpng-dev libtiff-dev Libjasper-dev2: Get Source code: I download opencv2.4.10 Linux version from OPENCV official website. Set up O
First I want to enable root user, so I first enable root user:Su dopasswd rootYou will be prompted to enter the password two times, and then:Su dopasswd--unlock rootThis allows you to start the root login and if you want to use root immediately, you can:Su RootThis allows you to switch directly to the root user, but will prompt for a password, if the next time you log in with root, you will be logged in the Display Settings screen, if you just play, you can not control this.Next, to install MySQ
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.