Monday, November 9, 2009

Ubuntu 9.10 / Putty and Networking restart FAIL

I have changed the eth1 network adapter to static by editing the /etc/network/interfaces file.
When i am trying to restart the networking service it does not work. Trying with two commands but still it's failing. I need to check this out. It worked well in 9.4 but seems to be something weird with it in 9.10. When i am trying the service networking restart command i get a message
restart: Unknown instance

After a while i lost connection to the machine. I could not reconnect or ping to it so i had to connect a screen and keyboard to it. Now when i pulled the plug to the machine and rebooted it that way it had changed IP. Its most likely cause i saved the /etc/network/interfaces file to get the right IP i wanted. And that file is loaded in the start of ubuntu.
However i tried the /etc/init.d/networking restart command and it worked here. but the
service networking restart command did not work.

Seems pretty weird that the shortcut command does not work. Have they removed it? I loved that command

No comments:

Post a Comment