当前位置:网站首页>树莓派串口登录与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.最后输入树莓派密码即可
边栏推荐
- PCL实现选框裁剪点云
- Leetcode - 152 product maximum subarray
- Every API has its foundation when a building rises from the ground
- Apache dolphin scheduler source code analysis (super detailed)
- 简单描述 MySQL 中,索引,主键,唯一索引,联合索引 的区别,对数据库的性能有什么影响(从读写两方面)
- Bitcoinwin (BCW): 借贷平台Celsius隐瞒亏损3.5万枚ETH 或资不抵债
- Cif10 actual combat (resnet18)
- 成功解决TypeError: data type ‘category‘ not understood
- Short video, more and more boring?
- 一文读懂简单查询代价估算
猜你喜欢

Facebook AI & Oxford proposed a video transformer with "track attention" to perform SOTA in video action recognition tasks

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

Reflex WMS medium level series 3: display shipped replaceable groups

1189. Maximum number of "balloons"

Depth residual network

Apache DolphinScheduler源码分析(超详细)

A brief introduction of reverseme in misc in the world of attack and defense

SAP SD发货流程中托盘的管理

【每日一题】729. 我的日程安排表 I

3. Business and load balancing of high architecture
随机推荐
作者已死?AI正用艺术征服人类
Fedora/rehl installation semanage
详解SQL中Groupings Sets 语句的功能和底层实现逻辑
【Hot100】739. 每日溫度
[server data recovery] case of offline data recovery of two hard disks of IBM server RAID5
Oracle数据库11gr2使用tde透明数据加密报错ora28353,如果运行关闭wallet会报错ora28365,运行打开wallet就报错ora28353无法打开wallet
The psychological process from autojs to ice fox intelligent assistance
19.段页结合的实际内存管理
UWA Pipeline 2.2.1 版本更新说明
机器学习植物叶片识别
Supporting title of the book from 0 to 1: ctfer's growth road (Zhou Geng)
Introduction to ros2 installation and basic knowledge
Pallet management in SAP SD delivery process
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
巴比特 | 元宇宙每日必读:中国互联网企业涌入元宇宙的群像:“只有各种求生欲,没有前瞻创新的雄心”...
Machine learning plant leaf recognition
Day 245/300 JS foreach data cannot be updated to the object after multi-layer nesting
机器人类专业不同层次院校课程差异性简述-ROS1/ROS2-
【每日一题】729. 我的日程安排表 I
Practical guidance for interface automation testing (Part I): what preparations should be made for interface automation