当前位置:网站首页>电脑通过Putty远程连接树莓派
电脑通过Putty远程连接树莓派
2022-07-04 06:56:00 【思考实践】
确保你的电脑和你的树莓派连接同一个热点
1.让你的树莓派与你的电脑连接你的手机热点
树莓派使用命令行配置wifi连接 - 哔哩哔哩 (bilibili.com)
输入指令看到wlan0的RX与TX不是0就代表连接热点成功了
[email protected]:~$ sudo ifconfig wlan0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.243.125 netmask 255.255.255.0 broadcast 192.168.243.255
inet6 2409:8914:244:b7f:1f05:f093:abf3:30ce prefixlen 64 scopeid 0x0<global>
inet6 fe80::ceda:dbd1:2893:9ff9 prefixlen 64 scopeid 0x20<link>
ether dc:a6:32:29:13:8d txqueuelen 1000 (Ethernet)
RX packets 866 bytes 106471 (103.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 478 bytes 71486 (69.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0判断是否能访问Internet,可以Ping www.baidu.com
[email protected]:~$ ping www.baidu.com
PING www.a.shifen.com (39.156.66.18) 56(84) bytes of data.
64 bytes from 39.156.66.18 (39.156.66.18): icmp_seq=1 ttl=50 time=44.7 ms
64 bytes from 39.156.66.18 (39.156.66.18): icmp_seq=2 ttl=50 time=58.7 ms
64 bytes from 39.156.66.18 (39.156.66.18): icmp_seq=3 ttl=50 time=59.0 ms
64 bytes from 39.156.66.18 (39.156.66.18): icmp_seq=4 ttl=50 time=41.8 ms
64 bytes from 39.156.66.18 (39.156.66.18): icmp_seq=5 ttl=50 time=42.4 ms
2.使用Putty连接树莓派
1>下载一个Putty
Download PuTTY - a free SSH and telnet client for Windows
2> 查看树莓派的ip地址,在树莓派终端输入 sudo ifconfig,里面的192.168.243.125就是我们要的ip地址
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.243.125 netmask 255.255.255.0 broadcast 192.168.243.255
inet6 2409:8914:244:b7f:1f05:f093:abf3:30ce prefixlen 64 scopeid 0x0<g
3> 输入地址,然后连接
这里填写你的树莓派用户名,一般是 pi
这里填写你的树莓派密码,一般是raspberry
参考资料
(177条消息) SSH远程连接访问树莓派【无公网IP做内网穿透】_LisaCpolar的博客-CSDN博客_树莓派ssh连接
边栏推荐
- The cloud native programming challenge ended, and Alibaba cloud launched the first white paper on application liveliness technology in the field of cloud native
- Latex中的单引号,双引号如何输入?
- Tar source code analysis Part 3
- 2022 Xinjiang's latest eight members (Safety Officer) simulated examination questions and answers
- 测试用例的设计
- 在已经知道表格列勾选一个显示一列
- Campus network problems
- Wechat applet scroll view component scrollable view area
- 颈椎、脚气
- [GF (q) + LDPC] regular LDPC coding and decoding design and MATLAB simulation based on the GF (q) field of binary graph
猜你喜欢
Common usage of time library
Crawler (III) crawling house prices in Tianjin
Fundamentals of SQL database operation
用于压缩视频感知增强的多目标网络自适应时空融合
Bottom problem of figure
Can the out of sequence message complete TCP three handshakes
响应式——媒体查询
Wechat applet scroll view component scrollable view area
Recursive Fusion and Deformable Spatiotemporal Attention for Video Compression Artifact Reduction
Review of enterprise security incidents: how can enterprises do a good job in preventing source code leakage?
随机推荐
what the fuck! If you can't grab it, write it yourself. Use code to realize a Bing Dwen Dwen. It's so beautiful ~!
Wechat applet scroll view component scrollable view area
11. Dimitt's law
BasicVSR++: Improving Video Super-Resolutionwith Enhanced Propagation and Alignment
the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winpty‘
在已经知道表格列勾选一个显示一列
[FPGA tutorial case 8] design and implementation of frequency divider based on Verilog
ABCD four sequential execution methods, extended application
[GF (q) + LDPC] regular LDPC coding and decoding design and MATLAB simulation based on the GF (q) field of binary graph
Highly paid programmers & interview questions: how does redis of series 119 realize distributed locks?
List of top ten professional skills required for data science work
Tar source code analysis Part 10
Campus network problems
Fundamentals of SQL database operation
selenium驱动IE常见问题解决Message: Currently focused window has been closed.
Displaying currency in Indian numbering format
2022, peut - être la meilleure année économique de la prochaine décennie, avez - vous obtenu votre diplôme en 2022? Comment est - ce prévu après la remise des diplômes?
Chapter 1 programming problems
Check and display one column in the known table column
[MySQL] introduction, function, creation, view, deletion and modification of database view (with exercises)