zoukankan      html  css  js  c++  java
  • windows ping RPi 2B

    /*************************************************************************
     *                        windows ping RPi 2B
     * 声明:
     *     本文主要记录如何设置RPi 2B静态IP,并且通过windows来ping通RPi 2B。
     *
     *                                    2016-2-15 深圳 南山平山村 曾剑锋
     ************************************************************************/
    
    参考文章:
        <raspberry pi> raspberry pi 设置wlan 静态ip
            http://www.cnblogs.com/keygle/archive/2013/04/27/3048273.html
    
    一、windows ip setting:

        

    二、cat /etc/network/interfaces
        # 本人在ubuntu中修改RPi 2B文件系统中的/etc/network/interfaces
        ......
        #iface eth0 inet manual
        auto eth0
        allow-hotplug eth0
        iface eth0 inet static
        address 192.168.0.5
        netmask 255.255.255.0
        gateway 192.168.0.1
        ......
    
    三、ping 192.168.0.5 > pingdata.txt
        Pinging 192.168.0.5 with 32 bytes of data:
        Reply from 192.168.0.5: bytes=32 time<1ms TTL=64
        Reply from 192.168.0.5: bytes=32 time<1ms TTL=64
        Reply from 192.168.0.5: bytes=32 time=1ms TTL=64
        Reply from 192.168.0.5: bytes=32 time<1ms TTL=64
    
        Ping statistics for 192.168.0.5:
            Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
        Approximate round trip times in milli-seconds:
            Minimum = 0ms, Maximum = 1ms, Average = 0ms
  • 相关阅读:
    拆分跨天的时间数据
    模板
    更换数据库服务器迁移步骤
    缺失索引
    flex布局解说和属性
    Vuejs中关于computed、methods、watch,mounted的区别
    皮囊
    回家
    江苏旅游计划
    重写原生alert,弹出层过一会就消失
  • 原文地址:https://www.cnblogs.com/zengjfgit/p/5191230.html
Copyright © 2011-2022 走看看