[avahi] Can;t get avahi to announce anything

Trent Lloyd lathiat at bur.st
Fri Oct 27 08:31:35 PDT 2006


Hi Keith,

Do you see *any* packets sent out by avahi at all? (e.g. if you do a
browse do you see packets go out? It's possible there
is a problem with the FreeBSD support there has been a few changes etc
and unfortunately its hard to track 100% cross platform ability.

I would appreciate it if you could go back a few versions and try it,
e.g. give 0.6.10, 0.6.5, 0.6.0 and 0.5 a test and let me know the first
you have success in (once you find that if you could then edge forward
until you find the release that broke it it would be double plus good)

Following that I'll see what I can do to try fix it for you.

Cheers,
Trent

On Fri, Oct 27, 2006 at 09:05:58AM -0400, Keith Mitchell wrote:
> Hi,
> 
> I've been trying to get avahi (0.6.14) up and running for the last 
> couple of days under FreeBSD 6.1 and have not had much success.  My 
> setup is a little unusual in that I am running an ethernet dot1q trunk 
> to my machine and have several logical vlan interfaces that I am trying 
> to get avahi to use.  The ifconfig for the main and logical interfaces 
> are as follows:
> 
> sk1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>        options=8<VLAN_MTU>
>        inet6 fe80::20c:41ff:fe1a:3c68%sk1 prefixlen 64 scopeid 0x2 
>        ether 00:0c:41:1a:3c:68
>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>        status: active
> vlan100: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        inet6 fe80::213:d4ff:fe5b:d7a%vlan100 prefixlen 64 scopeid 0x6 
>        inet 192.168.100.3 netmask 0xffffff00 broadcast 192.168.100.255
>        ether 00:0c:41:1a:3c:68
>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>        status: active
>        vlan: 100 parent interface: sk1
> vlan111: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
>        inet6 fe80::213:d4ff:fe5b:d7a%vlan111 prefixlen 64 scopeid 0x8 
>        inet 192.168.111.3 netmask 0xffffff00 broadcast 192.168.111.255
>        ether 00:0c:41:1a:3c:68
>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>        status: active
>        vlan: 111 parent interface: sk1
> vlan112: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        inet6 fe80::213:d4ff:fe5b:d7a%vlan112 prefixlen 64 scopeid 0x9 
>        inet 192.168.112.3 netmask 0xffffff00 broadcast 192.168.112.255
>        ether 00:0c:41:1a:3c:68
>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>        status: active
>        vlan: 112 parent interface: sk1
> vlan113: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        inet6 fe80::213:d4ff:fe5b:d7a%vlan113 prefixlen 64 scopeid 0xa 
>        inet 192.168.113.3 netmask 0xffffff00 broadcast 192.168.113.255
>        ether 00:0c:41:1a:3c:68
>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>        status: active
>        vlan: 113 parent interface: sk1
> vlan114: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        inet6 fe80::213:d4ff:fe5b:d7a%vlan114 prefixlen 64 scopeid 0xb 
>        inet 192.168.114.3 netmask 0xffffff00 broadcast 192.168.114.255
>        ether 00:0c:41:1a:3c:68
>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>        status: active
>        vlan: 114 parent interface: sk1
> vlan115: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>        inet6 fe80::213:d4ff:fe5b:d7a%vlan115 prefixlen 64 scopeid 0xc 
>        inet 192.168.115.3 netmask 0xffffff00 broadcast 192.168.115.255
>        ether 00:0c:41:1a:3c:68
>        media: Ethernet autoselect (1000baseTX <full-duplex>)
>        status: active
>        vlan: 115 parent interface: sk1
> 
> 
> Avahi starts up ok and does send out the multicast join on all of the 
> vlan interfaces as I would expect and acts like it is working from the 
> logs, but I never see it try to send any annoucnements out.  
> avahi-browse does see announcements from the macs on my network, but it 
> never sends out any announcements of its own.  I used tcpdump on both 
> this machine and a mac and both machines do see the 'igmp' messages but 
> not any actual mdns announcements from the FreeBSD machine running 
> avahi.  I do, however, see the mdns announcements from the mac.
> 
> Output from 'avaha-daemon --debug':
> 
> Found user 'avahi' (UID 558) and group 'avahi' (GID 558).
> Successfully dropped root privileges.
> avahi-daemon 0.6.14 starting up.
> WARNING: No NSS support for mDNS detected, consider installing nss-mdns!
> Loading service file /usr/local/etc/avahi/services/afp.service.
> Loading service file /usr/local/etc/avahi/services/sftp-ssh.service.
> Loading service file /usr/local/etc/avahi/services/ssh.service.
> New relevant interface vlan115.IPv4 for mDNS.
> Joining mDNS multicast group on interface vlan115.IPv4 with address 
> 192.168.115.3.
> New relevant interface vlan114.IPv4 for mDNS.
> Joining mDNS multicast group on interface vlan114.IPv4 with address 
> 192.168.114.3.
> New relevant interface vlan113.IPv4 for mDNS.
> Joining mDNS multicast group on interface vlan113.IPv4 with address 
> 192.168.113.3.
> New relevant interface vlan112.IPv4 for mDNS.
> Joining mDNS multicast group on interface vlan112.IPv4 with address 
> 192.168.112.3.
> New relevant interface vlan111.IPv4 for mDNS.
> Joining mDNS multicast group on interface vlan111.IPv4 with address 
> 192.168.111.3.
> New relevant interface vlan100.IPv4 for mDNS.
> Joining mDNS multicast group on interface vlan100.IPv4 with address 
> 192.168.100.3.
> Network interface enumeration completed.
> Server startup complete. Host name is inferno.local. Local service cookie 
> is 220508407.
> Service "Remote Terminal on inferno" 
> (/usr/local/etc/avahi/services/ssh.service) successfully established.
> Service "SFTP File Transfer on inferno" 
> (/usr/local/etc/avahi/services/sftp-ssh.service) successfully established.
> Service "AFP service on inferno" 
> (/usr/local/etc/avahi/services/afp.service) successfully established.
> 
> 
> My config:
> 
> [server]
> use-ipv4=yes
> use-ipv6=no
> enable-dbus=yes
> disallow-other-stacks=yes
> 
> [wide-area]
> enable-wide-area=yes
> 
> [publish]
> disable-publishing=no
> disable-user-service-publishing=no
> add-service-cookie=yes
> publish-addresses=yes
> publish-hinfo=yes
> publish-workstation=yes
> publish-domain=yes
> 
> [rlimits]
> rlimit-core=0
> rlimit-data=4194304
> rlimit-fsize=0
> rlimit-nofile=30
> rlimit-stack=4194304
> rlimit-nproc=3
> 
> 
> Anyone know what is wrong or what I could be doing wrong here?
> 
> Thanks.
> 
> -- 
> Keith Mitchell
> Email: kmitch at guru.org			PGP key available upon request
> 
> _______________________________________________
> avahi mailing list
> avahi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi

-- 
Trent Lloyd <lathiat at bur.st>
Bur.st Networking Inc.


More information about the avahi mailing list