Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi there,
first of all, cool site. Lets me really use my dsm-g600 more. Thanks!
I tried running the mt-daapd from the untested section:
howto:
download mt-daapd from its site, because the binariers here are missing the conf file and the admin-root directory
copy everything onto your hd:
You will need to put something like this in your fun_plug:
mkdir -p /var/cache/mt-daapd
cp /mnt/HD_a2/mt-daapd/libgdbm.so.3 /lib/
cp /mnt/HD_a2/mt-daapd/libid3tag.so.0 /lib/
/mnt/HD_a2/mt-daapd/mt-daapd -c /mnt/HD_a2/mt-daapd/mt-daapd.conf
this "should" theoretically work, however it gives me this message:
Can't modify /usr/lib/libid3tag.so.0's text section. Use GCC option -fPIC for shared objects, please.
so could (however provided mt-daapd) please recompile libid3tag with the -fpic option? That would be so coool....
thanks
Max
Offline
I look into it tomorrow
Instead of copying, you need to symlink .so files into /lib. I did try to compile static binary but lots of nasty errors happened.
Offline
sounds promising, did anyone get this working?
Offline
I did try to recompile but no help, I still get "Can't modify /usr/lib/libid3tag.so.0's text section. Use GCC option -fPIC for shared objects, please." error.
Offline
Hello Any hopes for this project? Would be very awesome to have a portable itunes server
Offline
I have just been able to compile mt-daapd, thanks gentoo now running on my system. I've sent the compiled version to sala, so i hope it'll show up soon. It contains the admin pages and my config file.
My setup assumes mt-daapd is on HD_a2 in mt-daapd, the music is on HD_a2 in Music. Modify everything if needed.
Then put this in your fun_plug:
---
mkdir -p /mnt/HD_a2/mt-daapd/cache
ln -s /mnt/HD_a2/mt-daapd/libz.so.1 /lib/
ln -s /mnt/HD_a2/mt-daapd/libgdbm.so.3 /lib/
ln -s /mnt/HD_a2/mt-daapd/libid3tag.so.0 /lib/
/mnt/HD_a2/mt-daapd/mt-daapd -c /mnt/HD_a2/mt-daapd/mt-daapd.conf
---
The server starts and I can access the webpage. However, I was not able to see the music from iTunes (7.0.1 on OS X), which defeats the purpose. But its a step in the right direction!
Max
Offline
Thanks, nice work!
Maybe we also can make a static binary.
http://dns323.kood.org/downloads/mt-daapd-0.2.4.tar.bz2
Offline
Unfortunately I still do not see it in my iTunes.
I've also tried compiling version svn-1376 (not submitted, I will if someone want to try it), same problem.
I've tried enabling multicast:
---
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
echo 1 > /proc/sys/net/ipv4/ip_forward
---
still no luck
Maybe someone else has an idea?
Max
Offline
Multicast should be enabled since the internal upnp works with it.
Can you post the newer version? I will try it and look whether it works with my Roku Soundbridge.
Offline
Works pretty well for me so far.. Moving my music collection over, then I"ll see if my songs appear.. But loading and whatnot went pretty smoothly. Thank you guys for putting the time and effort into getting this functional
Offline
This one works very smoothly! A very nice job guys! My new G600 is my new traveling itunes server. The only thing that would be complete is to have someone connect to this thing wirelessly and obtain an IP address, therefor allowing them to surf my music collection as long as they were within range
But Thank you again for reviving this project!
Last edited by idiotboy (2006-10-18 01:42:10)
Offline
Max, are you able to add the plugins for rsp? They are necessary for Roku Soundbriges and would be highly apreciated ;-)
http://www.rokulabs.com/forums/viewtopi … p;start=15 for instructions (but since I am a gentoo no-doer Iīm lost)
Last edited by Grouper (2006-10-18 23:28:21)
Offline
Something a little odd.. The mt-daapd runs fine on my box for like an hour or so (usually varies) but then all of a sudden... pop.. it's gone. I can still access the web interface, but it dissappears from itunes on all my computers, like the server crashes or something. Any ideas or similar problems you guys have?
Oh.. and does Firefly do the same thing as mtdaapd with itunes? SHould I be looking at that server instead?
Offline
I think this is the issue
----
Issues
It may be important to ensure the interface you want to advertise the daapd server on is in promiscuous mode. If your server either doesn't show up in iTunes, disappears after a period of time or take a long time to appear, try putting the interface in promiscuous mode. You can find out if its promiscuous using /sbin/ifconfig - see something like this:
Code: /sbin/ifconfig output
eth0 Link encap:Ethernet HWaddr 01:23:45:67:89:ab
inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:23515 errors:0 dropped:0 overruns:0 frame:0
TX packets:9839 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:3778586 (3.6 Mb) TX bytes:1569537 (1.4 Mb)
Turn on promiscuous mode with:
# ifconfig <interface> promisc
Make this permanent by adding the keyword "promisc" to the iface options:
Code: /etc/conf.d/net fragment
iface_eth0="192.168.1.100 broadcast 192.168.1.255 netmask 255.255.255.0 promisc"
---------------
Is this possible with the g600 or is it even an issue? For that matter, does this device have a firewall of any type?
Last edited by idiotboy (2006-10-26 03:59:12)
Offline
Just upgraded to iTunes 7.0.2 and it started working.
So I'm happy and I've created a page in the wiki. So please post all further information there:
http://dns323.kood.org/dsmg600/howto:firefly
Max
Offline
Awesome! That fixed my problem ( the start up on the wiki page) works great for me!
Offline
I've just tried firefly and it works great. Thanks.
I've a new "mt-daap" shared place (it's strange : Itunes has 2 "mt-daap" shared place.
One is working great but the other one is not.
I've 2 questions about firefly :
- As far as I remember, I never put any IP adresse to Itunes for it to locate my shared music, so I think it's works on local network.
What about a distant acces to this music ?
- I have no idea to the way I must follow to acces to the web configuration of firefly ...
Good night all and thanks.
Offline
Gents,
I've been fighting my DSM-G600 for the past couple of weeks, after I learned that it does much more that the original useless upnp (un)serving. Because I LIKED what I read, and I want to make my DSM run Firefly.
OK, I learned what fun_plug is. Learned how to make it work. Learned that I'd need busybox to be able to telnet...
But the wiki pages for how-to:firefly and how-to:extract do not teach anything (sorry folks, at least not to my lower linux level).
So could I use your help to have a new tread teaching how to use firefly on the G600 all the way to the end? After that, I promise I'll edit the wiki page and have it detailed step by step. Hopefully we can make the most recent Firefly Media Server nightlies work.
At the moment I'm stuck at:
- I can't extract anything inside the G600. Tried to send commands via telnet, it says bzcat not found and tar not found. I tried to download several different firefly packages (including the 0.2.4 of this site) and extract them on my windows computer, and then FTP all the files to the G600. BUT doing that, on all of the packages, there was no mt-daapd executable file.
I am probably blind to something very obvious, but I'm sure they are not in the forums or wikis... So I'll thank very much for the help, and then will try to compile all my doubts and solutions during the process on a single page. And hopefully lots of G600 and SoundBridge owners won't feel tempted to trash their network storage unit to buy a slug.
Cheers,
Bruno
Offline
For example if I try to extract mt-daapd-0.2.4.tar.bz2 using winrar then all files are there including mt-daapd executable. Note that Linux do not have .exe files. Also note that you can only use binaries from this site and nowhere else because library and architecture differences (only ts101 ones may work as said in ipkg feed wiki page).
While extracting "bzcat not found and tar not found" error most likely mean that there is not bzcat and tar file, look them up at download section. Also note that bzcat is symlink to bzip2.
I have tried to get nightlies work but no luck with that (sqlite just fails to compile so I never even get to compiling mt-daapd).
Offline
Here's an odd thing... I can only get firefly to work when started manually from telnet. When executing the following lines one by one in a telnet session, firefly shows up in iTunes and I am able to play songs and all. But, when I put the same lines in fun_plug, I can see the shared location in iTunes for just a few seconds, after it disappears, never to return again...
I am able to access the webinterface, and it says everything is working.
mkdir -p /mnt/HD_a2/mt-daapd/cache
ln -s /mnt/HD_a2/mt-daapd/libz.so.1 /lib/
ln -s /mnt/HD_a2/mt-daapd/libgdbm.so.3 /lib/
ln -s /mnt/HD_a2/mt-daapd/libid3tag.so.0 /lib/
/mnt/HD_a2/mt-daapd/mt-daapd -c /mnt/HD_a2/mt-daapd/mt-daapd.conf
???
Offline
Some new attempts:
I downloaded the mt-daapd 0.2.4 from the DSM-G600 forum site. Extracted to the proper folder HD_a2/mt-daapd.
The I tried to follow the step by step commands manually via telnet. Here are the results:
BusyBox v1.2.1 (2006.08.16-19:37+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
# mkdir -p /mnt/HD_a2/mt-daapd/cache
# ln -s /mnt/HD_a2/mt-daapd/libz.so.1 /lib/
ln: /lib/libz.so.1: File exists
# ln -s /mnt/HD_a2/mt-daapd/libgdbm.so.3 /lib/
ln: /lib/libgdbm.so.3: File exists
# ln -s /mnt/HD_a2/mt-daapd/libid3tag.so.0 /lib/
ln: /lib/libid3tag.so.0: File exists
# /mnt/HD_a2/mt-daapd/mt-daapd -c /mnt/HD_a2/mt-daapd/mt-daapd.conf
-ash: /mnt/HD_a2/mt-daapd/mt-daapd: Permission denied
# /mnt/HD_a2/mt-daapd/mt-daapd -c /mnt/HD_a2/mt-daapd/mt-daapd.conf
#
QUESTION: Those responses of "ln: /lib/libz.so.1: File exists", are them correct, expected things, or has something gone wrong here? What must I do to correct it?
NOTE: At the Permission denied, I figured out that the mt-daapd was not set as executable, so I changed that file with chmod 777, and when I ran the command again, at least I got no error. So I guess the command went well.
I know it's not fully working, because my Soundbridge does not see the new server (which I renamed on the .conf file to something like HURRAY so I would have no doubt ).
I also tried to access web admin pages via http://192.168.0.111:9999 and http://192.168.0.111:3689 (the IP is my correct G600's IP - and for the port I am just trying the 9999 that works on my other windows installation, and the 3689 that appears somewhere on the .conf file). But neither works.
So any clues at this point will be welcome!
Offline
i've a problem.. my server appear in iTunes with all songs, but I can't play anything
Tested with iTunes 7.0.2 and iTunes 7.2 (same problem)
With Rhythmbox I see the server but not the songs...
?
Offline
Hi,
I was wondering if there is a newer compile of the FireFly server than the one listed on the Howto pages. I would really like to see one which supported smart playlists. New to all of this so would appreciate any help.
Thanks for all the stellar work that has been done so far...
Offline
Hi all.
I've a problem with mt-daapd :
The deamon starts correctly on the dsm but, when I try to reach my musique with ITunes, the mt-daapd share appears and ... desappeard as soon as i click on it (I can see the files for ... 1 or 2 secondes).
If I re-start Itunes, I still have the same (list appears and ... vasish after clicking and 1 or 2 seconds).
If i don't click to the share part of ITunes, mt-daaps stays (but It's though to listen my music then ...)
Because, dsm is behind a routeur, maybe I need to forward port but if I do so, how can I reach music from any comp in the local network ?
Do someone has a idea ?
Thank you.
Artefax
Offline
It was finally working through the shared entry in iTunes. The only thing I've changed is I've imported all media files into my local iTunes for admin purposes. Since then I can see all the songs though the shared libary but cannot play them. Any ideas? I'm stuck.
Offline