1) First, insert one end of the network cable into the Ethernet interface of the development board, and connect the other end of the network cable to the router, and ensure that the network is unblocked
2) After the system starts, it will automatically assign an IP address to the Ethernet card through DHCP,No other configuration is required
3) The command to view the IP address in the Linux system of the development board is as follows
orangepi@orangepi:~$ ip addr show eth0 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
|
When using ifconfig to view the IP address, if the following information is displayed, it is because sudo is not added. The correct command is:sudo ifconfig Command 'ifconfig' is available in the following places |
There are three ways to check the IP address after the development board starts: 1. Connect the HDMI monitor, then log in to the system and use the ip addr show eth0 command to view the IP address In addition, it should be noted that the development board DHCP automatically assigns an IP address without any settings. |
4) The command to test the network connectivity is as follows, the ping command can be interrupted through the shortcut key of Ctrl+C
orangepi@orangepi:~$ ping www.baidu.com -I eth0 PING www.a.shifen.com (14.215.177.38) from 192.168.1.12 eth0: 56(84) bytes of data. |