What is the correct way to restart all network connections from Ubuntu Server? When I run "sudo /etc/init.d/networking restart" it tells me the command is deprecated because it may not enable again some interfaces.