Open main menu

Wiki-Orange Pi β

Changes

Orange Pi 5 Plus

451 bytes added, 15:48, 6 June 2023
Use the nmcli command to set a static IP address
<li><p>If you want to set the static IP address of the network port, please insert the network cable into the development board first. '''If you need to set the static IP address of WIFI, please connect the WIFI first''', and then start to set the static IP address</p></li>
<li><p>Then use the '''nmcli con show''' command to view the name of the network device, as shown below, '''Wired connection 1''' and '''Wired connection 2''' are the names of the Ethernet interfaces</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>orangepi@orangepi:~$ '''nmcli con show'''</p>
<p>NAME &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp UUID &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp TYPE &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp DEVICE</p><p>Wired connection 1 &nbsp&nbsp&nbsp&nbsp&nbsp c043c817-1156-3b72-a559-9a8cd642bf70 &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp ethernet &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp enP3p49s0</p><p>Wired connection 2 &nbsp&nbsp&nbsp&nbsp&nbsp 6f74598a-ccc6-358b-be05-87eaf34df930 &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp ethernet &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp enP4p65s0</p>|}</li>
<li><p>Then enter the following command, where</p>
<ol style="list-style-type: lower-alpha;">