How to stop avahi-daemon
12,000
sudo update-rc.d -f avahi-daemon remove
Related videos on Youtube
Author by
Michael Mrozek
Updated on September 17, 2022Comments
-
Michael Mrozek over 1 year
I'm trying to disable
avahi-daemon
. I tried to modify the file/etc/default/avahi-daemon
, setting theAVAHI_DAEMON_DETECT_LOCAL=0
instead of1
, but when I connect to a network it starts anyway; is there no way to stop it?I am trying to stop it because every time I connect to a network it and
dhclient
starts it gives my NIC another address so I cannot access the network. I'm on a Debian machine.-
Gilles 'SO- stop being evil' over 13 yearsThe avahi dae/etc/resolvconf/update-libc.d/avahi-daemonmon can be started by
/etc/network/if-up.d/avahi-daemon
and ``, but this too is disabled if you haveAVAHI_DAEMON_DETECT_LOCAL=0
in/etc/default/avahi-daemon
. What version of theavahi-daemon
package do you have? What is the full contents of/etc/default/avahi-daemon
?
-
-
Bernardo Oliveira over 13 yearsso you are saying that the file /etc/default/avhi-daemon is useless? in debian there is no rc.conf file :(
-
Admin over 13 yearshi, and if i want to enable it again?
-
Admin over 13 yearssudo update-rc.d avahi-daemon defaults
-
ismail over 13 years
rcconf
is a program :) And the default file is for changing the behaviour ofavahi-daemon
not to stop it. -
Bernardo Oliveira over 13 yearsah ok I got it! I don't have that program so I have to change the behavior.. Cheers! I m going to try it
-
Admin over 13 yearscheers! I m going to try it