MiniDLNA

23 posts / 0 new
Last post
john6699
john6699's picture
MiniDLNA

Kong is there instructions/Guide on how to setup this server.

not sure if I will use minidna or it is anygood.

Kong
Kong's picture
There is an older tutorial
john6699
john6699's picture
thank you

thank you

john6699
john6699's picture
Ok got this up and running

Ok got this up and running however I can't connect my xbox360 to it
am i missing something

john6699
john6699's picture
After looking around doens't

After looking around doens't seem like many devices stream to the xbox360 like the pogoplug.
Is there a way to get this router with ddwrt or tomato to stream videos to xbox360

Kong
Kong's picture
Hi john6699,

Hi john6699,

I don't own a xbox but someone reported that he was able to stream to his xbox using my build.

john6699
john6699's picture
I am able to stream to my

I am able to stream to my XBOX but not my XBOX360

Kong
Kong's picture
Can you test something?

Can you test something?

Login to the router via ssh using putty or any other ssh client.
Then edit /tmp/minidlna.conf and change:

presentation_url=http://192.168.1.1:8888/index.php

to

presentation_url=http://192.168.1.1:8200/

(you have have a different ip) after that stop minidlna:

killall minidlna

execute command:

ps

to see if minidlna is not in the process list anymore, in case it is, stop it with:

kill -9 pid

where pid is the process number you see from ps output

then start it again:

/usr/sbin/minidlna -R -f /tmp/minidlna.conf

does your xbox360 now see the media server?

john6699
john6699's picture
I am not much of a linux guy

I am not much of a linux guy what am I doing while issues these commands.

how do I go back to i just issue

no presentation_url=http://192.168.1.1:8200/

I tried and still don't see xbox360

Kong
Kong's picture
Hi john,

Hi john,

lets test a fix I added, please download and flash:

Kong-Mod-XBox360-Test

 

Let me know if the xbox now sees the media server.

john6699
john6699's picture
Now I see dd-wrt on xbox360

Now I see dd-wrt on xbox360 now when I connect there is no files.

I also don't see any of my videos when I connect to samba drive

It says mounted on jffs

another note I have to use I.E to make changes firefox is not working

[email protected]-WRT:~# ps
PID USER VSZ STAT COMMAND
1 root 2136 S /sbin/init noinitrd
2 root 0 SW 3 root 0 SW 4 root 0 SW 5 root 0 SW 38 root 0 SW 40 root 0 SW 74 root 0 SW [pdflush]
75 root 0 SW [pdflush]
76 root 0 SW 77 root 0 SW 610 root 0 SW 643 root 2712 S watchdog
660 root 0 SW 810 root 2664 S resetbutton
892 root 1608 S telnetd
919 root 1288 S dnsmasq --conf-file=/tmp/dnsmasq.conf
936 root 2396 S ttraff
1218 root 3888 S httpd -p 80
1275 root 2392 S process_monitor
1363 root 1144 S cron
1664 root 2664 S wland
1668 root 1148 S udhcpc -i vlan2 -p /var/run/udhcpc.pid -s /tmp/udhcpc
2038 root 0 SW 2040 root 0 SW 2061 root 2224 S ntfs-3g /dev/discs/disc0/part1 /jffs
7112 root 2868 S /usr/sbin/nmbd -D --configfile=/tmp/smb.conf
7114 root 3644 S N /usr/sbin/smbd -D --configfile=/tmp/smb.conf
7137 root 3928 S N /usr/sbin/smbd -D --configfile=/tmp/smb.conf
7325 root 1624 S -sh
7346 root 1608 R ps
[email protected]-WRT:~#

Kong
Kong's picture
Okay now we are getting

Okay now we are getting closer:-)

Did you set "Path to Files" under Services->NAS->File Sharing to /jffs?
Did you set Minidlnas DB Path to /jffs?

john6699
john6699's picture
 

 

Yes I believe this is correct I see only files in from scan example

wdlive, slingcatcher

MiniDLNA
MiniDLNA

Enable  Disable

Server Identification

Pictures

Videos

Music

Update interval

DB Path

 

File Sharing

Samba
Samba

Enable  Disable

Server String

Workgroup

Path to Files

Public Share

Enable  Disable

Readonly

Enable  Disable

Use Custom Configuration

