Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 5 Plus

470 bytes added, 15:22, 6 June 2023
2.5G Ethernet port test
<ol style="list-style-type: decimal;">
<li><p>The development board has two 2.5G Ethernet ports, and the test methods for the two ports are the same. 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 unimpeded.</p></li>
<li><p>After the system starts, it will automatically assign an IP address to the Ethernet card through DHCP '''<span style="color:#FF0000">without any other configuration</span>'''.</p></li>
<li><p>The command to view the IP address in the Linux system of the development board is as follows:</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''ip addr show'''</p>
<p>1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000</p>
:<p>link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00</p>:<p>inet 127.0.0.1/8 scope host lo</p>::<p>valid_lft forever preferred_lft forever</p>:<p>inet6 ::1/128 scope host</p>::<p>valid_lft forever preferred_lft forever</p><p>2: '''<span style="color:#FF0000">enP3p49s0</span>''': &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc mq state UP group default qlen 1000</p>:<p>link/ether 00:e0:4c:68:00:26 brd ff:ff:ff:ff:ff:ff</p>:<p>inet '''<span style="color:#FF0000">192.168.1.245</span>'''/24 brd 192.168.1.255 scope global dynamic noprefixroute enP3p49s0</p>::<p>valid_lft 42537sec preferred_lft 42537sec</p>:<p>inet6 fe80::9005:95ac:b9c0:2beb/64 scope link noprefixroute</p>::<p>valid_lft forever preferred_lft forever</p><p>3: '''<span style="color:#FF0000">enP4p65s0</span>''': &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc mq state UP group default qlen 1000</p>:<p>link/ether 00:e0:4c:68:00:27 brd ff:ff:ff:ff:ff:ff</p>:<p>inet '''<span style="color:#FF0000">192.168.1.247</span>'''/24 brd 192.168.1.255 scope global dynamic noprefixroute enP4p65s0</p>::<p>valid_lft 43179sec preferred_lft 43179sec</p>:<p>inet6 fe80::62b5:dc5e:728e:39a3/64 scope link noprefixroute</p>::<p>valid_lft forever preferred_lft forever</p>|} {| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big><p>'''When using ifconfig to view the IP address, if the following information is prompted, it is because sudo is not added. The correct command is: sudo ifconfig'''</p></big> 
<p>orangepi@orangepi:~$ '''ifconfig'''</p>
<p>Command 'ifconfig' is available in the following places</p>
<p>The command could not be located because '/sbin:/usr/sbin' is not included in the PATH environment variable.</p>
<p>This is most likely caused by the lack of administrative privileges associated with your user account.</p>
<p>ifconfig: command not found</p></li></ol>|}
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''There are three ways to check the IP address after the development board starts:'''
# '''Connect the HDMI display, then log in to the system and use the ip addr show command to view the IP address'''
# '''If there is no debugging serial port and no HDMI display, you can also check the IP address of the development board's network port through the router's management interface. However, in this method, some people often cannot see the IP address of the development board normally. If you can't see it, the debug method looks like this:'''
<!-- -->
<ol style="list-style-type: upper-alpha;">
<li><p>'''First check whether the Linux system has started normally. If the three-color light on the development board is flashing, it is generally started normally. If only the red light is on, it means that the system has not started normally;'''</p></li>
<li><p>'''If there is no router to replace, you can only connect to an HDMI display or use the debugging serial port to check the IP address.'''</p>
<p>'''In addition, it should be noted that the development board DHCP automatically assigns an IP address without any settings.'''</p></li></ol>
</big>|}</li></ol>
<!-- -->
<ol start="4" style="list-style-type: decimal;">
<li><p>The command to test the network connectivity is as follows, the '''ping''' command can be interrupted through the shortcut key of '''Ctrl+C'''</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''ping www.baidu.com -I enP4p65s0 #Test command for one of the network ports'''</p>
<p>orangepi@orangepi:~$ '''ping www.baidu.com -I enP3p49s0 #Test command of another network port'''</p>
<p>--- www.a.shifen.com ping statistics ---</p>
<p>6 packets transmitted, 6 received, 0% packet loss, time 5008ms</p>
<p>rtt min/avg/max/mdev = 5.671/5.859/6.264/0.202 ms</p>|}</li></ol>
<span id="wifi-connection-test"></span>
 
=== WIFI connection test ===