Avahi/Zeroconf and the local domain: fix your router… November 11, 2008Posted by claudio in Uncategorized.
Tags: Hardware, network
I have a nice new Linksys WRT54GL router. A hackable router, nevertheless with the linksys firmware for now.
I noticed that the local domain for internal machines (provided by avahi) did not work any longer. If you don’t know what this is: you can connect to your local machines by their hostname in the local domain (e.g. brugge.local) instead of the ever changing IP. Poor’s man DNS.
It took a while to identify the router as the cause as I upgraded my machines to the new Ubuntu release around the same time I got the new router.
Anyway, the local domain space clashes with the router default setting, even when you leave the domain value empty(!). Just put “lan” in the domain field, save and forget about it:
claudio@brisbane:/var/log$ ping brugge.local
PING brugge.local (192.168.1.100) 56(84) bytes of data.
64 bytes from brugge.local (192.168.1.100): icmp_seq=1 ttl=64 time=1.39 ms
64 bytes from brugge.local (192.168.1.100): icmp_seq=2 ttl=64 time=0.982 ms
64 bytes from brugge.local (192.168.1.100): icmp_seq=3 ttl=64 time=1.19 ms