126

Odp: instalacja miniDLNA

Echh podobnie.

root@Gargoyle:~$ minidlna -R -d
[2011/12/20 19:01:37] minidlna.c:816: error: MiniDLNA is already running. EXITING.
root@Gargoyle:~$ /etc/init.d/minidlna stop
stopped process in pidfile '/var/run/minidlna.pid' (pid 5437)
root@Gargoyle:~$ minidlna -R -d
[2011/12/20 19:01:52] minidlna.c:903: warn: Starting MiniDLNA version 1.0.22 [SQLite 3.7.7.1].
[2011/12/20 19:01:53] minidlna.c:926: warn: Creating new database at /var/cache/minidlna/files.db
[2011/12/20 19:01:53] scanner.c:733: warn: Scanning /mnt
[2011/12/20 19:01:53] scanner.c:804: warn: Scanning /mnt finished (0 files)!
[2011/12/20 19:01:53] minidlna.c:996: warn: HTTP listening on port 8200
[2011/12/20 19:01:53] minissdp.c:347: debug: Sending SSDP notifies
[2011/12/20 19:01:53] playlist.c:100: warn: Parsing playlists...
[2011/12/20 19:01:53] playlist.c:223: warn: Finished parsing playlists.
[2011/12/20 19:01:53] scanner.c:847: debug: Initial file scan completed
[2011/12/20 19:01:54] sql.c:118: warn: sql_get_int_field: step failed: SQL logic error or missing database
[2011/12/20 19:01:54] inotify.c:196: debug: Add watch to /mnt
[2011/12/20 19:01:56] minidlna.c:1206: debug: HTTP connection from 192.168.1.101:51307
[2011/12/20 19:01:56] upnphttp.c:498: debug: Added client [100/192.168.1.101/00:1D:7D:A8:F8:B2] to cache slot 0.
[2011/12/20 19:01:56] upnphttp.c:822: debug: HTTP REQUEST: GET /rootDesc.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Accept: text/xml, application/xml
Host: 192.168.1.1:8200
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50


[2011/12/20 19:01:56] upnphttp.c:1146: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 2226
Server: 3.0.0-14-generic DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

<?xml version="1.0"?>
<root xmlns="urn:schemas-upnp-org:device-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><device><deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType><friendlyName>OpenWrt DLNA Server</friendlyName><manufacturer>Justin Maggard</manufacturer><manufacturerURL>http://www.netgear.com</manufacturerURL><modelDescription>MiniDLNA on Linux</modelDescription><modelName>Windows Media Connect compatible (MiniDLNA)</modelName><modelNumber>1</modelNumber><modelURL>http://www.netgear.com</modelURL><serialNumber>12345678</serialNumber><UDN>uuid:4d696e69-444c-164e-9d41-001d7da8f8b3</UDN><dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMS-1.50</dlna:X_DLNADOC><presentationURL>http://192.168.1.1:8200/</presentationURL><iconList><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>24</depth><url>/icons/sm.png</url></icon><icon><mimetype>image/png</mimetype><width>120</width><height>120</height><depth>24</depth><url>/icons/lrg.png</url></icon><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>24</depth><url>/icons/sm.jpg</url></icon><icon><mimetype>image/jpeg</mimetype><width>120</width><height>120</height><depth>24</depth><url>/icons/lrg.jpg</url></icon></iconList><serviceList><service><serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType><serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId><controlURL>/ctl/ContentDir</controlURL><eventSubURL>/evt/ContentDir</eventSubURL><SCPDURL>/ContentDir.xml</SCPDURL></service><service><serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId><controlURL>/ctl/ConnectionMgr</controlURL><eventSubURL>/evt/ConnectionMgr</eventSubURL><SCPDURL>/ConnectionMgr.xml</SCPDURL></service><service><serviceType>urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1</serviceType><serviceId>urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar</serviceId><controlURL>/ctl/X_MS_MediaReceiverRegistrar</controlURL><eventSubURL>/evt/X_MS_MediaReceiverRegistrar</eventSubURL><SCPDURL>/X_MS_MediaReceiverRegistrar.xml</SCPDURL></service></serviceList></device></root>
[2011/12/20 19:01:56] minidlna.c:1206: debug: HTTP connection from 192.168.1.101:51308
[2011/12/20 19:01:56] upnphttp.c:155: debug: Client found in cache. [type 100/entry 0]
[2011/12/20 19:01:56] upnphttp.c:822: debug: HTTP REQUEST: GET /icons/sm.png HTTP/1.1
Connection: Keep-Alive
User-Agent: Windows-Media-Player-DMS/12.0.7601.17514
Host: 192.168.1.1:8200


[2011/12/20 19:01:56] upnphttp.c:1250: debug: Sending small PNG icon

Czyli znowu zero hmm
Zmienię ścieżkę w konfigu, do tego /tmp/usb_mount/dev_sdb1

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

127

Odp: instalacja miniDLNA

Bo w /mnt tego nie masz...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

128

Odp: instalacja miniDLNA

Tak wygląda mój konfig:

# port for HTTP (descriptions, SOAP, media transfer) traffic
port=8200

# network interfaces to serve, comma delimited
network_interface=br-lan

# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
# * if you want to restrict a media_dir to a specific content type, you
#   can prepend the type, followed by a comma, to the directory:
#   + "A" for audio  (eg. media_dir=A,/home/jmaggard/Music)
#   + "V" for video  (eg. media_dir=V,/home/jmaggard/Videos)
#   + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
#media_dir=/mnt
media_dir=/tmp/usb_mount/F074A29774A26058

# set this if you want to customize the name that shows up on your clients
friendly_name=OpenWrt DLNA Server

# set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
#db_dir=/var/cache/minidlna

# set this if you would like to specify the directory where you want MiniDLNA to store its log file
#log_dir=/var/log

# this should be a list of file names to check for when searching for album art
# note: names should be delimited with a forward slash ("/")
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg

# set this to no to disable inotify monitoring to automatically discover new files
# note: the default is yes
inotify=yes

# set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
enable_tivo=no

# set this to strictly adhere to DLNA standards.
# * This will allow server-side downscaling of very large JPEG images,
#   which may hurt JPEG serving performance on (at least) Sony DLNA products.
strict_dlna=no

# default presentation url is http address on port 80
#presentation_url=http://www.mylan/index.php

# notify interval in seconds. default is 895 seconds.
notify_interval=900

# serial and model number the daemon will report to clients
# in its XML description
serial=12345678
model_number=1

# specify the path to the MiniSSDPd socket
#minissdpdsocket=/var/run/minissdpd.sock

# use different container as root of the tree
# possible values:
#   + "." - use standard container (this is the default)
#   + "B" - "Browse Directory"
#   + "M" - "Music"
#   + "V" - "Video"
#   + "P" - "Pictures"
# if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
#root_container=.

login as: root
root@192.168.1.1's password:


