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

Tom H tomh0665 at gmail.com
Mon Mar 14 09:03:53 UTC 2011


On Mon, Mar 14, 2011 at 1:29 AM, Tapas Mishra <mightydreams at gmail.com> wrote:
> On Mon, Mar 14, 2011 at 12:02 AM, Tapas Mishra <mightydreams at gmail.com> wrote:
>> On Mon, Mar 14, 2011 at 12:00 AM, Andreas Moog <amoog+uu at ubuntu.com> wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> On 03/13/2011 07:21 PM, Tapas Mishra wrote:
>>>
>>>> root at 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".




More information about the ubuntu-users mailing list