I am trying to resolve intranet sites on my company network... What's the preferred way to reset the network interfaces after editing /etc/network/interfaces?
If I do:
sudo /etc/init.d/networking restart
It gives me:
Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service networking restart Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the stop(8) and then start(8) utilities, e.g. stop networking ; start networking. The restart(8) utility is also available. networking stop/waiting networking start/running
It also, very strangely, changes my whole desktop environment to something like what it must have looked like 10 years ago. All the icon textures change to look older and my hotkeys and other swag stop working.
So I tried the suggestion in the output after restarting the computer...
sudo service networking restart
And it changes my desktop environment again without actually resetting the network interfaces. Is there some other command that will actually make my changes to /etc/network/interfaces live and not mess up my desktop environment?