[avahi] Can't browse published services

Lennart Poettering lennart at poettering.net
Wed Jan 3 06:24:39 PST 2007


On Tue, 02.01.07 13:19, robert (robert at atlantico.com.br) wrote:

> Jan  2 07:06:09 linux-robert avahi-daemon[3342]: dbus-protocol.c: 
> interface=org.freedesktop.Avahi.Server, path=/, member=GetAPIVersion
> Jan  2 07:06:09 linux-robert avahi-daemon[3342]: dbus-protocol.c: 
> interface=org.freedesktop.Avahi.Server, path=/, member=GetState
> Jan  2 07:06:09 linux-robert avahi-daemon[3342]: dbus-protocol.c: 
> interface=org.freedesktop.Avahi.Server, path=/, member=EntryGroupNew
> Jan  2 07:06:09 linux-robert avahi-daemon[3342]: dbus-entry-group.c: 
> interface=org.freedesktop.Avahi.EntryGroup, path=/Client0/EntryGroup1, 
> member=GetState
> Jan  2 07:06:09 linux-robert avahi-daemon[3342]: dbus-entry-group.c: 
> interface=org.freedesktop.Avahi.EntryGroup, path=/Client0/EntryGroup1, 
> member=AddService
> Jan  2 07:06:09 linux-robert avahi-daemon[3342]: dbus-entry-group.c: 
> interface=org.freedesktop.Avahi.EntryGroup, path=/Client0/EntryGroup1, 
> member=Commit

That looks OK.

> > > That seems to be my event. I can't use avahi-browse to see the service
> > > though, nor zeroconf:/ in konqueror , nor a program called mdns-scan .
> > > I'm sure I'm just missing something simple. Any ideas ? Please advise
> > > what config info I can supply if needed.
> >
> > Please note that "avahi-browse -a" does not necessarily show all
> > services. If you specify the proper service type (i.e. something like
> > _ftp._tcp) it should show all matching services, however.
> 
> OK, I tried 'avahi-browse  _http._tcp' and 'avahi-browse  _ftp._tcp'  but no 
> luck. 

You're doing this on the local machine?

Do you have a firewall running, blocking port 5353?

Does "avahi-resolve yourhost.local" work? (Replace yourhost with your
local host name, of course)

Does "dig -p 5353 @224.0.0.251 yourhost.local" work?

Did Avahi detect a suitable network interface? You should look for
"New relevant interface eth0.IPv4 for mDNS" or similar in
syslog. Avahi doesn't really work if there's no network interface to send
data on. Avahi ignores non-ethernet interfaces, and those where
MULTICAST is disabled.

> > Does KPF spit out any error message on STDERR?
> 
> It gives me a dialog box saying 'success' on boot and also when adding adding 
> a service. I see no kpf errors in the standard places, but I'm still
> looking. 

A dialog box saying "success"? What's the point of such a dialog?

Lennart

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


More information about the avahi mailing list