<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
I went back and tried 0.6.10, 0.6.5, and 0.6 and saw the same thing
with all of them.&nbsp; So far I haven't had much luck with 0.5 since that
was before it went into the FreeBSD port system and its looking for
some older libs and such that I don't have installed.&nbsp; Is there
anything I can look at/debug that would help pinpoint where the problem
is?<br>
<br>
Thanks.<br>
<br>
Keith Mitchell wrote:
<blockquote cite="mid45422BE5.9070205@guru.org" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <br>
No, I never see anything go out even on a browse.&nbsp; The browse just
lists things as they are announced by the other system periodically.<br>
  <br>
Trent Lloyd wrote:
  <blockquote cite="mid20061027153135.GA13018@bur.st" type="cite">
    <pre wrap="">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:
  </pre>
    <blockquote type="cite">
      <pre wrap="">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&lt;UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST&gt; mtu 1500
       options=8&lt;VLAN_MTU&gt;
       inet6 fe80::20c:41ff:fe1a:3c68%sk1 prefixlen 64 scopeid 0x2 
       ether 00:0c:41:1a:3c:68
       media: Ethernet autoselect (1000baseTX &lt;full-duplex&gt;)
       status: active
vlan100: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; 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 &lt;full-duplex&gt;)
       status: active
       vlan: 100 parent interface: sk1
vlan111: flags=8943&lt;UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST&gt; 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 &lt;full-duplex&gt;)
       status: active
       vlan: 111 parent interface: sk1
vlan112: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; 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 &lt;full-duplex&gt;)
       status: active
       vlan: 112 parent interface: sk1
vlan113: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; 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 &lt;full-duplex&gt;)
       status: active
       vlan: 113 parent interface: sk1
vlan114: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; 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 &lt;full-duplex&gt;)
       status: active
       vlan: 114 parent interface: sk1
vlan115: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; 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 &lt;full-duplex&gt;)
       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: <a class="moz-txt-link-abbreviated" href="mailto:kmitch@guru.org">kmitch@guru.org</a>                        PGP key available upon request

_______________________________________________
avahi mailing list
<a class="moz-txt-link-abbreviated"
 href="mailto:avahi@lists.freedesktop.org">avahi@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext"
 href="http://lists.freedesktop.org/mailman/listinfo/avahi">http://lists.freedesktop.org/mailman/listinfo/avahi</a>
    </pre>
    </blockquote>
    <pre wrap=""><!---->
  </pre>
  </blockquote>
  <br>
  <br>
  <pre class="moz-signature" cols="72">-- 
Keith Mitchell
Email: <a class="moz-txt-link-abbreviated" href="mailto:kmitch@guru.org">kmitch@guru.org</a>                        PGP key available upon request
  </pre>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
avahi mailing list
<a class="moz-txt-link-abbreviated" href="mailto:avahi@lists.freedesktop.org">avahi@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/avahi">http://lists.freedesktop.org/mailman/listinfo/avahi</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Keith Mitchell
Email: <a class="moz-txt-link-abbreviated" href="mailto:kmitch@guru.org">kmitch@guru.org</a>                        PGP key available upon request
</pre>
</body>
</html>