<span class="gmail_quote"></span>I have been trying to get avahi up and running on a laptop running
Debian/Linux but am not able to get it to see other devices on the
network. My aim is for rhythmbox to be able to see my iTunes shared
music on an XP machine (both are connected via a router). I have had
success with the XP machine seeing shared music on the Linux latop but
not the other way round (see thread at
<a href="http://mail.gnome.org/archives/rhythmbox-devel/2005-November/msg00056.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mail.gnome.org/archives/rhythmbox-devel/2005-November/msg00056.html
</a>
for background). When I run avahi-discover on the linux box I get the
following:<br>
<br>
Browsing domain 'local' on any.0 ...<br>
Browsing for services of type '_daap._tcp' (iTunes Audio Access) in domain 'local' on wlan0.2 ...<br>
Browsing for services of type '_workstation._tcp' (Workstation) in domain 'local' on wlan0.2 ...<br>
Found service 'laptop' of type '_daap._tcp' (iTunes Audio Access) in domain 'local' on wlan0.2.<br>
Found service 'bunkerbay [00:12:17:bd:78:00]' of type '_workstation._tcp' (Workstation) in domain 'local' on wlan0.2.<br>
Service data for service 'laptop' of type '_daap._tcp' (iTunes Audio Access) in domain 'local' on wlan0.2:<br>
Host bunkerbay.local
(<a href="http://192.168.1.67" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.67</a>), port 3689, TXT data:
['org.freedesktop.Avahi.cookie=3578020801']<br>
Service data for service 'bunkerbay [00:12:17:bd:78:00]' of type '_workstation._tcp' (Workstation) in domain 'local' on wlan0.2:<br>
Host bunkerbay.local
(<a href="http://192.168.1.67" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.67</a>), port 9, TXT data:
['org.freedesktop.Avahi.cookie=3578020801']<br>
<br>
where <a href="http://192.168.1.67" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.67</a> is the ip address of the linux boxso there is no mention of the XP machine. This is while the
XP machine is on and running iTunes with sharing enabled. The XP
machine can see and play music from the laptop. Running tcpdump on the
laptop produces output like:<br>
<br>
bunkerbay:/home/bdalton# tcpdump ip multicast<br>
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode<br>
listening on wlan0, link-type EN10MB (Ethernet), capture size 96 bytes<br>
21:36:04.710307 IP 192.168.1.67.5353 > 224.0.0.251.5353: 0 [4a] [5q] PTR? _serv ices._dns-sd._udp.local.[|domain]<br>
21:36:04.855618 IP 192.168.1.67.5353 > 224.0.0.251.5353: 0*- [0q] 2/0/0[|domain ]<br>
21:36:04.809693 IP 192.168.1.67.5353 > 224.0.0.251.5353: 0 [1a] [2q] A? bunkerb ay.local. AAAA? bunkerbay.local. (55)<br>
21:36:05.708670 IP 192.168.1.67.5353 > 224.0.0.251.5353: 0 [3a] [3q] PTR? _serv ices._dns-sd._udp.local.[|domain]<br>
21:36:07.736383 IP 192.168.1.67.5353 > 224.0.0.251.5353: 0 [3a] [3q] PTR? _serv ices._dns-sd._udp.local.[|domain]<br>
21:36:11.737762 IP 192.168.1.67.5353 > 224.0.0.251.5353: 0 [3a] [3q] PTR? _serv ices._dns-sd._udp.local.[|domain]<br>
21:36:19.738516 IP 192.168.1.67.5353 > 224.0.0.251.5353: 0 [3a] [3q] PTR? _serv ices._dns-sd._udp.local.[|domain]<br>
21:36:35.741096 IP 192.168.1.67.5353 > 224.0.0.251.5353: 0 [3a] [3q] PTR? _serv ices._dns-sd._udp.local.[|domain]<br>
<br>
all the packets seem to originate from the laptop (<a href="http://192.168.1.67" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.67</a>) and
there is no log of packets coming from the XP machine (<a href="http://192.1.67.64" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.1.67.64</a>).<br>
<br>
My ifconfig looks like:<br>
bunkerbay:/home/bdalton# ifconfig -a<br>
lo Link encap:Local Loopback<br>
inet addr:<a href="http://127.0.0.1" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1</a> Mask:<a href="http://255.0.0.0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
255.0.0.0</a><br>
inet6 addr: ::1/128 Scope:Host<br>
UP LOOPBACK RUNNING MTU:16436 Metric:1<br>
RX packets:30978 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:30978 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0<br>
RX bytes:4235300 (4.0 MiB) TX bytes:4235300 (4.0 MiB)<br>
<br>
sit0 Link encap:IPv6-in-IPv4<br>
NOARP MTU:1480 Metric:1<br>
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0<br>
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)<br>
<br>
wlan0 Link encap:Ethernet HWaddr 00:12:17:BD:78:00<br>
inet addr:<a href="http://192.168.1.67" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.1.67</a> Bcast:<a href="http://192.168.1.255" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
192.168.1.255</a> Mask:<a href="http://255.255.255.0" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">255.255.255.0</a><br>
inet6 addr: fe80::212:17ff:febd:7800/64 Scope:Link<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:888 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:998 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:1000<br>
RX bytes:370049 (361.3 KiB) TX bytes:446509 (436.0 KiB)<br>
Memory:22000000-22001fff<br>
<br>
Anyone have any idea about what might be wrong or how I can diagnose further?<br>
Thanks<br>
Barney<br>
<br>
p.s.<br>
Version info:<br>
bunkerbay:/home/bdalton# avahi-daemon -V<br>
avahi-daemon 0.5.2<br>
bunkerbay:/home/bdalton# uname -a<br>
Linux bunkerbay 2.6.14-1-686 #1 Tue Nov 1 15:51:43 JST 2005 i686 GNU/Linux<br>
<br>
<br>