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.4. How to set static IP address Please do not set a static IP address by modifying the /etc/network/interfaces configuration file. 3.7.4.1 Use the nmtui command to set a static IP address
Img 3.57
Img 3.58
Img 3.59
Img 3.60
Img 3.61
Img 3.62
Img 3.63
Img 3.64
Img 3.65
Img 3.66
Img 3.67
Img 3.68
Img 3.69
Img 3.70
Img 3.71 Img 3.72
Note that in the following commands, Debian12 needs to change eth0 to end0.
Note that in the following commands, Debian12 needs to change eth0 to end0. 3.7.4.2 Use the nmcli command to set a static IP address
a. orangepi is the name of the WIFI network interface (the name is not necessarily the same)
b. Wired connection 1 is the name of the Ethernet interface
a. "Wired connection 1" means to set the static IP address of the Ethernet port. If you need to set the static IP address of the WIFI, please modify it to the corresponding name of the WIFI network interface (you can get it through the nmcli conshow command)
b. ipv4.addresses is followed by the static IP address to be set, which can be modified to the value you want to set
c. ipv4.gateway represents the address of the gateway
Страница: 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 |