Hi,
I'm trying to get MiniDLNA to run on my USB NAS but when I run the "start.sh" from the terminal I get the following error:
./minidlna: 1: Syntax error: "(" unexpected
is there s problem with the binary??
Thanks.
Hi,
I'm trying to get MiniDLNA to run on my USB NAS but when I run the "start.sh" from the terminal I get the following error:
./minidlna: 1: Syntax error: "(" unexpected
is there s problem with the binary??
Thanks.
Hi Gotit,
1.
You need to be in the directory where minidlna is installed. Eg:
cd /jffs/minidlna
./start.sh
2.
Alternatively you can start manually:
cd /jffs/minidlna
./minidlna -f minidlna.conf
3.
Or if you'd like to run without chdir, please use this:
/jffs/minidlna/minidlna -f /jffs/minidlna/minidlna.conf
Please also note that media directories are located under:
/jffs/media/audio
/jffs/media/pictures
/jffs/media/video
And database directory must exist:
/jffs/minidlna
If this is not your standard location you need to edit the minidlna.conf file.
I hope one of this solutions will work and there's no problem with the binary.
Cheers.
netgearl, thanks for the quick reply.
OK, I think I better understand now. One more question, will the above steps work on Netgear's stock firmware?
Thanks again!!
Yes, as far as I remember I've used it with netgear firmware. First you need to hack the router with telnetenable to get OS prompt. If inotify is not enabled in the kernel (I'm not sure now, since I'm using ddwrt from Kong) then you can read these steps:
http://www.myopenrouter.com/download/18561/miniDLNA-experimental-optware-Pack...
You might loose the db auto update functionality, which means you need delete at each restart and scan your whole library each time.
Did you forget your password?
You can also log in using OpenID.