8,367
edits
Changes
→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                UUID                TYPE                DEVICE</p><p>Wired connection 1       c043c817-1156-3b72-a559-9a8cd642bf70        ethernet         enP3p49s0</p><p>Wired connection 2       6f74598a-ccc6-358b-be05-87eaf34df930        ethernet         enP4p65s0</p>|}</li>
<li><p>Then enter the following command, where</p>
<ol style="list-style-type: lower-alpha;">