Controller Based WLANs

HOME SHARING NOT WORKING EVEN AFTER ENABLING THE ITUNE SERVICE

by on ‎07-14-2014 04:09 PM

Question : HOME SHARING NOT WORKING EVEN AFTER ENABLING THE ITUNE SERVICE

 

Environment Information : All Airgroup Supported version

 

Symptoms : BRIEF DESCRIPTION ABOUT HOME SHARING

Home Sharing in iTunes lets you share your iTunes media libraries between up to five computers in your household. You can also use Home Sharing to play your iTunes content on your iOS devices and Apple TV (2nd generation) if they are connected to your home Wi-Fi network.

Home Sharing your iTunes libraries among your family computers.Home Sharing enables you to stream or transfer music, movies, TV shows, apps, and more among up to five authorized computers in your household. To do so, you will need to turn on home sharing on each computer using the same apple id. Once set up, all the libraries from these computers will show up in the Shared area of iTunes.With Home Sharing, you can stream music and video from one authorized computer to another, or drag music between computer libraries. You can also choose to have iTunes automatically import purchases you make on any of your Home Sharing computers to your own library. To do so, select the library and use the Settings button at the lower right of the iTunes window to select what you'd like copied.

Symptom
========
- You will not be able to see the computers under shared area of iTunes.

 

Cause : CONFIGURATION

USE THIS COMMAND TO CHECK IF ITUNES IS ENABLED


VHT-Cont) (config) #show airgroup status
 
USE THE FOLLOWING COMMAND TO ENABLE SERVICE

(VHT-Cont) (config) #airgroup service  itunes enable
 
USE THIS COMMAND TO KNOW THE LIST OF SERVICE ID UNDER THE SERVICE
 
(VHT-Cont) (config) #show airgroupservice
 
AirGroupService Details
-----------------------
Service     Description        Disallowed-Role  Disallowed-VLAN  ID
-------     -----------        ---------------  ---------------  --
airplay     AirPlay                                              _airplay._tcp
                                                                 _raop._tcp
                                                                 _appletv-v2._tcp
airprint    AirPrint                                             _ipp._tcp
                                                                 _pdl-datastream._tcp
                                                                 _printer._tcp
                                                                 _scanner._tcp
                                                                 _universal._sub._ipp._tcp
                                                                 _universal._sub._ipps._tcp
                                                                 _printer._sub._http._tcp
                                                                 _http._tcp
                                                                 _http-alt._tcp
                                                                 _ipp-tls._tcp
                                                                 _fax-ipp._tcp
                                                                 _riousbprint._tcp
                                                                 _cups._sub._ipp._tcp
                                                                 _cups._sub._fax-ipp._tcp
                                                                 _ica-networking._tcp
                                                                 _ptp._tcp
                                                                 _canon-bjnp1._tcp
                                                                 _ipps._tcp
                                                                 _ica-networking2._tcp

itunes      iTunes                                        _home-sharing._tcp  ( service id gets enabled when we enable the itune service)
                                                                 _apple-mobdev._tcp
                                                                 _daap._tcp
                                                                 _dacp._tcp


remotemgmt  Remote management                                    _ssh._tcp
                                                                 _sftp-ssh._tcp
                                                                 _ftp._tcp
                                                                 _telnet._tcp
                                                                 _rfb._tcp
                                                                 _net-assistant._tcp
 
 
AirGroupService Details
-----------------------
Service     Description         Disallowed-Role  Disallowed-VLAN  ID
-------     -----------         ---------------  ---------------  --
sharing     Sharing                                               _odisk._tcp
                                                                  _afpovertcp._tcp
                                                                  _xgrid._tcp
chat        Chat                                                  _presence._tcp
Chromecast  Chromecast                                            urn:dial-multiscreen-org:service:dial:1
                                                                  urn:dial-multiscreen-org:device:dial:1
DLNA Media  Media                                                 urn:schemas-upnp-org:device:MediaServer:1
                                                                  urn:schemas-upnp-org:device:MediaServer:2
                                                                  urn:schemas-upnp-org:device:MediaServer:3
                                                                  urn:schemas-upnp-org:device:MediaServer:4
                                                                  urn:schemas-upnp-org:device:MediaRenderer:1
                                                                  urn:schemas-upnp-org:device:MediaRenderer:2
                                                                  urn:schemas-upnp-org:device:MediaRenderer:3
                                                                  urn:schemas-upnp-org:device:MediaPlayer:1
DLNA Print  Print                                                 urn:schemas-upnp-org:device:Printer:1
                                                                  urn:schemas-upnp-org:service:PrintBasic:1
                                                                  urn:schemas-upnp-org:service:PrintEnhanced:1
allowall    Remaining-Services
i
itune
Num Services:12
Num Service-ID:49

 

 
TROUBLESHOOTING TO FIND THE CAUSE

Using the following commands and we found  home sharing service id been blocked  even after itunes is enabled .

Eg command output
================
(host) #show airgroup blocked-queries

AirGroup dropped Query IDs
--------------------------
Service ID #query-hits
---------- -----------
_smb._tcp 545
_adisk._tcp 545
_airport._tcp 545
_touch-remote._tcp 1102
_00000000-54ce-c0a7-a21f-369c70ae4de6._sub._home-sharing._tcp 1125
_00000000-54ce-c0a7-a21f-369c70ae4de6._sub._hs-dpap._tcp 906
6.d.8.7.7.9.e.f.f.f.3.f.0.4.2.1.0.0.0.0.0.0.0.0.0.0.0.0.0.8.e.f.ip6.arpa 2
_osxsvr._tcp 4


(VHT-Cont) (config) # show airgroup blocked-service-id
 
(host) #show airgroup blocked-service-id
AirGroup Blocked Service IDs
----------------------------
Origin Service ID #response -hits
------ ---------- --------------
2.2.2.254 _home-sharing._tcp  5
 
Num Blocked Service-ID:1

 

REASON

We were able to see lot of home sharing service id getting blocked even after enabling the itune service.For home sharing you can't create predefined services because  when home sharing is enabled, each device advertises a service with a random string..something like _00--xx-yy--zz._sub._home sharing._tcpso  and we can’t create predefined ACLs for this.

WORKAROUND

Have to enable allowall service along with the itunes.
 
TO ENABLE  ALLOW ALL SERVICE
 
(VHT-Cont) (config) #airgroup service  allowall enable

Comments

I'd love confirmation on this from Aruba.

 

We need to use Home Sharing but it doesn't work when just the iTunes service is enabled. I don't want to enable all services because weird stuff begins to happen.

 

 

Hi derbystar16,

 

home sharing would use generic mdns messages hence we would need allowall enabled.

 

Below is an example of log message generated (with mdns debugging enabled) with allowall disabled ::

 

Mar 4 11:56:41 :527000: |mdns| mdns_parse_query_packet 1772 mid _00000000-1c38-9a09-153c-446f79cb4ad7._sub._home-sharing._tcp.local dropped: service not present!

 

 

Hope this helps.

Search Airheads
Showing results for 
Search instead for 
Did you mean: 
Is this a frequent problem?

Request an official Aruba knowledge base article to be written by our experts.