User Manual Orange Pi Zero 3

  Features   |  Use   |    Linux     |  Linux SDK   |  Android   |  Android SRC   |

RU          EN  

Chapt 3. Instructions for use of Debian/Ubuntu Server and Xfce desktop system
Ñòðàíèöà:   25    26    27    28    29    30    31    32    33    34    35    36    37    38    39    40    41    42    43    44    45    46    47    48    49    50    51    52    53    54    55    56    57    58    59    60    61    62    63    64    65    66    67    68    69    70    71    72    73    74    75    76    77    78    79    80    81    82    83    84    85    86    87    88    89    90    91    92    93    94    95    96    97    98    99    100    101    102    103    104    105    106    107    108    109    110    111    112    113    114    115    116    117    118    119    120    121    122  


3.7.1. Ethernet port test

  • 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, without any other configuration

  • 3) The command to view the IP address in the Linux system of the development board is as follows: Please do not copy the following commands. For example, the network node name in debian12 is end0, and the following commands need to be changed to ip a s end0.

    orangepi@orangepi:~$ ip a s eth0
    

  • 3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 5e:ac:14:a5:93:b3 brd ff:ff:ff:ff:ff:ff

    inet 192.168.1.16/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0 valid_lft 259174sec preferred_lft 259174sec inet6 240e:3b7:3240:c3a0:e269:8305:dc08:135e/64 scope global dynamic noprefixroute valid_lft 259176sec preferred_lft 172776sec inet6 fe80::957d:bbbd:4928:3604/64 scope link noprefixroute valid_lft forever preferred_lft forever

  • 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 a s eth0 command to view the IP address

  • 2. Enter the ip a s eth0 command in the debugging serial terminal to view the IP address

  • 3. 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:

    A First check whether the Linux system has started normally. If the green light of the development board is flashing, it is generally started normally. If only the red light is on, or the red and green lights are not on, it means that the system has not started normally;

    B Check whether the network cable is plugged in tightly, or try another network cable;

    C Try another router (I have encountered many problems with the router, such as the router cannot assign the IP address normally, or the IP address has been assigned normally but cannot be seen in the router);

    D 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.

    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

    Please do not copy the following commands. For example, the network node name in debian12 is end0, and the following command needs to be changed to ping www.baidu.com -I end0.

    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.
    

  • 64 bytes from 14.215.177.38 ( 14.215.177.38): icmp_seq= 1 ttl=56 time=6.74 ms

  • 64 bytes from 14.215.177.38 ( 14.215.177.38): icmp_seq=2 ttl=56 time=6.80 ms

  • 64 bytes from 14.215.177.38 ( 14.215.177.38): icmp_seq=3 ttl=56 time=6.26 ms

  • 64 bytes from 14.215.177.38 ( 14.215.177.38): icmp_seq=4 ttl=56 time=7.27 ms ^C --- www.a.shifen.com ping statistics ---

  • 4 packets transmitted, 4 received, 0% packet loss, time 3002ms rtt min/avg/max/mdev = 6.260/6.770/7.275/0.373 ms

  •  <         > 


  • Ñòðàíèöà:   25    26    27    28    29    30    31    32    33    34    35    36    37    38    39    40    41    42    43    44    45    46    47    48    49    50    51    52    53    54    55    56    57    58    59    60    61    62    63    64    65    66    67    68    69    70    71    72    73    74    75    76    77    78    79    80    81    82    83    84    85    86    87    88    89    90    91    92    93    94    95    96    97    98    99    100    101    102    103    104    105    106    107    108    109    110    111    112    113    114    115    116    117    118    119    120    121    122