Help! Kong Mini DLNA driving me crazy :-(

13 posts / 0 new
Last post
Revhead
Revhead's picture
Help! Kong Mini DLNA driving me crazy :-(

Greetings.

I'm not a Linux person so forgive me.

I've been trying to get this to work for 3 days on my Belkin F7D3302/7302.

Firmware loads fine, 30/30/30 reset before and after. I have my Panasonic TV connected to the router via LAN cable and it is connected to to my home network in wireless repeater bridge mode.

All good here, good throughput etc.

At first the TV could see the files on the disc, but the disc wasn't visible to the network. Then I got Samba to work and I could access and read and write to the disc, but the TV could no longer see the files on the disc.

Then for 5 "fleeting" minutes last night it all worked properly - now the TV has gone back to not seeing any files.

I started using the latest Kong firmware 21395 but I discovered Samba doesn't seem to be working in this version.

So I swtiched to 19545 where Samba is working.

Disc is FAT32. Video files are in the root of the disc, not a folder.

Under USB section of the GUI I have enabled everything except printer support, but none of the fields have been filled in. Says the disc is mounted automatically to:

/tmp/mnt/disc0_part1

Under NAS

I have Samba enabled with server string set to the IP of my main router, workgroup set to "my home network" name, public share called "media" with R/W access.

I have Minidlna enabled with the DB set to the "media" share.

When I navigate to the share in windows explorer I can see all my movie files, but they do not show up in the media server?

So . . . For the path to the music, video and picture folders . . . do I use:

1. /mnt

2. tmp/mnt

3. tmp/mnt/disc0_part1

4. tmp/mnt/disc0_part1/media or WHAT?

How do I get the media server to see the files in the root directory?

I REACHED THE STAGE WHERE I AM TOTALLY CONFUSED. PLEASE PLEASE HELP?

Thanks in advance,

Rev

Kong
Kong's picture
Did you read:
Revhead
Revhead's picture
Kong said: Did you read:

Kong said: Did you read: http://tips.desipro.de/2011/08/25/komg-mod-dlna-media-server-setup/

Yes, but it's still confusing for a non Linux person.

Going on that, I should point to /mnt or /mnt/media (name of my share) to access the files in the root of my drive?

But I ignore the /tmp part of the path? Is that right?

Or do I have to create folders and move the files inside them for them to be seen? Is that an optional or mandatory step?

Or, following your example, should I mount the drive to /jffs and if so how?

W7 shows  a UUID for the drive if you right click on the media server in Windows Explorer and go to properties? Is that actually the correct figure?

Sorry if I sound confused but I am ...

Kong
Kong's picture
Revhead said:

Revhead said:

Kong said: Did you read: http://tips.desipro.de/2011/08/25/komg-mod-dlna-media-server-setup/

Yes, but it's still confusing for a non Linux person. Going on that, I should point to /mnt or /mnt/media (name of my share) to access the files in the root of my drive? But I ignore the /tmp part of the path? Is that right? Or do I have to create folders and move the files inside them for them to be seen? Is that an optional or mandatory step? Or, following your example, should I mount the drive to /jffs and if so how? W7 shows  a UUID for the drive if you right click on the media server in Windows Explorer and go to properties? Is that actually the correct figure? Sorry if I sound confused but I am ...

Ok let me explain. For example you have a usb drive attached to Windows e.g. E:\ and you create a folder named Media-> E:\Media.

Now you attach this drive to your router, you look at the output under: Services->USB->DiskInfo

You should see your drive there and some partitions info e.g.:

Volume name "Optware"
UUID A765FD63-5F65-4DC9-9694-DD0382D19A90 (DCE, v4)
Volume size 510 MiB (534773760 bytes, 522240 blocks of 1 KiB)

Now you can use for example the UUID from this output and add it to the mountpoint field. e.g. Mount this Partition to /mnt. Once you did this this partition will be mounted to /mnt, now your folder Media is located under /mnt/Media .

You add this path to minidlna path.

If you name the volume like in the above example "Optware" it will be automatically mounted to /opt.

P.S.The reason why you can mount by UUID or Label is, you may have different disks but you always want certain partitions from these disk to be always mounted to a certain path you can use a Label. If you attach multiple drives at once and you want to make sure certain partitions get mounted to a specific path you can use UUID etc. It may confuse people, but this is a really powerful way to specify where the router should mount partitions.

Revhead
Revhead's picture
Kong said:

Kong said:

Revhead said:

Kong said: Did you read: http://tips.desipro.de/2011/08/25/komg-mod-dlna-media-server-setup/

Yes, but it's still confusing for a non Linux person. Going on that, I should point to /mnt or /mnt/media (name of my share) to access the files in the root of my drive? But I ignore the /tmp part of the path? Is that right? Or do I have to create folders and move the files inside them for them to be seen? Is that an optional or mandatory step? Or, following your example, should I mount the drive to /jffs and if so how? W7 shows  a UUID for the drive if you right click on the media server in Windows Explorer and go to properties? Is that actually the correct figure? Sorry if I sound confused but I am ...

Ok let me explain. For example you have a usb drive attached to Windows e.g. E:\ and you create a folder named Media-> E:\Media. Now you attach this drive to your router, you look at the output under: Services->USB->DiskInfo You should see your drive there and some partitions info e.g.: Volume name "Optware" UUID A765FD63-5F65-4DC9-9694-DD0382D19A90 (DCE, v4) Volume size 510 MiB (534773760 bytes, 522240 blocks of 1 KiB) Now you can use for example the UUID from this output and add it to the mountpoint field. e.g. Mount this Partition to /mnt. Once you did this this partition will be mounted to /mnt, now your folder Media is located under /mnt/Media . You add this path to minidlna path. If you name the volume like in the above example "Optware" it will be automatically mounted to /opt. P.S.The reason why you can mount by UUID or Label is, you may have different disks but you always want certain partitions from these disk to be always mounted to a certain path you can use a Label. If you attach multiple drives at once and you want to make sure certain partitions get mounted to a specific path you can use UUID etc. It may confuse people, but this is a really powerful way to specify where the router should mount partitions.

Hi Kong,

Firstly thanks for taking the time to reply to me. I know you must get many questions.

Still having problems getting this to work.

Samba works fine with public share that I have called "media"

But MiniDLNA does not.

1. Although Services->USB->DiskInfo gives me the Volume name, size, file system etc it does not show the UUID for the disc.

2. Unless I preface /mnt in the path with /tmp ie. /tmp/mnt the media server does not show on my network.

3. When the media server does show, it does not show any content: "No files have been found on this remote library"

Maybe its the firmware version I am using 19545?

Kong
Kong's picture
If there is no uuid then no

If there is no uuid then no real uuid is set, the one you see in windows is not really a standard uuid. Try to change the volume name under Windows to "mnt" without quotes. To get the best performance you should actually create a linux partion (ext3) which then should have a valid uuid you can use.

Not sure anymore if 19545 had the bug where mounts to tmp did not work correctly.

Revhead
Revhead's picture
Thanks.

Thanks.
Now working.
Took your advice and labelled the volume "mnt" without the quotes.
Also took the advice you gave in another thread and pointed everything to tmp/mnt/disc0-part1/videos, music pictures etc (and created the folders for these and put the media in them).
Database set to tmp/mnt/disc0-part1/database (the folder I created).
Don't know which bit did the trick, but I suspect it was the path information.
Why was something that should be so easy so hard?
PS. Still using FAT32 by the way.
To save anyone else the heartache I went through this is what to do.
I'm using firmware version 19545 (latest version 21395 doesn't seem to work)

Full instructions for USB setup

Core USB Suport - enable
USB Printer Support - disable
USB Storage Support - enable
Automatic Drive Mount - enable
Run-on-mount Script Name - blank
Mount this Partition to /mnt - blank
Mount this Partition to /jffs - blank
Mount this Partition to /opt - blank
Use SES Button to remove drives - enable (I enabled it)
Under mount points you should see: /tmp/mnt/disc0-part1

Full instructions for MiniDLNA setup:

FTP SERVER
ProFTPD - disabled

DLNA SERVER
MiniDLNA - enabled
Server identification - whatever you want to call it
Pictures - /tmp/mnt/disc0-part1/pictures (create folder manually)
Videos - /tmp/mnt/disc0-part1/videos (create folder manually)
Music - /tmp/mnt/disc0-part1/music (create folder manually)
Update interval - 240
DB Path - /tmp/mnt/disc0-part1/database (create folder manually)

FILE SHARING
Samba - enabled
Use Custom configuration - disabled
Server String - 192.168.x.xxx (IP address of your main router)
Workgroup - Workgroup or whatever you call your network

SHARES
Path - /tmp/mnt/disc0-part1
Name - media (whatever you want to call it)
Public - tick this
Access - read/write

Keep in mind that every time you update the info for a page you should apply and then save and then reboot.
It takes a few minutes initially to create the database in the folder you told it to put it in. While this is happening leave it alone.
If it loses the plot, go into the database folder and delete the files you find there and then reboot and let it recreate the database.
If Samba is working properly you should be able to access the share through Windows Explorer where you can add/delete/move files around.
Put your movies in the video folder or whatever you decided to call it.
Music in music and pictures in pictures.
Get the picture?
Hope this helps someone?

Revhead
Revhead's picture
One questions remains.

One questions remains.
Samba is working and MiniDLNA is working properly, but MiniDLNA displays my video files (avi, mp4, mkv etc) in date order rather than alphabetically (which makes it difficult to find anything).
Any way to get it to list files by name ie. alphabetically?
In my case MiniDLNA is serving files to a Panasonic TV.
Thanks in advance,
Rev

slobodan
slobodan's picture
Here Samba does that, not

Here Samba does that, not miniDLNA.

Revhead
Revhead's picture
slobodan said: Here Samba

slobodan said: Here Samba does that, not miniDLNA.

Yeah. Samba shows it alphabetically. The trouble is the TV doesn't when I access MiniDLNA (but It did when I was using MediaTomb)?

slobodan
slobodan's picture
I meant that Samba shows them

I meant that Samba shows them in random order, while miniDLNA lists them alphabetically (capital letters before small letters).

Kong
Kong's picture
See:

See:

http://sourceforge.net/tracker/index.php?func=detail&aid=3598451&group_i...

Might be fixed in 1.0.26. My build currently comes with 1.0.25

Revhead
Revhead's picture
If it is the client that is

If it is the client that is at fault, why then does the TV display the files alphabetically when connected to MediaTomb but by date when connected to MiniDLNA. It would suggest that it is the media server that determines how files are displayed?