-1

I just configured dns-nameservers in /etc/network/interfaces.

To make it take effect instantly, I typed sudo service networking stop, the desktop seems to kill some processes, anyway the UI is down...

Then I switch to Ctrl+Alt+F1 and type sudo service networking start. It prompts that networking stop/waiting. I've tried several times and can't figure out what's the reason. Can anyone help me with this?

Thank you!

1 Answer 1

0

The commands to start, stop and restart network manager are

sudo service network-manager stop

sudo service network-manager start

sudo service network-manager restart

You set the dns-nameservers in network manager and not /etc/network/interfaces unless you are not using network manger because network manger will overwrite what is in /etc/network/interfaces.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .