MINIDLNA - Server not visible to clients

Status
Not open for further replies.

heavenhated

Dabbler
Joined
Sep 6, 2012
Messages
18
Team,

Freenas - FreeNAS-9.1.1-RELEASE-x64 (a752d35)

MinDLNA
Minidlna 1.1.0_1 minidlna-1.1.0_1-amd64
dlna_1


Need your help here. I have tried everything before posting this query.

My set up is such that my NAS is connected to my wireless router/modem and i am trying to access my NAS through devices connected to my wireless router(by wireless as well as lan to the wireless router/modem)

I am able to access all CIFS shares, copy files, move files and even delete files through the wireless using my phone or laptop.

I have installed the MiniDLNA as mentioned above. I have mapped storage and put two music files under the storage.

When i execute 192.168.X.X :8200 i am able to see that the files are scanned and displayed as attcahed.

My biggest problem is none of the DLNA clients are able to display the server.

Checklist of things i have done:-

- Able to ping(the DLNA Jail address) from any of the PC/Tablet/etc connected to the wireless
- Able to view CIFS folders and access files.


I am confused if i should set a port forwarding in my wireless modem router. I know its not a freenas issue but need some experts help to figure out if my router is blocking the DLNA server access.

I can ping the ip of the jail/media server and i can also see the files inside the shell under the mapped folder Media.

Biggest issues is inability to see the server from clients which will resolve my issue. I am a chemical engineer trying to make use of whatever knowledge i have.

Here is the log from MiniDlna

[2013/12/19 07:58:19] upnphttp.c:997: warn: HTTP Connection closed unexpectedly [2013/12/19 08:01:27] minidlna.c:154: warn: received signal 15, good-bye [2013/12/19 08:01:30] minidlna.c:1063: warn: Starting MiniDLNA version 1.1.0. [2013/12/19 08:01:30] minidlna.c:384: warn: Creating new database at /var/db/minidlna/files.db [2013/12/19 08:01:30] minidlna.c:1107: warn: HTTP listening on port 8200 [2013/12/19 08:01:30] scanner.c:690: warn: Scanning /media [2013/12/19 08:01:30] scanner.c:766: warn: Scanning /media finished (2 files)! [2013/12/19 08:01:30] playlist.c:125: warn: Parsing playlists... [2013/12/19 08:01:30] playlist.c:256: warn: Finished parsing playlists.

netstat -r inside the jail

root@dlna_1:/var/log # netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.1.1 UGS 0 44231 re0 localhost link#8 UH 0 86286 lo0 192.168.1.0 link#1 U 0 887433 re0 192.168.1.2 link#1 UHS 0 1410 lo0 192.168.1.9 link#1 UHS 0 373 lo0 Internet6: Destination Gateway Flags Netif Expire :: localhost UGRS lo0 localhost link#8 UH lo0 ::ffff:0.0.0.0 localhost UGRS lo0 fe80:: localhost UGRS lo0 fe80::%re0 link#1 U re0 fe80::3a60:77ff:fe link#1 UHS lo0 fe80::%lo0 link#8 U lo0 fe80::1%lo0 link#8 UHS lo0 fe80::%epair0a link#10 U epair0a fe80::3a:22ff:fe00 link#10 UHS lo0 ff01::%re0 fe80::3a60:77ff:fe U re0 ff01::%lo0 localhost U lo0 ff01::%epair0a fe80::3a:22ff:fe00 U epair0a ff02:: localhost UGRS lo0 ff02::%re0 fe80::3a60:77ff:fe U re0 ff02::%lo0 localhost U lo0 ff02::%epair0a fe80::3a:22ff:fe00 U epair0a root@dlna_1:/var/log # root@dlna_1:/var/log #

Minidlna Conf file

media_dir=/media/ port=8200 inotify=yes enable_tivo=no strict_dlna=no notify_interval=20 friendly_name=Videos

Can someone guide me if my router is the culprit or why the server is not visible as DLNA server to the clients through the wireless?
 

Attachments

  • 1.jpg
    1.jpg
    31.3 KB · Views: 435

Default

Cadet
Joined
Dec 18, 2013
Messages
8
I am experiencing similar issues. The weird thing is that the Minidlna server will show up sporadically as a dlna device in other clients. It is not clear to me why this happens. Once I am streaming from the server, there is usually no issue, everything works great. It is really the discovery. Interestingly enough, the server does not show up in the upnp-inspector tool.

Here is my minidlna log (looks clean):
[2013/12/21 15:12:36] minidlna.c:1063: warn: Starting MiniDLNA version 1.1.0.
[2013/12/21 15:12:36] minidlna.c:384: warn: Creating new database at /var/db/minidlna/files.db
[2013/12/21 15:12:36] minidlna.c:1107: warn: HTTP listening on port 8200
[2013/12/21 15:12:36] scanner.c:690: warn: Scanning /mnt/Musik
[2013/12/21 15:13:05] scanner.c:766: warn: Scanning /mnt/Musik finished (12088 files)!
[2013/12/21 15:13:05] scanner.c:690: warn: Scanning /mnt/Filme
[2013/12/21 15:13:14] metadata.c:742: warn: Opening /mnt/Filme/Englisch/._50-50.avi failed! [Invalid data found when processing input]
[2013/12/21 15:13:14] scanner.c:488: warn: Unsuccessful getting details for /mnt/Filme/Englisch/._50-50.avi!
[2013/12/21 15:13:25] upnphttp.c:997: warn: HTTP Connection closed unexpectedly
[2013/12/21 15:13:29] upnpsoap.c:687: error: UPnP SOAP response cut short, to not exceed the max response size [2097152]!
[2013/12/21 15:13:29] upnpsoap.c:1234: warn: SQL error: callback requested query abort
BAD SQL: SELECT o_OBJECT_ID, o.PARENT_ID, o.REF_ID, o.DETAIL_ID, o.CLASS, d.SIZE, d.TITLE, d.DURATION, d.BITRATE, d.SAMPLERATE, d.ARTIST, d.ALBUM, d.GENRE, d.COMMENT, d.CHANNELS, d.TRACK, d.DATE, d.RESOLUTION, d.THUMBNAIL, d.CREATOR, d.DLNA_PN, d.MIME, d.ALBUM_ART, d.DISC from OBJECTS o left join DETAILS d on (d.ID = o.DETAIL_ID) where PARENT_ID = '1$4' limit 0, -1;
[2013/12/21 15:13:29] upnpsoap.c:1881: warn: Returning UPnPError 709: Unsupported or invalid sort criteria
[2013/12/21 15:13:45] upnphttp.c:997: warn: HTTP Connection closed unexpectedly
[2013/12/21 15:14:12] upnpsoap.c:687: error: UPnP SOAP response cut short, to not exceed the max response size [2097152]!
[2013/12/21 15:14:12] upnpsoap.c:1234: warn: SQL error: callback requested query abort

Unfortunately netstat does not run but yields the "netstat: no namelist" error, presumably because I am using a recent nightly build.

There were some posts I saw that were about issues with the avahi service not launching correctly in the jail? Can anyone help me out how to make sure all the services necessary for upnp are running correctly?

Thanks!
 

heavenhated

Dabbler
Joined
Sep 6, 2012
Messages
18
This is fixed. The issue is not with freenas and with Router. Changed router which had issues with IGMP Proxy settings. Now everything works fine.
 
Status
Not open for further replies.
Top