Re: service utility with Ubuntu 10.04 does not work properly when used to restart network



On Mon, Mar 14, 2011 at 1:29 AM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
On Mon, Mar 14, 2011 at 12:02 AM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
On Mon, Mar 14, 2011 at 12:00 AM, Andreas Moog <amoog+uu@xxxxxxxxxx> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/13/2011 07:21 PM, Tapas Mishra wrote:

root@tapas:~# service networking restart
restart: Unknown instance:
[...]
/etc/init.d/networking stop
  * Deconfiguring network interfaces...       Ignoring unknown
interface eth1=eth1.

It does not work and neither does it start.Is it ia problem with Ubuntu 10.04
that service utility does not work properly?

No, it's a problem with your interface configuration.

Ok I checked
/etc/network/interfaces

auto lo
iface lo inet loopback

only above lines are there.

It appears the Network Manager Gnome does not lets you function properly.
http://osdir.com/ml/ubuntu-users/2009-11/msg03490.html

"Properly" doesn't make sense!

When you want to restart smbd, do you restart nfsd and expect smbd to
have been restarted?!

If you're using NM and want to restart the network service, use
"/etc/init/network-manager.conf".

If you're using "/etc/network/interfaces" and want to restart the
network service, use "/etc/init/networking.conf".

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users