[avahi] Name resolution problem

Lennart Poettering lennart at poettering.de
Wed Sep 7 06:11:26 PDT 2005


On Mon, 05.09.05 08:55, Ross Burton (ross at burtonini.com) wrote:

> Hi,
> 
> (Lennart will recognise this problem but I've more data so I'll send it
> to the list)
> 
> Currently I have a number of Intel-based desktops and laptops, and a
> PPC-based NAS device.  I've just compiled a stripped-down Avahi 0.2 (no
> GLib or Python) on the PPC but am seeing interesting behaviour.
> 
> I have to use --no-drop-root as the PPC has kernel 2.4 and with that
> version only root processes can bind() to netlink devices.  It would be
> good if Avahi could detect kernel 2.4 and drop root later.

Actually I run avahi in reflector mode on Linux 2.4.26 24/7 on my
router box (x86). (--disable-gtk --disable-dbus --disable-python
--disable-glib --disable-qt3 --disable-qt4) So its actually pretty
well tested on 2.4. I am suprised that it doesn't work for
you. (Privilige dropping works fine here as does name resolution) What
is your exact kernel version?

> $ avahi-browse  _workstation._tcp
> Browsing for services of type '_workstation._tcp' (Workstation) in domain 'local' on any.0 ...
> Found service 'melchett [00:07:40:fb:e9:ee]' of type '_workstation._tcp' (Workstation) in domain 'local' on eth1.2.
> Found service 'flashheart [00:04:23:7f:1a:40]' of type '_workstation._tcp' (Workstation) in domain 'local' on eth1.2.
> Service data for service 'flashheart [00:04:23:7f:1a:40]' of type '_workstation._tcp' (Workstation) in domain 'local' on eth1.2:
>         Host flashheart.local (192.168.10.106), port 9, TXT data: []
> Error: Timeout reached
> 
> The workstation name is being broadcast, but the name resolution isn't.
> I'm about to start hitting the network with ethereal, but I though I'd
> post now in case anyone has any good ideas.

This smells a bit like that multiple IP address on a single interface
issue Trent already mentioned. Did you set some kind of explicit mcast
route? 

Lennart

-- 
Lennart Poettering; lennart [at] poettering [dot] de
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.de/lennart/


More information about the avahi mailing list