OUR NETWORK:TiVo Community TechLore Explore3DTV DVRplayground Dijit Community See all... About UsAdvertiseContact Us

 
Learn about scoring Forum's Raw Score: 181145.0
December 28, 2011 06:29 PM

Categories: Troubleshooting

Rating (0 votes)
  • 1
  • 2
  • 3
  • 4
  • 5
Rate This!

Member Avatar

thunderprime

Member
Joined: 12/28/2011

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

Discussion:    Add a Comment | Comments 1-7 of 7 | Latest Comment

December 28, 2011 9:34 PM

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.

December 28, 2011 9:44 PM

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

December 29, 2011 8:45 AM

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.

December 30, 2011 5:16 PM

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

December 30, 2011 5:54 PM

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.

December 30, 2011 6:49 PM

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??

January 1, 2012 4:59 PM

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.

Discussion:    Add a Comment | Back to Top | Comments 1-7 of 7 | Latest Comment

Add Your Reply

(will not be displayed)

Email me when comments are added to this thread

 
 

Please log in or register to participate in this community!

Log In

Remember

Not a member? Sign up!

Did you forget your password?

You can also log in using OpenID.

close this window
close this window