Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Everything works like a charm now, am start Twonkymedia and Firefly via fun_plug and "fixed" the sambaserver bug. This device really rocks :-)
Here is how i start it, see my fun_plug:
#!/bin/sh ... untouched section of the script ... # restart samba /mnt/HD_a2/startsmb.sh # firefly itunes server /mnt/HD_a2/startfirefly.sh # twonkymedia upnp server /mnt/HD_a2/starttwonky.sh
This workaround restarts the samba server so that the NAS is reachable after a reboot without intervention via the webinterface.
startsmb.sh
#!/bin/sh smb restart
And here is how i start Firefly (instead of the built in iTunes server).
startfirefly.sh
#!/bin/sh if [ -f /mnt/HD_a2/lnx_bin/mt-daapd ] then cd /mnt/HD_a2 export PATH=/mnt/HD_a2/lnx_bin:$PATH export LD_LIBRARY_PATH=/mnt/HD_a2/lnx_bin/lib /mnt/HD_a2/lnx_bin/mt-daapd -c /mnt/HD_a2/lnx_bin/mt-daapd.conf fi
And here i start TwonkyMedia as my UPnP Server (instead of the built in UPnP Server).
starttwonky.sh
#!/bin/sh route add -net 224.0.0.0 netmask 240.0.0.0 dev egiga0 cd /mnt/HD_a2/twonky /mnt/HD_a2/twonky/twonkymedia &
Please note that all lines must end with a Unix style LF (Linefeed). This took me Linux newbee a while to notice.
Hopefully some beginners will find this information useful :-)
Michael
Offline