Date: Thu, 06 Jan 2005 03:46:17 +0000 From: jason henson <jason@ec.rr.com> To: freebsd-questions@freebsd.org Subject: Re: iTunes server SUCCESS!! Here are my notes Message-ID: <1104983177l.7234l.0l@BARTON> In-Reply-To: <56BC8436-5E81-11D9-AD10-000D93AD26C8@tntluoma.com> (from lists@tntluoma.com on Tue Jan 4 13:49:18 2005) References: <56BC8436-5E81-11D9-AD10-000D93AD26C8@tntluoma.com>
next in thread | previous in thread | raw e-mail | index | archive | help
You are welcome! The script seems to be a little dated. Entry 20041010 in /usr/src/UPDATING says you don't need KEYWORD: FreeBSD, and =20 I think there are some other updates to the format too. The old ones =20 will continue to be supported for now. On 01/04/05 13:49:18, Timothy Luoma wrote: >=20 > This outlines some extra steps I had to take to setup an iTunes =20 > server in FreeBSD 5.3 >=20 > I followed the instructions at =20 > http://home.introweb.nl/~dodger/itunesserver.html >=20 > There are a few notes (I suspect those instructions are a bit old/=20 > outdated in a few places): >=20 > ORIGINAL TEXT: > "Now you'll have to download Rendezvous.tar.gz from Apple. Go to =20 > http://www.opensource.apple.com/projects/rendezvous/source/Rendezvous.tar= .gz, =20 > register and download the file to the directory /usr/ports/distfiles. =20 > After doing this, go back to /usr/ports/net/rendezvous (if needed) =20 > and type:" >=20 > CORRECTION: > Rendezvous is now found at /usr/ports/net/p5-Net-Rendezvous >=20 > [Thanks to Jason Henson for pointing this out to me] >=20 >=20 > NEW #1: /usr/local/etc/rc.d/mDNSResponder.sh didn't exist, so I =20 > copied it from /usr/ports/net/mDNSResponder/files/mDNSResponder.sh. =20 > Then I had to manually edit the file. Mine now looks like this: >=20 > #!/bin/sh >=20 > # PROVIDE: mDNSResponder > # REQUIRE: NETWORKING > # KEYWORD: FreeBSD >=20 > . /etc/rc.subr >=20 > name=3DmDNSResponder > rcvar=3D`set_rcvar` >=20 > # CHANGE THIS to wherever it is installed > # It used to be installed to /usr/local/sbin/ > command=3D/usr/local/bin/mDNSResponder >=20 > # DON'T change this here. Change it in /etc/rc.conf > mDNSResponder_enable=3D${mDNSResponder_enable:-"NO"} >=20 > # OLD: These flags no longer seem to work (2005-01-04) > #mDNSResponder_flags=3D${mDNSResponder_flags:-"-b -n `/bin/hostname -=20 > s`"} >=20 > pidfile=3D"/var/run/mDNSResponder.pid" >=20 > load_rc_config $name > run_rc_command "$1" >=20 > #EOF >=20 >=20 > NEW #2: >=20 > I added these lines to /etc/rc.conf: >=20 > daapd_enable=3D"YES" > mDNSResponder_enable=3D"YES" >=20 >=20 > FYI: here are the config files as I have them >=20 > $ cat /usr/local/etc/mDNSResponder.conf > FreeBSD iTunes server > _daap._tcp. >=20 > 3689 >=20 > $ cat /usr/local/etc/daapd.conf > Port 3689 > ServerName daapd server > DBName FreeBSD iTunes server > Password > Root /usr/home/itunes > Cache > Timescan 2 > RescanInterval 0 >=20 >=20 > NOTE: I had to restart the FreeBSD system to get it to show up in =20 > iTunes. Doesn't seem like it ought to be necessary, but it was for =20 > me. >=20 > I think those were all the steps I had to take. >=20 > I hope this will help anyone else who is trying to do the same. >=20 > TjL >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-=20 > unsubscribe@freebsd.org" >=20 >=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1104983177l.7234l.0l>