Aggiorna README.md
This commit is contained in:
parent
119950a565
commit
72fb11d2a6
1 changed files with 8 additions and 8 deletions
16
README.md
16
README.md
|
@ -119,10 +119,10 @@ nmcli connection show
|
|||
dall'output si evince che la rete è ***Supervisor enP3p49s0***
|
||||
|
||||
```sh
|
||||
NAME UUID TYPE DEVICE
|
||||
Supervisor enP3p49s0 0111eaa1-5253-3749-ab37-68306880a309 ethernet enP3p49s0
|
||||
lo cbd10d14-2994-4875-9f30-78d1435b7da9 loopback lo
|
||||
Supervisor enP4p65s0 330c6b90-ab43-3eba-a849-a86908742d58 ethernet --
|
||||
NAME UUID TYPE DEVICE
|
||||
Wired connection 1 636841b5-1717-3d7f-a716-85af8427fca7 ethernet enP3p49s0
|
||||
lo 58fd2724-b6fc-495e-8283-90555a4094dc loopback lo
|
||||
Wired connection 2 aa564ace-25b4-3b71-ad88-68da035ec044 ethernet --
|
||||
```
|
||||
|
||||
si possono vedere i file di configurazioni delle reti anche con un list
|
||||
|
@ -132,13 +132,13 @@ ls /etc/NetworkManager/system-connections/
|
|||
|
||||
con output
|
||||
```sh
|
||||
'Supervisor enP3p49s0.nmconnection' 'Supervisor enP4p65s0.nmconnection'
|
||||
'Wired connection 1.nmconnection' 'Wired connection 2.nmconnection'
|
||||
```
|
||||
|
||||
il file lo si può editare o visualizzare con
|
||||
|
||||
```console
|
||||
sudo nano /etc/NetworkManager/system-connections/'Supervisor enP3p49s0.nmconnection'
|
||||
sudo nano /etc/NetworkManager/system-connections/'Wired connection 1.nmconnection'
|
||||
```
|
||||
|
||||
per modificare in IP statico con gateway and DNS usare
|
||||
|
@ -155,10 +155,10 @@ ipv4.dns "[PRIMARY_DNS_IP],[SECONDARY_DNS_IP]"
|
|||
quindi nel nostro caso
|
||||
|
||||
```sh
|
||||
sudo nmcli con mod "Supervisor enP3p49s0" ipv4.method manual ipv4.addresses 192.168.1.4/24 ipv4.gateway 192.168.1.1 ipv4.dns 8.8.8.8,8.8.4.4
|
||||
sudo nmcli con mod "Wired connection 1" ipv4.method manual ipv4.addresses 192.168.1.4/24 ipv4.gateway 192.168.1.1 ipv4.dns 8.8.8.8,8.8.4.4
|
||||
```
|
||||
|
||||
poi fare il rebbot di sistema
|
||||
poi fare il reboot di sistema
|
||||
|
||||
```sh
|
||||
sudo reboot now
|
||||
|
|
Loading…
Reference in a new issue