range Pi User Manual Copyright reserved by Shenzhen Xunlong Software Co., Ltd
125
displayed, it is because sudo is not added. The correct command is
:
sudo ifconfig
orangepi@orangepi:~$ ifconfig
Command 'ifconfig' is available in the following places
* /sbin/ifconfig
* /usr/sbin/ifconfig
The command could not be located because '/sbin:/usr/sbin' is not included in the PATH
environment variable.
This is most likely caused by the lack of administrative privileges associated with your
user account.
ifconfig: command not found
There are three ways to check the IP address after the development board
starts:
1. Connect the HDMI display, then log in to the system and use the ip addr show
eth0 command to view the IP address
2. Enter the ip addr show 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 blinking, it is generally started normally. If only the red
light is 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 view the IP address
In addition, it should be noted that the development board DHCP automatically