|
|
@@ -63,7 +63,7 @@ We will update the ***face enp1s0 inet dhcp***
|
|
|
|
section to look like this
|
|
|
|
section to look like this
|
|
|
|
|
|
|
|
|
|
|
|
Example of updated file
|
|
|
|
Example of updated file
|
|
|
|
|
|
|
|
```
|
|
|
|
# This file describes the network interfaces available on your system
|
|
|
|
# This file describes the network interfaces available on your system
|
|
|
|
# and how to activate them. For more information, see interfaces(5).
|
|
|
|
# and how to activate them. For more information, see interfaces(5).
|
|
|
|
|
|
|
|
|
|
|
@@ -82,6 +82,7 @@ iface enp1s0 inet static
|
|
|
|
dns-nameservers 192.168.50.254 8.8.8.8
|
|
|
|
dns-nameservers 192.168.50.254 8.8.8.8
|
|
|
|
# This is an autoconfigured IPv6 interface
|
|
|
|
# This is an autoconfigured IPv6 interface
|
|
|
|
iface enp1s0 inet6 auto
|
|
|
|
iface enp1s0 inet6 auto
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
After you have made this edit you can restart the service to get the new IP address
|
|
|
|
After you have made this edit you can restart the service to get the new IP address
|
|
|
|
|
|
|
|
|
|
|
@@ -124,3 +125,5 @@ sudo reboot
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
And when the machine comes back up, ssh using the newly statically assigned IP address.
|
|
|
|
And when the machine comes back up, ssh using the newly statically assigned IP address.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Update - Dont forget to updated the /etc/resolve.conf with your nameserver address
|
|
|
|