Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2008 14:44:55 -0400
From:      "Joe Dunn" <me@joedunn.com>
To:        "=?UTF-8?Q?Ashish_Shukl?= =?UTF-8?Q?a_=E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7?= =?UTF-8?Q?_=E0=A4=B6=E0=A5=81=E0=A4=95=E0=A5=8D=E0=A4=B2?=" <wahjava.ml@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: New to FreeBSD issues with multicast DNS.
Message-ID:  <c61bd13c0804181144q59925218y660e54aa3e1f18b0@mail.gmail.com>
In-Reply-To: <87zlrrceay.fsf@chateau.d.lf>
References:  <c61bd13c0804171957g1f84e903kaca343377ac1de84@mail.gmail.com> <87zlrrceay.fsf@chateau.d.lf>

index | next in thread | previous in thread | raw e-mail

>>>>> Joe Dunn writes:
>    Joe> Hi All,
>
>    Joe> I'm new to FreeBSD, but I am running into an issue I can't seem to
> solve
>    Joe> after a few days.
>
>    Joe> I have a FreeBSD 7.0 amd64 set up. I installed mt-daapd/avahi from
> ports.
>    Joe> For some reason, I can see the share on the fileserver but not on
> the
>    Joe> network. Its like everything just stops when it get to the em0
> (interface
>    Joe> plugged into the switch).
>
>    Joe> I can browse multicast dns locally as seen below
>
>    Joe> [root@freebsd /usr/ports]# avahi-browse _daap._tcp
>    Joe> + em0 IPv4 freebsd _daap._tcp local
>
> I didn't use Mac. I've a FreeBSD 7.0-RELEASE (amd64) + Ubuntu Linux
> 8.04 (development/amd64) network at my place.
>
> How about doing host name resolution over mDNS using
> avahi-resolve-host-name or similar utility in your Mac ? Also, start a
> tcpdump on em0 at FreeBSD end, to see if it receives any mDNS request ?


>>> [root@freebsd /home/jdunn]# less daap_dump.txt |grep mdns
>>> 14:21:29.796764 IP freebsd.mdns > 224.0.0.251.mdns: 0 [2a] PTR (QM)?
_daap._tcp.local. (96)
>>> 14:21:30.798656 IP freebsd.mdns > 224.0.0.251.mdns: 0 [2a] PTR (QM)?
_daap._tcp.local. (96)
>>> 14:21:32.800467 IP freebsdt.mdns > 224.0.0.251.mdns: 0 [2a] PTR (QM)?
_daap._tcp.local. (96)

>>> From my mac the only mulitcast traffic my mac see's is from my airport
extreme with a USB harddrive attached

>>> 14:41:47.728675 IP 192.168.1.1.afpovertcp > 192.168.1.194.51494: F
123:123(0) ack 123 win 34816 <nop,nop,timestamp 9 402020814>


>
>
> It also works, when any Windows box running Bonjour service, joins the
> network.
>
>
> [snip]
>
>    Joe> mbp:~ jdunn$ mDNS -B _daap._tcp
>    Joe> Browsing for _daap._tcp
>    Joe> Talking to DNS SD Daemon at Mach port 4099
>
>
>    Joe> If i have itunes running on either of my macs it shows up during
> this
>    Joe> request.
>
> > >Does you iTunes also show up on FreeBSD end, hmm..?
>

>>> Sure does, see below

>>> [root@freebsd /home/jdunn]# avahi-browse _daap._tcp
>> >+  em0 IPv4 Macbookpro?s Music_PW
_daap._tcp           local
>>> +  em0 IPv4 freebsd
_daap._tcp           local



> HTH
> --
> Ashish Shukla आशीष शुक्ल
> http://wahjava.wordpress.com/
> ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
>

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c61bd13c0804181144q59925218y660e54aa3e1f18b0>