Tags: write ace use install data github size directory WhiteMethods for installing the official 32-bit system:1. Download the latest system image file from the official website and write to the TF card using the Raspberry Pi System recording tool. 2. Enable SSH connection: Create a new text file under the boot root of the burn and rename it to SSH3. Default user
20171109Many of the online settings tutorials are older, so you can organize the way to share the nextAfter SSH is turned on, use the Putty connection.Installing X11VNCsudo apt-get install X11vncSet Passwordsudo x11vnc-storepasswd/etc/x11vnc.passAdding a self-starter configurationsudo nano/lib/systemd/system/x11vnc.servicePaste in[Unit] Description=start X11vnc at startup. After=multi-user.target[service]type=simpleexecstart=/usr/bin/x11vnc-auth Guess-forever-loop-noxdamage-repeat- Rfbauth/etc/x
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
the following two lines into the edit window
#!/bin/bash
/sbin/iptables-restore
Copy CodeSave exitInput command
sudo chmod 755/etc/network/if-pre-up.d/iptables
Copy CodeTurn on kernel forwardingInput command
sudo nano/etc/sysctl.conf
Copy CodeFind this place
# Uncomment the next line to enable packet forwarding for IPV4
#net. ipv4.ip_forward=1
Copy CodeGet rid of the Net.ipv4.ip_forward
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
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 grep='grep --color=auto'alias fgrep='fgrep --c
1. Preface:
You need to understand the concept of Bitcoin
You need to know the computing power of the Raspberry Pi, which is much less effective than the graphics card mining, the baked cat, the USB mining, etc.
If you want to toss it, come on. 2. Prepare:
You want to dig Bitcoins, first of all to know where to dig Bitcoin, Bitcoin is in a mine, so we register the mine pool account
It could be that the BT
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
to scan the register for the interrupt number of the interrupt, and call the corresponding callback function if the interrupt occurs.1.for_each_set_bit (i, EDSR, + ) //cycle to find a bit in the EDSR that is 1 is interrupted 2.Generic_handle_irq (Gpio_to_irq (GPIO));//interrupt callback function that calls the interrupt vector (will be filled in when the driver requests an IRQ resource) GPIO_TO_IRQ (GPIO) is the interrupt vector number where the interrupt occurredThree • Interrupt Controller
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
Uwsgi_params;Uwsgi_pass Unix:/tmp/uwsgi.sock;}}Then use the LN command to create a link to/etc/nginx/sites-enable/, Link's name is also called site, delete the Sites-enable directory under the default link:sudo ln-s/etc/nginx/sites-available/site/etc/nginx/sites-enabled/( Note: This is ln's lowercase command )sudo rm/etc/nginx/sites-enabled/default4) Start deployment1. Start Uwsgi, command is sudo uwsgi-x
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
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.