当前位置:网站首页>Raspberry pie 4B no screen installation system and networking using VNC wireless projection function
Raspberry pie 4B no screen installation system and networking using VNC wireless projection function
2022-06-30 08:46:00 【Intelligent speaker design】
Preface
Raspberry pie on hand 4B Can't turn it on , Brush a system again , But no micro HDMI The line cannot display the screen , Unable to operate boot process , In the use of Mac For computers VNC I encountered a lot of problems when connecting to the desktop wirelessly , Fill in the hole you encounter .
preparation
Raspberry pie 4B
32G Memory card
Card reader
fing.app
Download and burn system
Raspberry pie website :https://www.raspberrypi.org/
Raspberry pie 4B Download the system installation package from the official website ,Mac The computer can download the system installation software .
There are many versions in the installation software , such as Ubantu, The first time you use raspberry pie, you can install the default recommended version .
Be careful , The memory card needs to use the software to format the memory card as... Before burning the image FAT32 Format .
Turn on SSH And configure Internet access
Turn on SSH
Raspberry pie is off by default ssh Of , It is necessary to start at the first startup ssh, In this way, we can pass ssh Connect VNC Create a virtual screen on the laptop screen .
Method :
windows System : stay boot Create a new partition named ssh.txt A blank text document , Delete the following txt suffix ;
Mac System : Here's the problem ,Mac The system cannot delete a new text document txt The way suffixes are created ssh file , stay Mac In the system , Even if you delete txt After suffix , The file format is still txt, After inserting raspberry pie, the system will not recognize .
Pictured above , stay Mac In the system , Use ssh.txt Delete the document txt After suffix , There will also be... On the file thumbnail TXT Flags for formatting .
The right way is , Input in the terminal touch ssh , Create a new name for ssh The file of , Then copy this file / Cut to desktop . Generated in this way ssh The document will take effect .

Configure Internet access
stay boot Copy the partition ssh file , Enter the following code in the newly copied file to configure the wireless network to be connected ;
country=CN
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="ChinaNet-xxx"
psk="12345678"
key_mgmt=WPA-PSK
priority=1
}
Then rename the newly copied file to wpa_supplicant.conf.
Be careful , Use Mac In the case of computers , Also do not use txt How text documents modify suffixes , This method generates wpa_supplicant.conf The document is also not valid in raspberry pie .
Insert the memory card into the raspberry pie , Access to electricity , Turn it on .
Mobile download fing.app This software ( Cell phones, raspberry pies and computers should be on the same network ), After the raspberry pie is successfully connected to the Internet , In this software can display raspberry pie ip Address ( The name is usually Generic). If not shown , This indicates that the network configuration was unsuccessful , Need to check the raspberry pie power supply 、 Network password 、 Whether the configuration file format is correct .
Input in the terminal ssh [email protected] Yours ip Address , Enter the default password for raspberry pie raspberry, Boot successful !

After entering the system, you will be prompted to change your password ( This step is not necessary ).
VNC Display desktop
We use SSH What is the purpose of login ? you 're right , Raspberry pie, of course VNC function .
1) Enter the command at the terminal sudo raspi-config, Open the raspberry pie system configuration interface .
2) choice :–> 3 Interface Options Configure connections to peripherals
3) choice :–> P3 VNC
4) open VNC function 
5)reboot restart , complete .
6) Computer installation VNC Software , Enter raspberry pie ip Address , Enter the password for raspberry pie , Get into , It might prompt :cannot currently show the desktop, Because the resolution is not set .
resolvent :
1)ssh Connect the raspberry pie , Enter the command sudo raspi-config,
2) choice 7 Advanced Options, enter ,
3) choice A5 Resolution, enter ,
4) Choose a resolution other than the first one , enter ,
5)reboot restart , Access to desktop !
Postscript
In the above steps , most important of all ssh Document and conf File format problem , The Internet doesn't connect , For a long time , Only then discovered that is the file format question .
边栏推荐
- 【付费推广】常见问题合集,推荐榜单FAQ
- Redis设计与实现(三)| 服务器与客户端的交互(事件IO模型)
- [untitled]
- Anchorgenerator for mmdet line by line interpretation
- C # listbox how to get the selected content (search many invalid articles)
- Is the reverse repurchase of treasury bonds absolutely safe? How to open an account online
- Gilbert Strang's course notes on linear algebra - Lesson 4
- Does the oscilloscope probe affect the measurement of capacitive load?
- Unity简单shader
- Flink 数据偶尔数据积压导致checkpoint失败
猜你喜欢

Deploy the cow like customer network project on the ECS

Redis design and Implementation (VIII) | transaction

【NVMe2.0b 14-1】Abort、Asynchronous Event Request、Capacity Management command

云服务器上部署仿牛客网项目

Swagger use

Redis设计与实现(四)| 主从复制

Interpretation of orientedrcnn papers

【NVMe2.0b 14-3】Doorbell Buffer Config command、Device Self-test command

Gilbert Strang's course notes on linear algebra - Lesson 2

将线程绑定在某个具体的CPU逻辑内核上运行
随机推荐
CUDA implements matrix replication
Redis design and Implementation (V) | sentinel sentry
Redis design and Implementation (VI) | cluster (sharding)
Axure制作菜单栏效果
C accesses mongodb and performs CRUD operations
[untitled]
Viteproject require Syntax Compatibility Problem Solving require is not defined
Introduction to the runner of mmcv
127.0.0.1、0.0.0.0和localhost
Wechat official account third-party platform development, zero foundation entry. I want to teach you
Torchvision loads the weight of RESNET except the full connection layer
Pytorch BERT
我们如何拿到自己满意的薪资呢?这些套路还是需要掌握的
[untitled]
[untitled]
电流探头电路分析
Be careful of this hole in transmittable thread local
【付费推广】常见问题合集,推荐榜单FAQ
Mmdet line by line deltaxywhbboxcoder
Unity simple shader