dlna issues

8 posts / 0 new
Last post
thunderprime
thunderprime's picture
dlna issues

i've been trying to get my router (3500L)setup to share the usb mounted hard drive with my xbox and android device.  i know that i need to use dlna, but i can't get it to see any of the files.  they both recognize the hard drive but no files on it.  i'm using dd-wrt build 18010. here are my settings:

USB Support

USB Support
Core USB Support

Enable  Disable

USB Printer Support

Enable  Disable

USB Storage Support

Enable  Disable

Automatic Drive Mount

Enable  Disable

Run-on-mount Script Name

Mount this Partition to /mnt

UUID

Mount this Partition to /jffs

UUID

Mount this Partition to /opt

UUID

Use SES Button to remove drives

Enable  Disable

Disk Info
Disk 0:
--- /dev/scsi/host0/bus0/target0/lun0/disc
Block device, size 746.5 GiB (801567145984 bytes)
DOS/MBR partition map
Partition 1: 349.3 GiB (375073669120 bytes, 732565760 sectors from 256)
Type 0x0C (Win95 FAT32 (LBA))
First 896 KiB are blank
Mountpoints:
/dev/scsi/host0/bus0/target0/lun0/part1 mounted to /tmp/mnt/disc0-part1
MiniDLNA
MiniDLNA

Enable  Disable

Server Identification

Pictures

Videos

Music

Update interval

DB Path

any help is greatly appreciated
cheers

zoomlink
zoomlink's picture
A question for you:

A question for you:

What is that 'network' script, and I believe you need to give it a complete path for the script to run e.g. /tmp/mnt/disc0-part1/network

A couple of observations on the MiniDLNA config:

Server identification - Did you mean to put a space before the name?

You are not consistent on the paths for MiniDLNA, and I think you should probably create a directory under '/tmp/mnt/disc0-part1' such as 'media' and then under that directory create a 'pictures','videos' and 'music' directories. I presume you know how to add directories. If not, telnet into the router and from the command prompt do the following:

cd /tmp/mnt/disc0-part1
mkdir media
cd /tmp/mnt/disc0-part1/media
mkdir pictures
mkdir videos
mkdir music

Then...

Go back to the Router's Web GUI for SERVICES>NAS/MiniDLNA section and configure your paths as follows:

Pictures path: /tmp/mnt/disc0-part1/media/pictures
Videos path: /tmp/mnt/disc0-part1/media/videos
Music path: /tmp/mnt/disc0-part1/media/music
DB path: /tmp/mnt/disc0-part1/media

Note: When MiniDLNA starts, it will automagically create a directory under /tmp/mnt/disc0-part1/media called 'minidlnadb' and populate it.

Hope this helps.

thunderprime
thunderprime's picture
zoomlink said: A question for

zoomlink said: A question for you: What is that 'network' script, and I believe you need to give it a complete path for the script to run e.g. /tmp/mnt/disc0-part1/network A couple of observations on the MiniDLNA config: Server identification - Did you mean to put a space before the name? You are not consistent on the paths for MiniDLNA, and I think you should probably create a directory under '/tmp/mnt/disc0-part1' such as 'media' and then under that directory create a 'pictures','videos' and 'music' directories. I presume you know how to add directories. If not, telnet into the router and from the command prompt do the following: cd /tmp/mnt/disc0-part1 mkdir media cd /tmp/mnt/disc0-part1/media mkdir pictures mkdir videos mkdir music Then... Go back to the Router's Web GUI for SERVICES>NAS/MiniDLNA section and configure your paths as follows: Pictures path: /tmp/mnt/disc0-part1/media/pictures Videos path: /tmp/mnt/disc0-part1/media/videos Music path: /tmp/mnt/disc0-part1/media/music DB path: /tmp/mnt/disc0-part1/media Note: When MiniDLNA starts, it will automagically create a directory under /tmp/mnt/disc0-part1/media called 'minidlnadb' and populate it. Hope this helps.

the "network" script is simply the name i gave the attached device.

there doesn't appear to be a space before the name.

shouldn't it be able to see the files without putting them in a special directory. i've got nearly 1tb on the drive and i dont want to have to move everything around, plus i have no idea how to telnet to it.

i realized after i posted that the dir's were different. i was trying to see if those were my issues by trying different variations.  missed one when i copied it.

thks for the help

zoomlink
zoomlink's picture
Ok... when I woke up this

Ok... when I woke up this morning, out of nowhere, I got a thought in my head telling me... 'you missed the fact that he is mounting to '/mnt'.

So given your response and my realization...

1. The script name is NOT for giving a name to your attached device. Please leave it blank.

2. If you don't want to mess around too much with directories, at least create a directory called 'media' under the /mnt directory.

So please do this: Google 'putty.exe' and download it to your desktop; it is a single .exe file that will allow you to telnet into your router.

After you download it, open up putty, enter your router's IP and select the telnet button under it and open up a terminal session. Enter username - root and the password for root.

Once you are logged into your router, do this (hit enter after each line):

cd /mnt
mkdir media

Then configure your MiniDLNA setup on the router's Web GUI as follows:

Pictures path: /mnt/media
Videos path: /mnt/media
Music path: /mnt/media
DB path: /mnt/media

Hit Save and then Apply. Then reboot your router.

When it comes up again, you should be able to see your media from your Android DLNA media client or your XBox.

thunderprime
thunderprime's picture
Ok. since i was having issues

Ok. since i was having issues i tried a reset. now my dlna shows as stopped and i cant get it working. any ideas?

zoomlink
zoomlink's picture
Ok thunder...

Ok thunder...

What exactly did you do to do a reset? did you use the red button or black button?

If your router is back up and you actually reset everything... you will need to reconfigure it. So you need to go back to your SERVICES tab and...

1. Enable USB support if it is not (it should come enabled by default)

2. Go to the NAS tab and go down to the DLNA section and set it up as I showed you on my last message.

thunderprime
thunderprime's picture
Ya its up and running except

Ya its up and running except dlna. ive enabled it, and my hard drive is mounted. i set everything up as per your previous post but in status it shows stopped. any ideas??

Kong
Kong's picture
If minidlna does not start,

If minidlna does not start, then your minidlna db probably got corrupted e.g. by rebooting when it still indexed files. Therefore delete the db, on your harddrive.