Tkil (tkil) wrote,

  • Location:
  • Mood:
  • Music:

enabling zero-conf (a.k.a. bonjour / rendezvous) in fedora 11

(Yes, these entries are generally intended to remind me of stupid things so I don't keep having to rediscover them. Sorry.)

1. Install necessary packages:
sudo yum install avahi nss-mdns

2. Update firewall to allow avahi traffic; I used the firewall configuration tool to do this, but it basically adds the following ACCEPT rule to /etc/sysconfig/iptables:
-A INPUT -m state --state NEW -m udp -p udp --dport 5353 -d -j ACCEPT

3. Modify the "hosts:" line in /etc/nsswitch.conf to:
hosts:      files mdns4_minimal [NOTFOUND=return] dns

4. Add the short hostname (everything before the first period) to the localhost line in /etc/hosts.

That should do it.
Tags: computers, linux
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded