January 16th, 2007

  • evan

avahi in ubuntu edgy

We now have a couch so I brought my laptop into the living room. But as soon as I tried to ssh to my workstation I discovered avahi (zeroconf) was mysteriously broken. Some digging reveals: due to Ubuntu's "no open ports by default" policy, avahi is disabled by default. There has since been some discussion about revising the policy, but in the interim you have to run sudo /usr/share/enable_avahi 1 to enable it.

Then you can avahi-browse -a to see local machines, and ssh foo.local (requires libnss-mdns to hook mdns into the resolver library; not sure if that's included by default) to get to local machines.