Tkil (tkil) wrote,
Tkil
tkil

  • 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 224.0.0.251 -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
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments