(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:
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:
3. Modify the "hosts:" line in /etc/nsswitch.conf to:
4. Add the short hostname (everything before the first period) to the localhost line in /etc/hosts.
That should do it.
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.