It would be very nice if an iTunes server was part of TomatoUSB. Maybe based on mt-daapd ?
Date: 24 Aug 2010 17:48
Number of posts: 27
RSS: New posts
Get Optware on it, you can get the mt-daapd package on it (Should be easy… I think?).
I say this only because I was looking at Optware earlier, saw your post while I was requesting something else & asking a q.
Tomato Interface to mt-daapd might be cool, however, why recreate the wheel?
Thanks ddggttff3 - I would love a tutorial of how to install the iTunes server capability. I've seen some links to mt-daapd and references to Firefly Media Server but as a relative n00b it is intimidating. For me just getting Tomato USB on my RT-N16 and turning my old Buffalo router into a DD-WRT bridge were huge steps, and I couldn't have done either without step-by-step instructions.
1. TomatoUSB running on the Router
2. USB Port(s) on the router
3. Optware Installed on a Jump Drive / Hard Drive and plugged into the router through USB
4. Your music put on a Flash Drive / Hard Drive and plugged into the router through USB
1. Telnet into the router. To do this, open a Command Prompt (Windows) or Terminal (Mac/Linux) then type "telnet 192.168.1.1". replace the 192.168.1.1 if you router is using a different IP address.
2. Enter the username "root" and password when prompted. The password is the same as the one used to login to the router GUI.
3. Enter "ipkg update" and let it update, then enter "ipkg install mt-daapd". If it asks for confirmation, enter "Y" and press enter.
4. After it is installed, you need to configure the daemon. go to /opt/etc/mt-daapd and edit mt-daapd.conf with your information such as your music's location, and login for the daemon's web GUI.
5. Go to the routers GUI, USB, then add the following to after mount:"/opt/etc/init.d/S60mt-daapd" and the following to before unmount:"killall mt-daapd"
6. Tada. to edit the daemon over web GUI, you can access it from 192.168.1.1:3689
Thanks ddggttff3! A few things I discovered going through the process:
1) In the mt-daapd.conf file I had to change "run as" to "root"
2) I also had to change the S60mt-daapd script as described here: the http://wl500g.info/showpost.php?p=21462&postcount=8
3) I shouldn't edit Linux config files in anything other than vi
Until I did 1 and 2 I was getting these lines in my log file:
Jan 18 21:37:39 RT-N16 daemon.notice mt-daapd: Starting rendezvous daemon
Jan 18 21:37:39 RT-N16 daemon.notice mt-daapd: Error in drop_privs: Success
Jan 18 21:37:39 RT-N16 daemon.info mt-daapd: Aborting
Not sure why that is. The drive I am using was formatted in Gparted and then used with the stock Asus RT-N16 firmware for a week or so. I didn't go through the recommended reformat mentioned in the optware install tutorials (didn't want to copy all the data back).
Anyway, thanks again for your help!
"Run as" as "nobody" should also work, provided the target music files and directories are world-readable.
My Tomato utilities site: http://multics.minidns.net/blog/articles/tomato_utilities