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

I have the services listed in the /etc/init.d folder starting with 'network':

cyrex@cyrex:/etc/init.d$ ls network*
networking                  network-interface-security
network-interface           network-manager

What does each of these do. For example which one is related to the gui version of network manager, which one will drop network support for all network cards.

share|improve this question
I hope I got all your questions covered but the 'etc...' is hard to answer ;) If you need more info please edit your q and I'll try to add in as much as I can. – Rinzwind Aug 13 '11 at 6:55
What package provides the file? dpkg -S to the rescue: dpkg -S /etc/init.d/network* – Lekensteyn Aug 13 '11 at 10:11
up vote 6 down vote accepted
  • What does each of these do?


#!/bin/sh -e
# Provides:          networking
# Required-Start:
# Required-Stop:     $local_fs
# Should-Start:      ifupdown
# Should-Stop:       ifupdown
# Default-Start:
# Default-Stop:      0 6
# Short-Description: Raise network interfaces.

Regarding the package ifupdown mentioned here: includes commandsifup and ifdown which may be used to (de)configure network interfaces (/etc/network/interfaces).

The other 3 are upstart deamons. From their respective .conf files in /etc/init/:


# network-interface-security - configure network device security
# This is a one-time start-up script to load AppArmor profiles needed
# before the network comes up.


# network-interface - configure network device
# This service causes network devices to be brought up or down as a result
# of hardware being added or removed, including that which isn't ordinarily
# removable.


# network-manager - network connection manager
# The Network Manager daemon manages the system's network connections,
# automatically switching between the best available.
  • For example which one is related to the gui version of network manager?

None of these. See the next answer.

  • Which one will drop network support for all network cards?

Initiating networking will do that but the command used will mostlikely be ifup --all and ifdown --all. From man ifup:

-a, --all

If given to ifup, affect all interfaces marked auto. 
Interfaces are brought up in the order in which they are defined in

If given to ifdown, affect all defined interfaces. 
Interfaces are brought down in the order in which they are currently 
listed in the state file. 
Only interfaces defined in /etc/network/interfaces will be brought down.
share|improve this answer
Very complete answer Rinzwind. Thank you. – Luis Alvarado Aug 13 '11 at 14:16

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.