Message on changing static IP address
This commit is contained in:
parent
8234215a24
commit
0c9863f2bd
|
@ -1369,6 +1369,12 @@ Enter a static local IP address for this system.\n\nIt will typically be 192.168
|
||||||
echo '# network 192.168.7.0' >> /etc/network/interfaces
|
echo '# network 192.168.7.0' >> /etc/network/interfaces
|
||||||
echo '# gateway 192.168.7.1' >> /etc/network/interfaces
|
echo '# gateway 192.168.7.1' >> /etc/network/interfaces
|
||||||
|
|
||||||
|
clear
|
||||||
|
echo ''
|
||||||
|
echo $'Restarting the network daemon.'
|
||||||
|
echo ''
|
||||||
|
echo $'If you logged in using the previous IP address then you may need to close this terminal and log in again on the new one.'
|
||||||
|
|
||||||
systemctl restart networking
|
systemctl restart networking
|
||||||
|
|
||||||
# see if the IP address has changed
|
# see if the IP address has changed
|
||||||
|
|
Loading…
Reference in New Issue