?

Log in

No account? Create an account
enabling zero-conf (a.k.a. bonjour / rendezvous) in fedora 11 - Tkil [entries|archive|friends|userinfo]
Tkil

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

enabling zero-conf (a.k.a. bonjour / rendezvous) in fedora 11 [Nov. 1st, 2009|10:50 pm]
Tkil
[Tags|, ]
[Current Location |home]
[mood |tiredtired]
[music |Shamen - Axis Mutatis - Axis Mundi]

(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.
linkReply