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:

    windows ping RPi 2B_第1张图片

二、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
    geteway 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

 

你可能感兴趣的:(windows ping RPi 2B)