Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

restart the network service:

service networking restart

When I give the above command I get something like

stop: Unknown instance:
networking stop/waiting

I would like to know if the network services has restarted or is it showing some errors. if it is an error how to rectify it?

share|improve this question

After editing /etc/network/interfaces, the usual way to get the system to re-read the file and use the changes is to do:

sudo ifdown wlan0 && sudo ifup wlan0

Of course, substitute the relevant interface if it's not wlan0.

I assume Network Manager is not present on this system. If it is, you are better off to make your changes there rather than /etc/network/interfaces.

share|improve this answer
If within a local network managed by a firewall like shorewall, then most likely your network cards, eth0 and eth1, will have internal ip addresses, so will look something like: sudo ifdown eth0 && sudo ifup eth0 – JohnMerlino Jul 14 '14 at 22:32
NetworkManager isn't always could help. I.e. for unknown reasons my NetworkManager just ignores even a network existence(a network doesn't react on any change in the NetworkManager). Also I had a negative experience with NetworkManager in the fact that if a network was broken(relatively often thing in the case of my ISP), it doesn't even tell a reason. When I am configure manually I at least know that I can peek at a log file. – Hi-Angel Aug 31 '14 at 7:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.