stop autorun of networking services at startup Ubuntu 10.04

1

i am trying to disable the networking services from starting up automatically; i am thinking avahi-daemon, network-manager, and networking from the /etc/init.d/ folder; what do i do to keep them from running automatically? move them from /init.d/ ? then to where? and are there other networking services that i should be aware of? thanks

bboyreason

Posted 2010-08-22T02:47:10.953

Reputation: 11

Answers

1

You can remove the startup symlinks of these files using update-rc.d:

$ sudo update-rc.d -f NetworkManager remove
$ sudo update-rc.d -f networking remove
$ sudo update-rc.d -f avahi-daemon remove

this will stop these applications from running automatically on startup.

To re-add them later on, simply run:

$ sudo update-rc.d NetworkManager defaults
$ sudo update-rc.d networking defaults
$ sudo update-rc.d avahi-daemon detaults

John T

Posted 2010-08-22T02:47:10.953

Reputation: 149 037

thanks; tried to 'vote up' but apparently dont have the rep; need to read on the way this site works; – bboyreason – 2010-08-22T18:14:26.637

@bboy if this solution worked for you, you can simply check the answer as 'accepted' :) – John T – 2010-08-22T18:47:06.150