Enable  Disable

 

john6699
john6699's picture
i forgot DB path I put

i forgot DB path I put
/jffs
and now I see a file minidlnadb
but I still don't see my videos

Kong
Kong's picture
Hi john,

Hi john,

login via ssh and then show me the output of:

mount

and

ls -la /jffs

john6699
john6699's picture
via Telnet

via Telnet

DD-WRT v24-sp2 std (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)

DD-WRT login: root
Password:
Login incorrect
DD-WRT v24-sp2 std (c) 2010 NewMedia-NET GmbH
Release: 12/16/10 (SVN revision: 15758M)

DD-WRT login: root
Password:

#===========================================================#
# DD-WRT V24-K26 #
# Kong Mod #
#===========================================================#

BusyBox v1.13.4 (2010-12-16 07:37:52 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

[email protected]-WRT:~#
[email protected]-WRT:~# ls -la /jffs
drwxrwxrwx 1 root root 4096 Dec 17 02:35 .
drwxr-xr-x 16 root root 153 Dec 16 06:39 ..
drwxrwxrwx 1 root root 0 Dec 17 02:29 SlingSyncInfo
drwxrwxrwx 1 root root 0 Nov 28 15:57 System Volume Informatio
n
drwxrwxrwx 1 root root 0 Dec 17 02:18 minidlnadb
[email protected]-WRT:~#

Kong
Kong's picture
You did not show me the

You did not show me the output of command:

mount

But since there is a folder with "System Volume Information" I assume this is an ntfs drive. But it does not display any other data on it. Sure this partition holds the music files? Maybe this drive has multiple partitions?

What is displayed under Services->USB->Disk Info

john6699
john6699's picture
mount

mount

[email protected]-WRT:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
ramfs on /tmp type ramfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/scsi/host0/bus0/target0/lun0/part1 on /jffs type fuseblk (rw,user_id=0,group_id=0,allow_other)
[email protected]-WRT:~#

john6699
john6699's picture
ntfs no multiple partitions

ntfs no multiple partitions but I see a 100 mib partition I don't know what that is from it worked fine on other firmware
I did the 30/30/30

--- /dev/discs/disc0/disc
Block device, size 1.365 TiB (1500301910016 bytes)
DOS/MBR partition map
Partition 1: 100 MiB (104857600 bytes, 204800 sectors from 2048, bootable)
Type 0x07 (HPFS/NTFS)
NTFS file system
Volume size 100.0 MiB (104857088 bytes, 204799 sectors)
Partition 2: 1.364 TiB (1500194537472 bytes, 2930067456 sectors from 206848)
Type 0x07 (HPFS/NTFS)
Windows NTLDR boot loader
NTFS file system
Volume size 1.364 TiB (1500194536960 bytes, 2930067455 sectors)
Status: Mounted on /jffs

Kong
Kong's picture
Okay that's what I expected

Okay that's what I expected there are indeed 2 partitions on this drive, maybe the first partition was some kind of recovery partition.
The mountpoint shows that this 100MB partitions gets mounted and of course this partition does not hold your media files.

For dd-wrt the default behaviour is to mount only the first partition, multiple partitions are currently not supported by automount.

If you don't need the 100MB partition you could just delete it using a partition tool like: http://gparted.sourceforge.net/livecd.php

another way would be to place a script on the 100MB partition that mount the second partition to another mountpoint like /opt.

john6699
john6699's picture
Thanks for that I was able to

Thanks for that I was able to delete the partition Not sure how that happened.
My xbox360 listed DD-WRT and I went to connect look like it was scanning then said was unable to connect. check firewall etc..

I rebooted everything now DD-WRT is not listed

I think DLNA is not working what command can I use to see if it is running or how to restart it

john6699
john6699's picture
update I issued this command

update I issued this command

/usr/sbin/minidlna -R -f /tmp/minidlna.conf

And it is up and running streaming my MP4 and AVI.

I did reboot my router and I still had to issue that command.

Nice thank you I will update with any issues

john6699
john6699's picture
Still working great I watched

Still working great I watched a couple avi files without any issues last night.

I have a question about setup
Update interval what is this for and how do you set it up

I assume it is to scan HDrive

I have to keep issuing this command after rebooting router
/usr/sbin/minidlna -R -f /tmp/minidlna.conf