当前位置:网站首页>树莓派串口登录与SSH登录方法
树莓派串口登录与SSH登录方法
2022-07-06 06:58:00 【LJX】
目录
一.串口登录树莓派
使用串口登录树莓派首先需要修改配置文件。
所需外设:读卡器,SD卡,USB-TTL转换模块(USB转串口模块)
1.打开SD卡根目录的"config.txt"文件,将以下内容添加在最后并且保存。
dtoverlay=pi3-miniuart-bt
//这样就停止了蓝牙,解除了对串口的占用。2.然后再修改根目录的"cmdline.txt",将里面的内容全部替换成以下内容,以防万一,请先备份好这个文件的原内容。
dwc_otg.lpm_enable=0 console=tty1 console=serial0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
3.准备好上面的步骤之后,将SD卡插入树莓,接上电源启动。将USB-TTL转换模块与树莓派连接

打开SecureCRT配置好波特率后连接,输入账号密码,默认账号为:pi,默认密码:raspberry。
二.SSH方式登陆树莓派
1.输入命令:sudo raspi-config
2.选择菜单

3.选择SSH

4.选择yes

5.打开SecureCRT,点击快速连接,选择SSH2协议,输入IP地址和用户名。

6. 选择接收并保存

7.最后输入树莓派密码即可
边栏推荐
- 接口自动化测试框架:Pytest+Allure+Excel
- Refer to how customer push e-commerce does content operation
- Practical guidance for interface automation testing (Part I): what preparations should be made for interface automation
- Day 248/300 thoughts on how graduates find jobs
- Is it difficult for girls to learn software testing? The threshold for entry is low, and learning is relatively simple
- 漏了监控:Zabbix对Eureka instance状态监控
- [daily question] 729 My schedule I
- What does UDP attack mean? UDP attack prevention measures
- 机器学习植物叶片识别
- Librosa audio processing tutorial
猜你喜欢

Entity Developer数据库应用程序的开发

26岁从财务转行软件测试,4年沉淀我已经是25k的测开工程师...

Every API has its foundation when a building rises from the ground

漏了监控:Zabbix对Eureka instance状态监控

Introduction to ros2 installation and basic knowledge

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower

开源的网易云音乐API项目都是怎么实现的?

AttributeError: Can‘t get attribute ‘SPPF‘ on <module ‘models.common‘ from ‘/home/yolov5/models/comm

前缀和数组系列

Map of mL: Based on the adult census income two classification prediction data set (whether the predicted annual income exceeds 50K), use the map value to realize the interpretable case of xgboost mod
随机推荐
18. Multi level page table and fast table
Simple query cost estimation
Three methods of adding color to latex text
[advanced software testing step 1] basic knowledge of automated testing
When my colleague went to the bathroom, I helped my product sister easily complete the BI data product and got a milk tea reward
Chapter 7 - thread pool of shared model
从autojs到冰狐智能辅助的心里历程
Every API has its foundation when a building rises from the ground
UDP攻击是什么意思?UDP攻击防范措施
ROS学习_基础
Market segmentation of supermarket customers based on purchase behavior data (RFM model)
【软件测试进阶第1步】自动化测试基础知识
接口自动化测试实践指导(上):接口自动化需要做哪些准备工作
Refer to how customer push e-commerce does content operation
Fedora/rehl installation semanage
A brief introduction of reverseme in misc in the world of attack and defense
Windows Server 2016 standard installing Oracle
Top test sharing: if you want to change careers, you must consider these issues clearly!
将ue4程序嵌入qt界面显示
Do you really know the use of idea?