BusyBox v1.15.3 (2011-12-10 08:39:35 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
Backfire (10.03.x, latest version. Always.) -------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka     then Vodka.
----------( by obsy, http://eko.one.pl/ )----------
Booted from EXTERNALL ROOT
root@Gargoyle:~$ ls /tmp/usb_mount/dev_sdb1
F074A29774A26058  Filmy
root@Gargoyle:~$ ls /tmp/usb_mount/dev_sdb1
F074A29774A26058  Filmy
root@Gargoyle:~$ ls /tmp/usb_mount/F074A29774A26058
$RECYCLE.BIN                       Instalki
F074A29774A26058                   Instrukcje odzyskiwania dysku.txt
Filmy                              do routera
IMG_4904.JPG
root@Gargoyle:~$ minidlna -R -d
[2011/12/20 19:10:35] minidlna.c:903: warn: Starting MiniDLNA version 1.0.22 [SQLite 3.7.7.1].
[2011/12/20 19:10:35] minidlna.c:926: warn: Creating new database at /var/cache/minidlna/files.db
[2011/12/20 19:10:35] scanner.c:733: warn: Scanning /tmp/usb_mount/F074A29774A26058
[2011/12/20 19:10:35] minidlna.c:996: warn: HTTP listening on port 8200
[2011/12/20 19:10:35] minissdp.c:347: debug: Sending SSDP notifies
[2011/12/20 19:10:35] scanner.c:733: info: Scanning /tmp/usb_mount/F074A29774A26058/$RECYCLE.BIN
[2011/12/20 19:10:35] scanner.c:733: info: Scanning /tmp/usb_mount/F074A29774A26058/$RECYCLE.BIN/S-1-5-21-1204276828-4019980485-639998479-1000
[2011/12/20 19:10:35] scanner.c:733: info: Scanning /tmp/usb_mount/F074A29774A26058/$RECYCLE.BIN/S-1-5-21-606138750-3606273870-274665690-1000
[2011/12/20 19:10:35] utils.c:338: debug: Ignoring recursive symbolic link: /tmp/usb_mount/F074A29774A26058/F074A29774A26058 (/tmp/usb_mount/F074A29774A26058)
[2011/12/20 19:10:35] scanner.c:733: info: Scanning /tmp/usb_mount/F074A29774A26058/Filmy
[2011/12/20 19:10:36] minidlna.c:1206: debug: HTTP connection from 192.168.1.101:51683
[2011/12/20 19:10:36] upnphttp.c:498: debug: Added client [100/192.168.1.101/00:1D:7D:A8:F8:B2] to cache slot 0.
[2011/12/20 19:10:36] upnphttp.c:822: debug: HTTP REQUEST: GET /rootDesc.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Accept: text/xml, application/xml
Host: 192.168.1.1:8200
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50


[2011/12/20 19:10:36] upnphttp.c:1146: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 2226
Server: 3.0.0-14-generic DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

<?xml version="1.0"?>
<root xmlns="urn:schemas-upnp-org:device-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><device><deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType><friendlyName>OpenWrt DLNA Server</friendlyName><manufacturer>Justin Maggard</manufacturer><manufacturerURL>http://www.netgear.com</manufacturerURL><modelDescription>MiniDLNA on Linux</modelDescription><modelName>Windows Media Connect compatible (MiniDLNA)</modelName><modelNumber>1</modelNumber><modelURL>http://www.netgear.com</modelURL><serialNumber>12345678</serialNumber><UDN>uuid:4d696e69-444c-164e-9d41-001d7da8f8b3</UDN><dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMS-1.50</dlna:X_DLNADOC><presentationURL>http://192.168.1.1:8200/</presentationURL><iconList><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>24</depth><url>/icons/sm.png</url></icon><icon><mimetype>image/png</mimetype><width>120</width><height>120</height><depth>24</depth><url>/icons/lrg.png</url></icon><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>24</depth><url>/icons/sm.jpg</url></icon><icon><mimetype>image/jpeg</mimetype><width>120</width><height>120</height><depth>24</depth><url>/icons/lrg.jpg</url></icon></iconList><serviceList><service><serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType><serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId><controlURL>/ctl/ContentDir</controlURL><eventSubURL>/evt/ContentDir</eventSubURL><SCPDURL>/ContentDir.xml</SCPDURL></service><service><serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId><controlURL>/ctl/ConnectionMgr</controlURL><eventSubURL>/evt/ConnectionMgr</eventSubURL><SCPDURL>/ConnectionMgr.xml</SCPDURL></service><service><serviceType>urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1</serviceType><serviceId>urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar</serviceId><controlURL>/ctl/X_MS_MediaReceiverRegistrar</controlURL><eventSubURL>/evt/X_MS_MediaReceiverRegistrar</eventSubURL><SCPDURL>/X_MS_MediaReceiverRegistrar.xml</SCPDURL></service></serviceList></device></root>
[2011/12/20 19:10:36] minidlna.c:1206: debug: HTTP connection from 192.168.1.101:51684
[2011/12/20 19:10:36] upnphttp.c:155: debug: Client found in cache. [type 100/entry 0]
[2011/12/20 19:10:36] upnphttp.c:822: debug: HTTP REQUEST: GET /icons/sm.png HTTP/1.1
Connection: Keep-Alive
User-Agent: Windows-Media-Player-DMS/12.0.7601.17514
Host: 192.168.1.1:8200


[2011/12/20 19:10:36] upnphttp.c:1250: debug: Sending small PNG icon

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

129

Odp: instalacja miniDLNA

Teraz wszedł w ten katalog, ale nie pokazałeś czy zakończył skanowanie i czy coś znalazł. możesz w końcu wyłączyć ten windows media player?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

130

Odp: instalacja miniDLNA

Dalej nic hmm Ani w na TV ani na WMP. W katalogu filmy na dysku mam plik minidlna.log a w nim:
[2011/12/20 17:41:56] minidlna.c:900: warn: Starting MiniDLNA version 1.0.22 [SQLite 3.7.7.1].
[2011/12/20 17:41:56] minidlna.c:923: warn: Creating new database...
[2011/12/20 17:41:57] scanner.c:726: warn: Scanning /tmp/usb_mount/F074A29774A26058/Filmy
[2011/12/20 17:41:57] minidlna.c:992: warn: HTTP listening on port 8200

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

131

Odp: instalacja miniDLNA

Więc nie zakończył skanowania jeszcze. Albo w ogóle to nie robi z jakiegoś powodu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

132

Odp: instalacja miniDLNA

Gdy wpisze minidlna -R -d
Jest coś takiego

login as: root
root@192.168.1.1's password:


BusyBox v1.15.3 (2011-12-10 08:39:35 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
Backfire (10.03.x, latest version. Always.) -------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka     then Vodka.
----------( by obsy, http://eko.one.pl/ )----------
Booted from EXTERNALL ROOT
root@Gargoyle:~$ minidlna -R -d
[2011/12/20 19:30:02] minidlna.c:903: warn: Starting MiniDLNA version 1.0.22 [SQLite 3.7.7.1].
[2011/12/20 19:30:02] minidlna.c:926: warn: Creating new database at /var/cache/minidlna/files.db
[2011/12/20 19:30:02] scanner.c:733: warn: Scanning /tmp/usb_mount/F074A29774A26058
[2011/12/20 19:30:02] minidlna.c:996: warn: HTTP listening on port 8200
[2011/12/20 19:30:02] minissdp.c:347: debug: Sending SSDP notifies
[2011/12/20 19:30:02] scanner.c:733: info: Scanning /tmp/usb_mount/F074A29774A26058/$RECYCLE.BIN
[2011/12/20 19:30:02] scanner.c:733: info: Scanning /tmp/usb_mount/F074A29774A26058/$RECYCLE.BIN/S-1-5-21-1204276828-4019980485-639998479-1000
[2011/12/20 19:30:02] scanner.c:733: info: Scanning /tmp/usb_mount/F074A29774A26058/$RECYCLE.BIN/S-1-5-21-606138750-3606273870-274665690-1000
[2011/12/20 19:30:02] utils.c:338: debug: Ignoring recursive symbolic link: /tmp/usb_mount/F074A29774A26058/F074A29774A26058 (/tmp/usb_mount/F074A29774A26058)
[2011/12/20 19:30:02] scanner.c:733: info: Scanning /tmp/usb_mount/F074A29774A26058/Filmy
[2011/12/20 19:30:04] minidlna.c:1206: debug: HTTP connection from 192.168.1.101:52387
[2011/12/20 19:30:04] upnphttp.c:498: debug: Added client [100/192.168.1.101/00:1D:7D:A8:F8:B2] to cache slot 0.
[2011/12/20 19:30:04] upnphttp.c:822: debug: HTTP REQUEST: GET /rootDesc.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Accept: text/xml, application/xml
Host: 192.168.1.1:8200
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50


[2011/12/20 19:30:04] upnphttp.c:1146: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 2226
Server: 3.0.0-14-generic DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

<?xml version="1.0"?>
<root xmlns="urn:schemas-upnp-org:device-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><device><deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType><friendlyName>OpenWrt DLNA Server</friendlyName><manufacturer>Justin Maggard</manufacturer><manufacturerURL>http://www.netgear.com</manufacturerURL><modelDescription>MiniDLNA on Linux</modelDescription><modelName>Windows Media Connect compatible (MiniDLNA)</modelName><modelNumber>1</modelNumber><modelURL>http://www.netgear.com</modelURL><serialNumber>12345678</serialNumber><UDN>uuid:4d696e69-444c-164e-9d41-001d7da8f8b3</UDN><dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMS-1.50</dlna:X_DLNADOC><presentationURL>http://192.168.1.1:8200/</presentationURL><iconList><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>24</depth><url>/icons/sm.png</url></icon><icon><mimetype>image/png</mimetype><width>120</width><height>120</height><depth>24</depth><url>/icons/lrg.png</url></icon><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>24</depth><url>/icons/sm.jpg</url></icon><icon><mimetype>image/jpeg</mimetype><width>120</width><height>120</height><depth>24</depth><url>/icons/lrg.jpg</url></icon></iconList><serviceList><service><serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType><serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId><controlURL>/ctl/ContentDir</controlURL><eventSubURL>/evt/ContentDir</eventSubURL><SCPDURL>/ContentDir.xml</SCPDURL></service><service><serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId><controlURL>/ctl/ConnectionMgr</controlURL><eventSubURL>/evt/ConnectionMgr</eventSubURL><SCPDURL>/ConnectionMgr.xml</SCPDURL></service><service><serviceType>urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1</serviceType><serviceId>urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar</serviceId><controlURL>/ctl/X_MS_MediaReceiverRegistrar</controlURL><eventSubURL>/evt/X_MS_MediaReceiverRegistrar</eventSubURL><SCPDURL>/X_MS_MediaReceiverRegistrar.xml</SCPDURL></service></serviceList></device></root>
[2011/12/20 19:30:05] minidlna.c:1206: debug: HTTP connection from 192.168.1.101:52388
[2011/12/20 19:30:05] upnphttp.c:155: debug: Client found in cache. [type 100/entry 0]
[2011/12/20 19:30:05] upnphttp.c:822: debug: HTTP REQUEST: GET /icons/sm.png HTTP/1.1
Connection: Keep-Alive
User-Agent: Windows-Media-Player-DMS/12.0.7601.17514
Host: 192.168.1.1:8200


[2011/12/20 19:30:05] upnphttp.c:1250: debug: Sending small PNG icon

i router się resetuje sad Dam sobie z tym spokój, bo nie chcę tracić połączenia, a z tym firmware chodzi super.

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

133

Odp: instalacja miniDLNA

Bo bazy danych na dysk nie ustawiłeś.

Jest w /tmp, więc brakuj mi pamięci na jej trzymanie. W konfigu to zmienisz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

134

Odp: instalacja miniDLNA

Hmmm Czytałem o tym w tym wątku. Jak to przestawić na pena? Chodzi o to :
#db_dir=/var/cache/minidlna
zmienić na
db_dir=/tmp/ 
?

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

135

Odp: instalacja miniDLNA

Nie. db_dir=/tmp/usb_mount/dev/sdb1, bo tam mam dysk. Nie w /tmp.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

136

Odp: instalacja miniDLNA

No tak. Zmieniłem tak jak napisałeś
I jest tak:

login as: root
root@192.168.1.1's password:


BusyBox v1.15.3 (2011-12-10 08:39:35 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
Backfire (10.03.x, latest version. Always.) -------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka     then Vodka.
----------( by obsy, http://eko.one.pl/ )----------
Booted from EXTERNALL ROOT
root@Gargoyle:~$ minidlna -R -d
[2011/12/20 19:43:39] minidlna.c:816: error: MiniDLNA is already running. EXITING.
root@Gargoyle:~$ /etc/init.d/minidlna stop
stopped process in pidfile '/var/run/minidlna.pid' (pid 2540)
root@Gargoyle:~$ minidlna -R -d
[2011/12/20 19:43:53] minidlna.c:903: warn: Starting MiniDLNA version 1.0.22 [SQLite 3.7.7.1].
[2011/12/20 19:43:53] minidlna.c:926: warn: Creating new database at /tmp/usb_mount/dev/sdb1/files.db
[2011/12/20 19:43:53] scanner.c:733: warn: Scanning /tmp/usb_mount/F074A29774A26058
[2011/12/20 19:43:53] minidlna.c:996: warn: HTTP listening on port 8200
[2011/12/20 19:43:53] minissdp.c:347: debug: Sending SSDP notifies
[2011/12/20 19:43:53] scanner.c:733: info: Scanning /tmp/usb_mount/F074A29774A26058/$RECYCLE.BIN
[2011/12/20 19:43:53] minidlna.c:1206: debug: HTTP connection from 192.168.1.101:53117
[2011/12/20 19:43:53] upnphttp.c:498: debug: Added client [100/192.168.1.101/00:1D:7D:A8:F8:B2] to cache slot 0.
[2011/12/20 19:43:53] upnphttp.c:822: debug: HTTP REQUEST: GET /rootDesc.xml HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Accept: text/xml, application/xml
Host: 192.168.1.1:8200
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player-DMS/12.0.7601.17514 DLNADOC/1.50


[2011/12/20 19:43:53] upnphttp.c:1146: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 2226
Server: 3.0.0-14-generic DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

<?xml version="1.0"?>
<root xmlns="urn:schemas-upnp-org:device-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><device><deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType><friendlyName>OpenWrt DLNA Server</friendlyName><manufacturer>Justin Maggard</manufacturer><manufacturerURL>http://www.netgear.com</manufacturerURL><modelDescription>MiniDLNA on Linux</modelDescription><modelName>Windows Media Connect compatible (MiniDLNA)</modelName><modelNumber>1</modelNumber><modelURL>http://www.netgear.com</modelURL><serialNumber>12345678</serialNumber><UDN>uuid:4d696e69-444c-164e-9d41-001d7da8f8b3</UDN><dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-org:device-1-0">DMS-1.50</dlna:X_DLNADOC><presentationURL>http://192.168.1.1:8200/</presentationURL><iconList><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>24</depth><url>/icons/sm.png</url></icon><icon><mimetype>image/png</mimetype><width>120</width><height>120</height><depth>24</depth><url>/icons/lrg.png</url></icon><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>24</depth><url>/icons/sm.jpg</url></icon><icon><mimetype>image/jpeg</mimetype><width>120</width><height>120</height><depth>24</depth><url>/icons/lrg.jpg</url></icon></iconList><serviceList><service><serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType><serviceId>urn:upnp-org:serviceId:ContentDirectory</serviceId><controlURL>/ctl/ContentDir</controlURL><eventSubURL>/evt/ContentDir</eventSubURL><SCPDURL>/ContentDir.xml</SCPDURL></service><service><serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType><serviceId>urn:upnp-org:serviceId:ConnectionManager</serviceId><controlURL>/ctl/ConnectionMgr</controlURL><eventSubURL>/evt/ConnectionMgr</eventSubURL><SCPDURL>/ConnectionMgr.xml</SCPDURL></service><service><serviceType>urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1</serviceType><serviceId>urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar</serviceId><controlURL>/ctl/X_MS_MediaReceiverRegistrar</controlURL><eventSubURL>/evt/X_MS_MediaReceiverRegistrar</eventSubURL><SCPDURL>/X_MS_MediaReceiverRegistrar.xml</SCPDURL></service></serviceList></device></root>
[2011/12/20 19:43:53] minidlna.c:1206: debug: HTTP connection from 192.168.1.101:53118
[2011/12/20 19:43:53] upnphttp.c:155: debug: Client found in cache. [type 100/entry 0]
[2011/12/20 19:43:53] upnphttp.c:822: debug: HTTP REQUEST: GET /icons/sm.png HTTP/1.1
Connection: Keep-Alive
User-Agent: Windows-Media-Player-DMS/12.0.7601.17514
Host: 192.168.1.1:8200


[2011/12/20 19:43:53] upnphttp.c:1250: debug: Sending small PNG icon
[2011/12/20 19:43:53] scanner.c:733: info: Scanning /tmp/usb_mount/F074A29774A26058/$RECYCLE.BIN/S-1-5-21-1204276828-4019980485-639998479-1000
[2011/12/20 19:43:53] scanner.c:733: info: Scanning /tmp/usb_mount/F074A29774A26058/$RECYCLE.BIN/S-1-5-21-606138750-3606273870-274665690-1000
[2011/12/20 19:43:53] utils.c:338: debug: Ignoring recursive symbolic link: /tmp/usb_mount/F074A29774A26058/F074A29774A26058 (/tmp/usb_mount/F074A29774A26058)
[2011/12/20 19:43:53] scanner.c:733: info: Scanning /tmp/usb_mount/F074A29774A26058/Filmy

Po czym reset routera

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

137

Odp: instalacja miniDLNA

Dla bezpieczeństwa ustaw db_dir na /tmp/usb_mount/F074A29774A26058/ bo nie wiem czy nadal masz dev_sdb1 czy coś innego.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

138 (edytowany przez dorado 2011-12-20 19:56:25)

Odp: instalacja miniDLNA

Coś się porobiło. Na początku miałem w katalogu /tmp/usb_mount tylko dev_sdb1 (skrót), teraz mam dodatkowo dev, oraz F074A29774A26058 Mogę to jakoś uporządkować?

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:GetSortCapabilities xmlns:m="urn:schemas-upnp-org:service:ContentDirectory:1"/></SOAP-ENV:Body></SOAP-ENV:Envelope>

[2011/12/20 19:54:53] upnphttp.c:653: debug: SOAPAction: urn:schemas-upnp-org:service:ContentDirectory:1#GetSortCapabilities
[2011/12/20 19:54:53] upnpsoap.c:1561: debug: SoapMethod: GetSortCapabilities
[2011/12/20 19:54:53] upnphttp.c:1146: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 390
Server: 3.0.0-14-generic DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetSortCapabilitiesResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><SortCaps>dc:title,dc:date,upnp:class,upnp:originalTrackNumber</SortCaps></u:GetSortCapabilitiesResponse></s:Body></s:Envelope>

[2011/12/20 19:54:53] minidlna.c:1206: debug: HTTP connection from 192.168.1.101:53774
[2011/12/20 19:54:53] minidlna.c:1206: debug: HTTP connection from 192.168.1.101:53775
[2011/12/20 19:54:53] upnphttp.c:155: debug: Client found in cache. [type 100/entry 0]
[2011/12/20 19:54:53] upnphttp.c:822: debug: HTTP REQUEST: POST /ctl/ContentDir HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Content-Type: text/xml; charset="utf-8"
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player/12.0.7601.17514 DLNADOC/1.50 (MS-DeviceCaps/1024)
SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#Search"
Content-Length: 921
Host: 192.168.1.1:8200

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:Search xmlns:m="urn:schemas-upnp-org:service:ContentDirectory:1"><ContainerID xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">0</ContainerID><SearchCriteria xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">upnp:class derivedfrom "object.item.videoItem" and @refID exists false</SearchCriteria><Filter xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">*</Filter><StartingIndex xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4">0</StartingIndex><RequestedCount xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4">200</RequestedCount><SortCriteria xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">+dc:title</SortCriteria></m:Search></SOAP-ENV:Body></SOAP-ENV:Envelope>

[2011/12/20 19:54:53] upnphttp.c:653: debug: SOAPAction: urn:schemas-upnp-org:service:ContentDirectory:1#Search
[2011/12/20 19:54:53] upnpsoap.c:1561: debug: SoapMethod: Search
[2011/12/20 19:54:53] upnpsoap.c:1294: debug: Searching ContentDirectory:
* ObjectID: 0
* Count: 200
* StartingIndex: 0
* SearchCriteria: upnp:class derivedfrom "object.item.videoItem" and @refID exists false
* Filter: *
* SortCriteria: +dc:title
[2011/12/20 19:54:53] upnpsoap.c:1348: debug: Translated SearchCriteria: o.CLASS like "item.videoItem%" and REF_ID is NULL
[2011/12/20 19:54:53] upnpsoap.c:1397: debug: Search 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 OBJECT_ID glob '*$*' and (o.CLASS like "item.videoItem%" and REF_ID is NULL) group by DETAIL_ID  order by d.TITLE limit 0, 200
[2011/12/20 19:54:53] upnphttp.c:1146: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 631
Server: 3.0.0-14-generic DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:SearchResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><Result>&lt;DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0/"&gt;
&lt;/DIDL-Lite&gt;</Result>
<NumberReturned>0</NumberReturned>
<TotalMatches>0</TotalMatches>
<UpdateID>2</UpdateID></u:SearchResponse></s:Body></s:Envelope>

[2011/12/20 19:54:53] upnphttp.c:155: debug: Client found in cache. [type 100/entry 0]
[2011/12/20 19:54:53] upnphttp.c:822: debug: HTTP REQUEST: POST /ctl/ContentDir HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Content-Type: text/xml; charset="utf-8"
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player/12.0.7601.17514 DLNADOC/1.50 (MS-DeviceCaps/1024)
SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#GetSortCapabilities"
Content-Length: 303
Host: 192.168.1.1:8200

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:GetSortCapabilities xmlns:m="urn:schemas-upnp-org:service:ContentDirectory:1"/></SOAP-ENV:Body></SOAP-ENV:Envelope>

[2011/12/20 19:54:53] upnphttp.c:653: debug: SOAPAction: urn:schemas-upnp-org:service:ContentDirectory:1#GetSortCapabilities
[2011/12/20 19:54:53] upnpsoap.c:1561: debug: SoapMethod: GetSortCapabilities
[2011/12/20 19:54:53] upnphttp.c:1146: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 390
Server: 3.0.0-14-generic DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:GetSortCapabilitiesResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><SortCaps>dc:title,dc:date,upnp:class,upnp:originalTrackNumber</SortCaps></u:GetSortCapabilitiesResponse></s:Body></s:Envelope>

[2011/12/20 19:54:53] minidlna.c:1206: debug: HTTP connection from 192.168.1.101:53776
[2011/12/20 19:54:53] upnphttp.c:155: debug: Client found in cache. [type 100/entry 0]
[2011/12/20 19:54:53] upnphttp.c:822: debug: HTTP REQUEST: POST /ctl/ContentDir HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Content-Type: text/xml; charset="utf-8"
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player/12.0.7601.17514 DLNADOC/1.50 (MS-DeviceCaps/1024)
SOAPAction: "urn:schemas-upnp-org:service:ContentDirectory:1#Search"
Content-Length: 962
Host: 192.168.1.1:8200

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:Search xmlns:m="urn:schemas-upnp-org:service:ContentDirectory:1"><ContainerID xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">0</ContainerID><SearchCriteria xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">upnp:class derivedfrom "object.container.playlistContainer" and @refID exists false</SearchCriteria><Filter xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">dc:title,microsoft:folderPath</Filter><StartingIndex xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4">0</StartingIndex><RequestedCount xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui4">200</RequestedCount><SortCriteria xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">+dc:title</SortCriteria></m:Search></SOAP-ENV:Body></SOAP-ENV:Envelope>

[2011/12/20 19:54:53] upnphttp.c:653: debug: SOAPAction: urn:schemas-upnp-org:service:ContentDirectory:1#Search
[2011/12/20 19:54:53] upnpsoap.c:1561: debug: SoapMethod: Search
[2011/12/20 19:54:53] upnpsoap.c:1294: debug: Searching ContentDirectory:
* ObjectID: 0
* Count: 200
* StartingIndex: 0
* SearchCriteria: upnp:class derivedfrom "object.container.playlistContainer" and @refID exists false
* Filter: dc:title,microsoft:folderPath
* SortCriteria: +dc:title
[2011/12/20 19:54:53] upnpsoap.c:1348: debug: Translated SearchCriteria: o.CLASS like "container.playlistContainer%" and REF_ID is NULL
[2011/12/20 19:54:53] upnpsoap.c:1397: debug: Search 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 OBJECT_ID glob '*$*' and (o.CLASS like "container.playlistContainer%" and REF_ID is NULL) group by DETAIL_ID  order by d.TITLE limit 0, 200
[2011/12/20 19:54:53] upnphttp.c:1146: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 583
Server: 3.0.0-14-generic DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:SearchResponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><Result>&lt;DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/"&gt;
&lt;/DIDL-Lite&gt;</Result>
<NumberReturned>0</NumberReturned>
<TotalMatches>0</TotalMatches>
<UpdateID>2</UpdateID></u:SearchResponse></s:Body></s:Envelope>

[2011/12/20 19:54:54] minidlna.c:1206: debug: HTTP connection from 192.168.1.101:53778
[2011/12/20 19:54:54] upnphttp.c:155: debug: Client found in cache. [type 100/entry 0]
[2011/12/20 19:54:54] upnphttp.c:822: debug: HTTP REQUEST: POST /ctl/X_MS_MediaReceiverRegistrar HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
Content-Type: text/xml; charset="utf-8"
User-Agent: Microsoft-Windows/6.1 UPnP/1.0 Windows-Media-Player/12.0.7601.17514 DLNADOC/1.50 (MS-DeviceCaps/1024)
SOAPAction: "urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1#IsAuthorized"
Content-Length: 403
Host: 192.168.1.1:8200

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><m:IsAuthorized xmlns:m="urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1"><DeviceID xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string"></DeviceID></m:IsAuthorized></SOAP-ENV:Body></SOAP-ENV:Envelope>

[2011/12/20 19:54:54] upnphttp.c:653: debug: SOAPAction: urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1#IsAuthorized
[2011/12/20 19:54:54] upnpsoap.c:1561: debug: SoapMethod: IsAuthorized
[2011/12/20 19:54:54] upnphttp.c:1146: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 329
Server: 3.0.0-14-generic DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:IsAuthorizedResponse xmlns:u="urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1"><Result>1</Result></u:IsAuthorizedResponse></s:Body></s:Envelope>

[2011/12/20 19:54:55] minissdp.c:683: info: SSDP M-SEARCH from 192.168.1.101:50153 ST: urn:schemas-upnp-org:service:ContentDirectory:1, MX: 3, MAN: "ssdp:discover"
[2011/12/20 19:54:56] minidlna.c:1206: debug: HTTP connection from 192.168.1.101:53779
[2011/12/20 19:54:56] upnphttp.c:155: debug: Client found in cache. [type 100/entry 0]
[2011/12/20 19:54:56] upnphttp.c:822: debug: HTTP REQUEST: UNSUBSCRIBE /evt/ContentDir HTTP/1.1
Cache-Control: no-cache
Connection: Close
Pragma: no-cache
User-Agent: Microsoft-Windows/6.1 UPnP/1.0
SID: uuid:17e574e0-2b3c-11e1-a666-001d7da8f8b3
Host: 192.168.1.1:8200


[2011/12/20 19:54:56] upnphttp.c:732: debug: ProcessHTTPUnSubscribe /evt/ContentDir
[2011/12/20 19:54:56] upnphttp.c:733: debug: SID 'uuid:17e574e0-2b3c-11e1-a666-001d7da8f8b3'
[2011/12/20 19:54:56] upnpevents.c:187: debug: removeSubscriber(uuid:17e574e0-2b3c-11e1-a666-001d7da8f8b3)
[2011/12/20 19:54:56] upnphttp.c:1146: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 0
Server: 3.0.0-14-generic DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

139

Odp: instalacja miniDLNA

To jest uporządkowane. Gargoyle samodzielnie to robi jako uuid dysku i opis urządzenia.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

140

Odp: instalacja miniDLNA

Acha, to dobrze. Co teraz zrobić? Zaraz będę musiał iść do pracy i dopiero coś jutro będę mógł siąść. Przepraszam

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

141

Odp: instalacja miniDLNA

Nic, w zależności ile tam tego masz poczekaj aż zeskanuje materiał video.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

142

Odp: instalacja miniDLNA

Ok, są 4 pliki z filmami oraz dwa pliki txt z napisami. Poczekam, rano sprawdzę.

dzieki za pomoc!!

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

143

Odp: instalacja miniDLNA

Trzeba jakoś konwertować napisy żeby tv samsunga je odczytał? Seria prawdopodobnie D550

144

Odp: instalacja miniDLNA

O ILE samsung je czyta to pewnie srt.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

145

Odp: instalacja miniDLNA

Dalej nie działa. Zastanawiam się, czy problem nie dotyczy tylko i wyłącznie mojego konfiga oraz ustawienia co gdzie ma byc. Folder z filmami jest /tmp/usb_mount/dev_sdb1 bez dodatkowych znaków. A swap jest na pendrive.

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

146

Odp: instalacja miniDLNA

A na wmp działa?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

147

Odp: instalacja miniDLNA

pokaz co wypluje plecenie: mount,

pozniej pokaz raz jeszcze konfiguracje minidlna

148

Odp: instalacja miniDLNA

Witam
A więc polecenie mount oraz fdisk -l dały:

login as: root
root@192.168.1.1's password:


BusyBox v1.15.3 (2011-12-10 08:39:35 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
Backfire (10.03.x, latest version. Always.) -------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka     then Vodka.
----------( by obsy, http://eko.one.pl/ )----------
Booted from EXTERNALL ROOT
root@Gargoyle:~$ mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=14692k)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda1 on /overlay type ext3 (rw,noatime,errors=continue,data=writeback)
mini_fo:/overlay on / type mini_fo (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sdb1 on /tmp/usb_mount/F074A29774A26058 type fuseblk (rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
root@Gargoyle:~$ fdisk -l

Disk /dev/sda: 2011 MB, 2011168768 bytes
131 heads, 14 sectors/track, 2141 cylinders
Units = cylinders of 1834 * 512 = 939008 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         800      733593   83  Linux
/dev/sda2             801        2141     1229697   82  Linux swap / Solaris

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x22f822f8

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       30402   244196352    7  HPFS/NTFS
root@Gargoyle:~$

oraz mój konfig:

# port for HTTP (descriptions, SOAP, media transfer) traffic
port=8200

# network interfaces to serve, comma delimited
network_interface=br-lan

# set this to the directory you want scanned.
# * if have multiple directories, you can have multiple media_dir= lines
# * if you want to restrict a media_dir to a specific content type, you
#   can prepend the type, followed by a comma, to the directory:
#   + "A" for audio  (eg. media_dir=A,/home/jmaggard/Music)
#   + "V" for video  (eg. media_dir=V,/home/jmaggard/Videos)
#   + "P" for images (eg. media_dir=P,/home/jmaggard/Pictures)
#media_dir=/mnt
media_dir=/tmp/usb_mount/dev_sdb1/Filmy

# set this if you want to customize the name that shows up on your clients
friendly_name=OpenWrt DLNA Server

# set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache
#db_dir=/var/cache/minidlna
db_dir=/tmp/usb_mount/F074A29774A26058/

# set this if you would like to specify the directory where you want MiniDLNA to store its log file
#log_dir=/var/log

# this should be a list of file names to check for when searching for album art
# note: names should be delimited with a forward slash ("/")
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg

# set this to no to disable inotify monitoring to automatically discover new files
# note: the default is yes
inotify=yes

# set this to yes to enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO
enable_tivo=no

# set this to strictly adhere to DLNA standards.
# * This will allow server-side downscaling of very large JPEG images,
#   which may hurt JPEG serving performance on (at least) Sony DLNA products.
strict_dlna=no

# default presentation url is http address on port 80
#presentation_url=http://www.mylan/index.php

# notify interval in seconds. default is 895 seconds.
notify_interval=900

# serial and model number the daemon will report to clients
# in its XML description
serial=12345678
model_number=1

# specify the path to the MiniSSDPd socket
#minissdpdsocket=/var/run/minissdpd.sock

# use different container as root of the tree
# possible values:
#   + "." - use standard container (this is the default)
#   + "B" - "Browse Directory"
#   + "M" - "Music"
#   + "V" - "Video"
#   + "P" - "Pictures"
# if you specify "B" and client device is audio-only then "Music/Folders" will be used as root
#root_container=.

Generalnie chciałbym udostępnić folder Filmy w katalogu głównym dysku. Gdyż w instalkach jest masa plików i może niepotrzebnie mogły być indeksowane.
dzieki!

TL-WR1043ND Gargoyle:
1.6.2.2 (r42647),  by obsy oraz NAS z MiniDLNA i Transmission

wcześnej: HUB aktywny + drukarka + USB 2,5" + miniDLNA z napisami + torrent

149

Odp: instalacja miniDLNA

Masz tylko Filmy dla dlna... instalek nie rusza.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

150

Odp: instalacja miniDLNA

więc jak ja to widzę. Stwórz sobie katalog minidlna w głównym katalogu na extrocie. i teraz tak w konfiguracji minidlna zrób:


media_dir=V,/tmp/usb_mount/F074A29774A26058
media_dir=A,/tmp/usb_mount/F074A29774A26058
db_dir=/minidlna

Po zapisie konfiguracji restart minidlna /etc/init.d/minidlna restart


Miałem tak , że przy 500gb różnych filmów i muzyki bardzo długo skanowało. a po skończeniu musiałem zrebootować router żeby zadziałało. Oczywiście wcześniej musisz odmontować dysk.