Hi All, By default, Squeezeboxserver uses a call to setsockopt that is not compatible with Solaris sockets. This results in UPnP servers not appearing in the My Music list on the squeezeboxserver homepage and the warning below in the server.log file:
[10-10-10 12:03:33.2968] Slim::Networking::Async::Socket::UDP::mcast_add (62) Error: While adding multicast membership, UPnP may not work properly: Option not supported by prot ocol [10-10-10 12:03:33.2981] Slim::Networking::Async::Socket::UDP::mcast_send (46) Error: While setting multicast TTL: Option not supported by protocol It's a bit of an ugly hack (and I'd be happy for anyone to come up with a better solution) but this can be worked around by following the instructions below: 1. Install the perl module IO::Socket::Multicast 2. Change the file Slim/Networking/UPnP/ControlPoint.pm with the changes below: -bash-3.00$ diff ControlPoint.pm ControlPoint.pm.7.5.1.orig 16d15 < use IO::Socket::Multicast; 66,69c65,68 < # $sock = Slim::Networking::Async::Socket::UDP->new( < # LocalPort => $Net::UPnP::SSDP_PORT, < # ReuseAddr => 1, < # ); --- > $sock = Slim::Networking::Async::Socket::UDP->new( > LocalPort => $Net::UPnP::SSDP_PORT, > ReuseAddr => 1, > ); 71,72d69 < $sock = IO::Socket::Multicast->new(Proto=>'udp',LocalPort=>$Net::UPnP::SSDP_PORT,ReuseAddr=>1); < $sock->mcast_add($Net::UPnP::SSDP_ADDR); 80c77 < #$sock->mcast_add( $mcast_addr ); --- > $sock->mcast_add( $mcast_addr ); Restart squeezeboxserver and away you go. Hope this helps any of the other Solaris users out there. -- odw199 ------------------------------------------------------------------------ odw199's Profile: http://forums.slimdevices.com/member.php?userid=15387 View this thread: http://forums.slimdevices.com/showthread.php?t=82582 _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix