windows ping RPi 2B

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
    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的主要内容,如果未能解决你的问题,请参考以下文章

windows 远程桌面连接 RPi 2B

RPi 2B 自动发送获取的IP到固定邮箱

RPi 2B GPIO 测试

RPi 2B IPC webcam server

RPi 2B python opencv camera demo example

RPi 2B Raspbian system install