Disabling the Avahi daemon

Last update on October 23, 2008 07:00 AM by netty5
Published by netty5

Disabling the Avahi daemon


The Avahi daemon is present as default and wiill automatically discovers network resources and get connected to it .

Avahi functions:

Assign an IP address automatically even without the presence of a DHCP server.

Act as DNS (each machine is accessible by the name nameMachine.local).

Publish services and facilitates access to these services (the local network machines are warned of the pening and closing up a service, facilitating the sharing of files, printers, etc..

Avahi is an implementation of Zeroconf protocol compatible with Apple services.

Constraints when using Avahi :

It use some memory (about 248 kb).

It opens 2 network ports (UDP 32768 and 5353).

It has been reported in some cases to decrease network performance.

Ubuntu 7.04


If there is no use for Avahi and you want to disable,
even if you uncheck in the list of services System Menu /Administration/ Services, it will continue to start!

To disable it, you must edit the file /etc/default/ avahi-daemon as root:
sudo gedit /etc/default/avahi-daemon
Change the line: AVAHI_DAEMON_START = 1
to: AVAHI_DAEMON_START = 0

Reboot your system and the problem should be solve.
Note that:
The command sudo update-rc.d-f avahi-daemon remove is not enough to disable the Avahi.

Ubuntu 7.10


Go to the following list of services to disable Avahi:
System Menu /Administration/ Services

Under Debian systems



The name of daemon may be different but the method remain the same for Debian-based systems

sudo update-rc.d -f avahi-daemon remove


To recreate the used links

sudo update-rc.d avahi-daemon defaults
Best answers for « Disabling the Avahi daemon » in :
Disabling the Avahi daemon Show Disabling the Avahi daemon Ubuntu 7.04 Ubuntu 7.10,8.04 and 8.10 Other Debian systems and derivatives Links Avahi is a daemon that allows you to automatically discover network resources and to connect to it. Avahi deals with...
[Mandriva]Disable services Show [Mandriva]Disable services If you have opt to use Madriva 2008 , after its installation , in view to boost up system startup safely, there are some application that can be switched off. To enable this, Go to Mandriva Control Center >...
Download Daemon Tools Show Daemon Tools Lite is a reader's emulator of CD / DVD, that means a tool which is capable of creating a CD reader or a DVD virtual reader from an ISO image. Thanks to this tool, it is not necessary any more to have one’s CD / DVD under the hand...
Enable/disable a device from the command line ShowEnable/disable a device from the command line Install Devcon Display all the devices in the system Enable/disable the device Other devices Here is a trick that allows you to enable / disable a device from the command line in XP....
Enabling/Disabling the firewall using command line ShowEnabling/Disabling the firewall using command line Disable Windows XP firewall Enable the Windows XP firewall Under Windows XP SP2, it is possible to enable/ disable the firewall with the following command lines: Disable Windows XP...
Disable / Enable the TouchPad ShowDisable / Enable the TouchPad On laptops, sometimes your TouchPad is disabled for no apparent reason. To reactivate it, first try restarting your PC. If there’s no good change just try: We need the software driver and your mouse are...
Download Remote Shutdown Daemon ShowWhen to manage you several computer on the same network, it is not very easy to have to put out all posts, therefore move. Remote Shutdown Daemon and customer is a method allowing to put out one or computers across LAN or via Internet. To be...