电脑通过Putty远程连接树莓派

      最后更新:2022-07-03 23:01

      确保你的电脑和你的 Raspberry Party连接到同一热点

      1.将苹果派连接到电脑和手机热点

      Treeberry派使用命令行来配置Wi-Fi连接 - billibili.(com)

      查看wlan0的RX和TX不是0的输入命令代表了成功的连接热点

      pi@raspbian:~$ 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

      为了确定您是否能上网,您可透过

      pi@raspbian:~$ 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

      与普蒂的“树果派”联系

      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.125netmask 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密码,通常是 raspberry

      参考资料

      (177消息)SSH远程连接访问了 Raspberry Party[非社区IP通过内部网络]_LisaCpolar的博客-CSDN博客_The Raspberry Partyssh连接

      树枝远程连接的三个方法概述-看一看(zoukankan.(com)

      本文由 在线网速测试 整理编辑,转载请注明出处。

          热门文章

          文章分类