当前位置:网站首页>Network remote access using raspberry pie
Network remote access using raspberry pie
2022-06-25 10:53:00 【Chleto】
One 、 Software preparation
1. Raspberry pie mirror image
Official website :Raspberry Pi OS – Raspberry P
2.SDCardFormatterv5i
SD Memory Card Formatter | SD Association (sdcard.org)
3. Burning tools Raspberry Pi
4.putty
Download PuTTY: latest release (0.77) (greenend.org.uk)
Two 、 Implementation process
Open it up and download okay SDCardFormatter Take us SD Format the card
Burn
open sd Card to create an empty text file wpa_supplicant.conf
country=CN
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid=" Your wireless network name "
psk=" Your wireless password "
key_mgmt=WPA-PSK
priority=1
}
take SD Unplug the card, insert the raspberry pie and connect the power to the raspberry pie , You can see on your phone that raspberry pie has been connected , Check out the raspberry pie ip Address , You can download one Advanced IP Scanner, Open terminal input ipconfig, View the wireless hotspot IP Address , And then in IP Scanner Mid search
putty Remote connection
Configure raspberry pie sudo raspi-config
open VNC Viewer
Type in the raspberry pie ip, Then enter the account and password
3、 ... and 、 Create an account and create... In your personal folder assert Assertion c Program
1、 Create user
create a file assert.c, Enter in file
#include <assert.h>
#include <stdio.h>
int main()
{
int a;
char str[50];
printf(" Please enter an integer value : ");
scanf("%d", &a);
assert(a >= 10);
printf(" The integer entered is : %d\n", a);
printf(" Please enter the string : ");
scanf("%s", str);
assert(str != NULL);
printf(" The input string is : %s\n", str);
return(0);
}
Use gcc compile
Four 、 Use scp The command is on two Linux Data transmission between systems
scp
scp yes secure copy Abbreviation , yes linux Based on ssh Log in for secure remote file copy command .scp It's encrypted. ,rcp It's not encrypted ,scp yes rcp The enhanced .
because scp The transmission is encrypted , It may affect the speed a little . in addition ,scp It doesn't take up resources , It will not increase the system load much , At this point ,rsync It's far less than that . although rsync Than scp It will be faster , But when there are lots of small files ,rsync It will cause the hard disk I/O Very high , and scp Basically does not affect the normal use of the system .
scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
[-l limit] [-o ssh_option] [-P port] [-S program]
[[[email protected]]host1:]file1 [...] [[[email protected]]host2:]file2
// Parameter description
-1: mandatory scp Command usage protocol ssh1
-2: mandatory scp Command usage protocol ssh2
-4: mandatory scp The command only uses IPv4 Addressing
-6: mandatory scp The command only uses IPv6 Addressing
-B: Use batch mode ( Do not ask for transmission password or phrase during transmission )
-C: Allow compression .( take -C The sign is passed on to ssh, To turn on compression )
-p: Keep the modification time of the original document , Access time and access rights .
-q: Do not show transfer progress bar .
-r: Recursively copy the entire directory .
-v: Detailed display output .scp and ssh(1) The debugging information of the whole process will be displayed . This information is used to debug connections , Validation and configuration issues .
-c cipher: With cipher Encrypt the data transmission , This option will be passed directly to ssh.
-F ssh_config: Designate an alternative ssh The configuration file , This parameter is passed directly to ssh.
-i identity_file: The key file used to read the transfer from the specified file , This parameter is passed directly to ssh.
-l limit: Limit the bandwidth that users can use , With Kbit/s In units of .
-o ssh_option: If you are used to using ssh_config(5) Parameter passing method in ,
-P port: Notice that it's capital P, port Is the port number used for data transmission
-S program: Specify the program to use when encrypting the transmission . This procedure must be able to understand ssh(1) The option to .
边栏推荐
- After reading this article, I will teach you to play with the penetration test target vulnhub - drivetingblues-7
- Performance file system
- Use of Siemens plcs7-200 (I) -- Introduction to development environment and configuration software
- WPF prism framework
- [RPC] i/o model - Rector mode of bio, NiO, AIO and NiO
- IdentityServer4 定义概念
- Houdini graphic notes: could not create OpenCL device of type (houdini_ocl_devicetype) problem solving
- How to install SSL certificates in Microsoft Exchange 2010
- 申请多域名SSL证书的要求及注意事项
- Google Earth Engine (Gee) - evaluate réalise le téléchargement en un clic de toutes les images individuelles dans la zone d'étude (certaines parties de Shanghai)
猜你喜欢
Flask blog practice - archiving and labeling of sidebar articles
Android之Kotlin语法详解与使用
Binder explanation of Android interview notes
[RPC] i/o model - Rector mode of bio, NiO, AIO and NiO
The title of my composition is - "my district head father"
The path of Architects
无心剑中译伊玛·拉扎罗斯《新巨人·自由女神》
Houdini graphic notes: could not create OpenCL device of type (houdini_ocl_devicetype) problem solving
WPF prism framework
【观察】ObjectScale:重新定义下一代对象存储,戴尔科技的重构与创新
随机推荐
keep-alive
手机炒股安全吗?
[paper reading | deep reading] drne:deep recursive network embedding with regular equivalence
Houdini graphic notes: could not create OpenCL device of type (houdini_ocl_devicetype) problem solving
CDN+COS搭建图床超详细步骤
服务端渲染
宏的运用接续符\
Your driver settings have been set to force 4x antialiasing in OpenGL applications
[RPC] i/o model - Rector mode of bio, NiO, AIO and NiO
输出式阅读法:把学到的知识用起来
Oracle query comes with JDK version
【历史上的今天】6 月 24 日:网易成立;首届消费电子展召开;世界上第一次网络直播
[paper reading | depth] role based network embedding via structural features reconstruction with degree regulated
Houdini图文笔记:Your driver settings have been set to force 4x Antialiasing in OpenGL applications问题的解决
【图像融合】基于形态学分析结合稀疏表征实现图像融合附matlab代码
The path of Architects
Requirements and precautions for applying for multi domain SSL certificate
On binary tree
A random number generator
Summary of considerations for native applet development