range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn
55
www.xunlong.tv
2) After the system starts, it will automatically assign an IP address to the Ethernet card
through DHCP
3) The command to view the IP address is as follows
root@orangepir1plus:~# ifconfig lan0
lan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.96 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::be68:b89f:def0:5261 prefixlen 64 scopeid 0x20<link>
ether c0:74:2b:ff:b3:46 txqueuelen 1000 (Ethernet)
RX packets 5737 bytes 329470 (329.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 57 bytes 5500 (5.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
4) The command to test network connectivity is as follows
root@orangepir1plus:~# ping www.baidu.com -I lan0
PING www.a.shifen.com (180.101.49.42) from 192.168.1.96 lan0: 56(84) bytes of data.
64 bytes from 180.101.49.42 (180.101.49.42): icmp_seq=1 ttl=53 time=27.2 ms
64 bytes from 180.101.49.42 (180.101.49.42): icmp_seq=2 ttl=53 time=26.0 ms
64 bytes from 180.101.49.42 (180.101.49.42): icmp_seq=3 ttl=53 time=25.8 ms
64 bytes from 180.101.49.42 (180.101.49.42): icmp_seq=4 ttl=53 time=26.7 ms
^C
--- www.a.shifen.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 25.839/26.478/27.254/0.583 ms