Message on changing static IP address

This commit is contained in:
Bob Mottram 2016-10-19 12:48:15 +01:00
parent 8234215a24
commit 0c9863f2bd
1 changed files with 6 additions and 0 deletions

View File

@ -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 '# 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
# see if the IP address has changed