351

(296 odpowiedzi, napisanych Oprogramowanie / Software)

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

352

(296 odpowiedzi, napisanych Oprogramowanie / Software)

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

353

(296 odpowiedzi, napisanych Oprogramowanie / Software)

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.

354

(296 odpowiedzi, napisanych Oprogramowanie / Software)

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

355

(296 odpowiedzi, napisanych Oprogramowanie / Software)

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

356

(296 odpowiedzi, napisanych Oprogramowanie / Software)

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

357

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Zrobiłem, dobrze?

root@Gargoyle:~$ opkg update
Downloading http://ecco.selfip.net/backfire/ar71xx/ … ackages.gz.
Inflating http://ecco.selfip.net/backfire/ar71xx/ … ackages.gz.
Updated list of available packages in /var/opkg-lists/eko1.
Downloading http://downloads.openwrt.org/backfire/1 … ackages.gz.
Inflating http://downloads.openwrt.org/backfire/1 … ackages.gz.
Updated list of available packages in /var/opkg-lists/packages.
root@Gargoyle:~$ opkg remove minidlna
Removing package minidlna from root...
Not deleting modified conffile /etc/minidlna.conf.
root@Gargoyle:~$ opkg remove libffmpej
No packages removed.
root@Gargoyle:~$ opkg install libffmpeg-full
Package libffmpeg-full (0.9-1cj) installed in root is up to date.
root@Gargoyle:~$ opkg install minidlna-cvs
Installing minidlna-cvs (20111213-1cj) to root...
Downloading http://ecco.selfip.net/backfire/ar71xx/ … ar71xx.ipk.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Configuring minidlna-cvs.
root@Gargoyle:~$

Teraz wpisać minidlna -R -d  przy wyłączonej minidlna? Bo chyba się nie włączyła?

358

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

1. nie widzi plików. Masz tam filmy? smile

No jasne, nie mogę się doczekać by je obejrzeć smile

Odnośnie odinstalowania, to mam zrobić:
# opkg update
# opkg remove minidlna
# opkg remove libffmpej

Po odinstalowaniu (mam nadzieje)
# opkg install minidlna-cvs
# opkg install libffmpeg

Będzie to poprawnie?
Chociaż nie, bo muszę jakoś zainstalować http://ecco.selfip.net/backfire/ar71xx/ … ar71xx.ipk

359

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Zatrzymuje usługę i jest to samo:

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:~$ /etc/init.d/minidlna stop
start-stop-daemon: warning: killing process 0: No such process
root@Gargoyle:~$ minidlna -R -d
[2011/12/20 18:42:18] minidlna.c:900: warn: Starting MiniDLNA version 1.0.22 [SQLite 3.7.7.1].
[2011/12/20 18:42:18] minidlna.c:923: warn: Creating new database...
[2011/12/20 18:42:18] scanner.c:726: warn: Scanning /tmp/usb_mount/dev_sdb1/Filmy
[2011/12/20 18:42:18] scanner.c:797: warn: Scanning /tmp/usb_mount/dev_sdb1/Filmy finished (0 files)!
[2011/12/20 18:42:18] minidlna.c:992: warn: HTTP listening on port 8200
[2011/12/20 18:42:18] minissdp.c:347: debug: Sending SSDP notifies
[2011/12/20 18:42:19] inotify.c:194: debug: Add watch to /tmp/usb_mount/dev_sdb1/Filmy
[2011/12/20 18:42:21] minidlna.c:1202: debug: HTTP connection from 192.168.1.101:50262
[2011/12/20 18:42:21] upnphttp.c:493: debug: Added client [100/192.168.1.101/00:1D:7D:A8:F8:B2] to cache slot 0.
[2011/12/20 18:42:21] upnphttp.c:805: 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 18:42:21] upnphttp.c:1126: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 2222
Server: Debian/unstable 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>My DLNA Server</friendlyName><manufacturer>Justin Maggard</manufacturer><manufacturerURL>http://www.debian.org/</manufacturerURL><modelDescription>MiniDLNA on Debian</modelDescription><modelName>Windows Media Connect compatible (MiniDLNA)</modelName><modelNumber>1</modelNumber><modelURL>http://www.debian.org/</modelURL><serialNumber>12345678</serialNumber><UDN>uuid:4d696e69-444c-164e-9d41-b0487abed664</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 18:42:21] minidlna.c:1202: debug: HTTP connection from 192.168.1.101:50263
[2011/12/20 18:42:21] upnphttp.c:153: debug: Client found in cache. [type 100/entry 0]
[2011/12/20 18:42:21] upnphttp.c:805: 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 18:42:21] upnphttp.c:1226: debug: Sending small PNG icon

Ale WMP i cokolwiek co odtwarza jest wyłączone

360

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Ok, zrobiłem to z drugiego kompa. 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:~$ /etc/init.d/minidlna stop
start-stop-daemon: warning: killing process 0: No such process
root@Gargoyle:~$ /etc/init.d/minidlna start
root@Gargoyle:~$ minidlna -R -d
[2011/12/20 18:40:01] minidlna.c:813: error: MiniDLNA is already running. EXITING.
root@Gargoyle:~$

Coś nie tak robię hmm Ma na to wpływ, że jest zainstalowany Nero Media Home?

361

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Jasny gwint smile Znowu przepraszam
Ok, więc uruchamiam minidlna poleceniem /etc/init.d/minidlna stop
Mam
stopped process in pidfile '/var/run/minidlna.pid' (pid 5113)
i wpisuje: minidlna -R -d
I znowu mam te same info
Że też masz cierpliwość... Mam najpierw wyłączyć usługę minidlna poleceniem /etc/init.d/minidlna stop a później wpisać minidlna -R -d  ?

uPnP ma być włączone?

362

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Przepraszam, wyłączyłem WMP oraz TV podpięty do sieci

eator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@dur
ation,res@protection,res@bitrate,res@resolution,res@protocolInfo,res@nrAudioChan
nels,res@sampleFrequency,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID
-ash: *: not found
root@Gargoyle:~$  * SortCriteria: (null)
-ash: syntax error: unexpected "("
root@Gargoyle:~$ [2011/12/20 17:58:03] upnphttp.c:1126: debug: HTTP RESPONSE: HT
TP/1.1 200 OK
-ash: [2011/12/20: not found
root@Gargoyle:~$ Content-Type: text/xml; charset="utf-8"
-ash: Content-Type:: not found
root@Gargoyle:~$ Connection: close
-ash: Connection:: not found
root@Gargoyle:~$ Content-Length: 783
-ash: Content-Length:: not found
root@Gargoyle:~$ Server: Debian/unstable DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0
-ash: Server:: not found
root@Gargoyle:~$
root@Gargoyle:~$ <?xml version="1.0" encoding="utf-8"?>
-ash: syntax error: unexpected newline
root@Gargoyle:~$ <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:BrowseRe
sponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><Result>&lt;DID
L-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;
-ash: syntax error: unexpected redirection
root@Gargoyle:~$ &lt;container id="64" parentID="0" restricted="1" childCount="0
"&gt;&lt;dc:title&gt;Browse Folders&lt;/dc:title&gt;&lt;upnp:class&gt;object.con
tainer.storageFolder&lt;/upnp:class&gt;&lt;/container&gt;&lt;/DIDL-Lite&gt;</Res
ult>
-ash: syntax error: unexpected "&"
root@Gargoyle:~$ <NumberReturned>1</NumberReturned>
-ash: syntax error: unexpected redirection
root@Gargoyle:~$ <TotalMatches>1</TotalMatches>
-ash: syntax error: unexpected redirection
root@Gargoyle:~$ <UpdateID>0</UpdateID></u:BrowseResponse></s:Body></s:Envelope>
-ash: syntax error: unexpected redirection
root@Gargoyle:~$
root@Gargoyle:~$ [2011/12/20 17:58:03] minidlna.c:1202: debug: HTTP connection f
rom 192.168.1.103:60720
-ash: [2011/12/20: not found
root@Gargoyle:~$ [2011/12/20 17:58:03] upnphttp.c:153: debug: Client found in ca
che. [type 12/entry 0]
-ash: [2011/12/20: not found
<RequestedCount>16</RequestedCount>
<SortCriteria></SortCriteria>
root@Gargoyle:~$ [2011/12/20 17:58:03] upnphttp.c:805: debug: HTTP REQUEST: POST
/ctl/ContentDir HTTP/1.1
-ash: [2011/12/20: not found
root@Gargoyle:~$ HOST: 192.168.1.1:8200
-ash: HOST:: not found
root@Gargoyle:~$ CONTENT-LENGTH: 710
-ash: CONTENT-LENGTH:: not found
root@Gargoyle:~$ CONTENT-TYPE: text/xml; charset="utf-8"
-ash: CONTENT-TYPE:: not found
root@Gargoyle:~$ SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Br
owse"
-ash: SOAPACTION:: not found
root@Gargoyle:~$ USER-AGENT: Linux/2.6.28.9 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0
LGE_DLNA_SDK/1.5.0
-ash: USER-AGENT:: not found
root@Gargoyle:~$
root@Gargoyle:~$ <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
-ash: can't open s:Envelope: no such file
root@Gargoyle:~$ s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
-ash: syntax error: unexpected newline
root@Gargoyle:~$ <s:Body><u:Browse xmlns:u="urn:schemas-upnp-org:service:Content
Directory:1">
-ash: syntax error: unexpected redirection
root@Gargoyle:~$ <ObjectID>64</ObjectID>
-ash: syntax error: unexpected redirection
root@Gargoyle:~$ <BrowseFlag>BrowseDirectChildren</BrowseFlag>
-ash: syntax error: unexpected newline
root@Gargoyle:~$ <Filter>@id,@parentID,@restricted,@childCount,dc:title,dc:creat
or, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@durati
on,res@protection,res@bitrate,res@resolution,res@protocolInfo,res@nrAudioChannel
s,res@sampleFrequency,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID</Filter>
-ash: syntax error: unexpected newline
root@Gargoyle:~$ <StartingIndex>0</StartingIndex>
-ash: syntax error: unexpected redirection
root@Gargoyle:~$ <RequestedCount>16</RequestedCount>
-ash: syntax error: unexpected redirection
root@Gargoyle:~$ <SortCriteria></SortCriteria>
-ash: syntax error: unexpected redirection
root@Gargoyle:~$ </u:Browse>
-ash: syntax error: unexpected newline
root@Gargoyle:~$ </s:Body>
-ash: syntax error: unexpected newline
root@Gargoyle:~$ </s:Envelope>
-ash: syntax error: unexpected newline
root@Gargoyle:~$
root@Gargoyle:~$ [2011/12/20 17:58:03] upnphttp.c:648: debug: SOAPAction: urn:sc
hemas-upnp-org:service:ContentDirectory:1#Browse
-ash: [2011/12/20: not found
root@Gargoyle:~$ [2011/12/20 17:58:03] upnpsoap.c:1547: debug: SoapMethod: Brows
e
-ash: [2011/12/20: not found
root@Gargoyle:~$ [2011/12/20 17:58:03] upnpsoap.c:1075: debug: Browsing ContentD
irectory:
-ash: [2011/12/20: not found
root@Gargoyle:~$  * ObjectID: 64
-ash: *: not found
root@Gargoyle:~$  * Count: 16
-ash: *: not found
root@Gargoyle:~$  * StartingIndex: 0
-ash: *: not found
root@Gargoyle:~$  * BrowseFlag: BrowseDirectChildren
-ash: *: not found
root@Gargoyle:~$  * Filter: @id,@parentID,@restricted,@childCount,dc:title,dc:cr
eator, upnp:artist,upnp:class,dc:date,upnp:album,upnp:genre,res,res@size,res@dur
ation,res@protection,res@bitrate,res@resolution,res@protocolInfo,res@nrAudioChan
nels,res@sampleFrequency,upnp:albumArtURI,upnp:albumArtURI@dlna:profileID
-ash: *: not found
root@Gargoyle:~$  * SortCriteria: (null)
-ash: syntax error: unexpected "("
root@Gargoyle:~$ [2011/12/20 17:58:03] upnpsoap.c:1145: debug: Browse SQL: SELEC
T o.OBJECT_ID, o.PARENT_ID, o.REF_ID, o.DETAIL_ID, o.CLASS, d.SIZE, d.TITLE, d.D
URATION, d.BITRATE, d.SAMPLERATE, d.ARTIST, d.ALBUM, d.GENRE, d.COMMENT, d.CHANN
ELS, 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) wh
ere PARENT_ID = '64'  limit 0, 16;
-ash: syntax error: unexpected "("
root@Gargoyle:~$ [2011/12/20 17:58:03] upnphttp.c:1126: debug: HTTP RESPONSE: HT
TP/1.1 200 OK
-ash: [2011/12/20: not found
root@Gargoyle:~$ Content-Type: text/xml; charset="utf-8"
-ash: Content-Type:: not found
root@Gargoyle:~$ Connection: close
-ash: Connection:: not found
root@Gargoyle:~$ Content-Length: 583
-ash: Content-Length:: not found
root@Gargoyle:~$ Server: Debian/unstable DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0
-ash: Server:: not found
root@Gargoyle:~$
root@Gargoyle:~$ <?xml version="1.0" encoding="utf-8"?>
-ash: syntax error: unexpected newline
root@Gargoyle:~$ <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><u:BrowseRe
sponse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1"><Result>&lt;DID
L-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;
-ash: syntax error: unexpected redirection
root@Gargoyle:~$ &lt;/DIDL-Lite&gt;</Result>
-ash: syntax error: unexpected "&"
root@Gargoyle:~$ <NumberReturned>0</NumberReturned>
-ash: syntax error: unexpected redirection
root@Gargoyle:~$ <TotalMatches>0</TotalMatches>
-ash: syntax error: unexpected redirection
root@Gargoyle:~$ <UpdateID>0</UpdateID></u:BrowseResponse></s:Body></s:Envelope>
-ash: syntax error: unexpected redirection
root@Gargoyle:~$
root@Gargoyle:~$ [2011/12/20 17:58:04] minidlna.c:1202: debug: HTTP connection f
rom 192.168.1.103:60721
-ash: [2011/12/20: not found
root@Gargoyle:~$ [2011/12/20 17:58:04] upnphttp.c:153: debug: Client found in ca
che. [type 12/entry 0]
-ash: [2011/12/20: not found
root@Gargoyle:~$ [2011/12/20 17:58:04] upnphttp.c:805: debug: HTTP REQUEST: UNSU
BSCRIBE /evt/ContentDir HTTP/1.1
-ash: [2011/12/20: not found
root@Gargoyle:~$ HOST: 192.168.1.1:8200
-ash: HOST:: not found
root@Gargoyle:~$ SID: uuid:c6cc264f-2b2b-11e1-99be-b0487abed664
-ash: SID:: not found
root@Gargoyle:~$
root@Gargoyle:~$
root@Gargoyle:~$ [2011/12/20 17:58:04] upnphttp.c:727: debug: ProcessHTTPUnSubsc
ribe /evt/ContentDir
-ash: [2011/12/20: not found
root@Gargoyle:~$ [2011/12/20 17:58:04] upnphttp.c:728: debug: SID 'uuid:c6cc264f
-2b2b-11e1-99be-b0487abed664'
-ash: [2011/12/20: not found
root@Gargoyle:~$ [2011/12/20 17:58:04] upnpevents.c:187: debug: removeSubscriber
(uuid:c6cc264f-2b2b-11e1-99be-b0487abed664)
-ash: syntax error: unexpected "("
root@Gargoyle:~$ [2011/12/20 17:58:04] upnphttp.c:1126: debug: HTTP RESPONSE: HT
TP/1.1 200 OK
-ash: [2011/12/20: not found
root@Gargoyle:~$ Content-Type: text/xml; charset="utf-8"
-ash: Content-Type:: not found
root@Gargoyle:~$ Connection: close
-ash: Connection:: not found
root@Gargoyle:~$ Content-Length: 0
-ash: Content-Length:: not found
root@Gargoyle:~$ Server: Debian/unstable DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0
-ash: Server:: not found
root@Gargoyle:~$
root@Gargoyle:~$
root@Gargoyle:~$ [2011/12/20 17:58:04] minidlna.c:1202: debug: HTTP connection f
rom 192.168.1.103:60722
-ash: [2011/12/20: not found
root@Gargoyle:~$ [2011/12/20 17:58:04] upnphttp.c:153: debug: Client found in ca
che. [type 12/entry 0]
-ash: [2011/12/20: not found
root@Gargoyle:~$ [2011/12/20 17:58:04] upnphttp.c:805: debug: HTTP REQUEST: UNSU
BSCRIBE /evt/ConnectionMgr HTTP/1.1
-ash: [2011/12/20: not found
root@Gargoyle:~$ HOST: 192.168.1.1:8200
-ash: HOST:: not found
root@Gargoyle:~$ SID: uuid:c6c904a5-2b2b-11e1-99be-b0487abed664
-ash: SID:: not found
root@Gargoyle:~$
root@Gargoyle:~$
root@Gargoyle:~$ [2011/12/20 17:58:04] upnphttp.c:727: debug: ProcessHTTPUnSubsc
ribe /evt/ConnectionMgr
-ash: [2011/12/20: not found
root@Gargoyle:~$ [2011/12/20 17:58:04] upnphttp.c:728: debug: SID 'uuid:c6c904a5
-2b2b-11e1-99be-b0487abed664'
-ash: [2011/12/20: not found
root@Gargoyle:~$ [2011/12/20 17:58:04] upnpevents.c:187: debug: removeSubscriber
(uuid:c6c904a5-2b2b-11e1-99be-b0487abed664)
-ash: syntax error: unexpected "("
root@Gargoyle:~$ [2011/12/20 17:58:04] upnphttp.c:1126: debug: HTTP RESPONSE: HT
TP/1.1 200 OK
-ash: [2011/12/20: not found
root@Gargoyle:~$ Content-Type: text/xml; charset="utf-8"
-ash: Content-Type:: not found
root@Gargoyle:~$ Connection: close
-ash: Connection:: not found
root@Gargoyle:~$ Content-Length: 0
-ash: Content-Length:: not found
root@Gargoyle:~$ Server: Debian/unstable DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0
-ash: Server:: not found
root@Gargoyle:~$

O to chodziło? Czy zrobić to z drugiego kompa?

363

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Zastopowałem miniDLNA i po wpisaniu w konsoli minidlna -r -d wyszło tyle ze się nie zmieściło:

n><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 17:51:36] minidlna.c:1202: debug: HTTP connection from 192.168.1.103:47022
[2011/12/20 17:51:36] upnphttp.c:153: debug: Client found in cache. [type 12/entry 0]
[2011/12/20 17:51:36] upnphttp.c:805: debug: HTTP REQUEST: GET /ContentDir.xml HTTP/1.1
HOST: 192.168.1.1:8200
DATE: Tue, 20 Dec 2011 16:51:35 GMT
USER-AGENT: Linux/2.6.28.9 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
friendlyName.dlna.org: LG DLNA DMC v0.1


[2011/12/20 17:51:36] upnphttp.c:1126: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 5094
Server: Debian/unstable DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

<?xml version="1.0"?>
<scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList><action><name>GetSearchCapabilities</name><argumentList><argument><name>SearchCaps</name><direction>out</direction><relatedStateVariable>SearchCapabilities</relatedStateVariable></argument></argumentList></action><action><name>GetSortCapabilities</name><argumentList><argument><name>SortCaps</name><direction>out</direction><relatedStateVariable>SortCapabilities</relatedStateVariable></argument></argumentList></action><action><name>GetSystemUpdateID</name><argumentList><argument><name>Id</name><direction>out</direction><relatedStateVariable>SystemUpdateID</relatedStateVariable></argument></argumentList></action><action><name>Browse</name><argumentList><argument><name>ObjectID</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable></argument><argument><name>BrowseFlag</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_BrowseFlag</relatedStateVariable></argument><argument><name>Filter</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_Filter</relatedStateVariable></argument><argument><name>StartingIndex</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_Index</relatedStateVariable></argument><argument><name>RequestedCount</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable></argument><argument><name>SortCriteria</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_SortCriteria</relatedStateVariable></argument><argument><name>Result</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable></argument><argument><name>NumberReturned</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable></argument><argument><name>TotalMatches</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable></argument><argument><name>UpdateID</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_UpdateID</relatedStateVariable></argument></argumentList></action><action><name>Search</name><argumentList><argument><name>ContainerID</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_ObjectID</relatedStateVariable></argument><argument><name>SearchCriteria</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_SearchCriteria</relatedStateVariable></argument><argument><name>Filter</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_Filter</relatedStateVariable></argument><argument><name>StartingIndex</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_Index</relatedStateVariable></argument><argument><name>RequestedCount</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable></argument><argument><name>SortCriteria</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_SortCriteria</relatedStateVariable></argument><argument><name>Result</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Result</relatedStateVariable></argument><argument><name>NumberReturned</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable></argument><argument><name>TotalMatches</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Count</relatedStateVariable></argument><argument><name>UpdateID</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_UpdateID</relatedStateVariable></argument></argumentList></action></actionList><serviceStateTable><stateVariable sendEvents="yes"><name>TransferIDs</name><dataType>string</dataType></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_ObjectID</name><dataType>string</dataType></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_Result</name><dataType>string</dataType></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_SearchCriteria</name><dataType>string</dataType></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_BrowseFlag</name><dataType>string</dataType><allowedValueList><allowedValue>BrowseMetadata</allowedValue><allowedValue>BrowseDirectChildren</allowedValue></allowedValueList></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_Filter</name><dataType>string</dataType></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_SortCriteria</name><dataType>string</dataType></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_Index</name><dataType>ui4</dataType></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_Count</name><dataType>ui4</dataType></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_UpdateID</name><dataType>ui4</dataType></stateVariable><stateVariable sendEvents="no"><name>SearchCapabilities</name><dataType>string</dataType></stateVariable><stateVariable sendEvents="no"><name>SortCapabilities</name><dataType>string</dataType></stateVariable><stateVariable sendEvents="yes"><name>SystemUpdateID</name><dataType>ui4</dataType></stateVariable></serviceStateTable></scpd>
[2011/12/20 17:51:36] minidlna.c:1202: debug: HTTP connection from 192.168.1.101:56273
[2011/12/20 17:51:36] upnphttp.c:153: debug: Client found in cache. [type 100/entry 1]
[2011/12/20 17:51:36] upnphttp.c:805: 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 17:51:36] upnphttp.c:1226: debug: Sending small PNG icon
[2011/12/20 17:51:36] minidlna.c:1202: debug: HTTP connection from 192.168.1.103:47023
[2011/12/20 17:51:36] upnphttp.c:153: debug: Client found in cache. [type 12/entry 0]
[2011/12/20 17:51:36] upnphttp.c:805: debug: HTTP REQUEST: GET /ConnectionMgr.xml HTTP/1.1
HOST: 192.168.1.1:8200
DATE: Tue, 20 Dec 2011 16:51:35 GMT
USER-AGENT: Linux/2.6.28.9 UPnP/1.0 DLNADOC/1.50 INTEL_NMPR/2.0 LGE_DLNA_SDK/1.5.0
friendlyName.dlna.org: LG DLNA DMC v0.1


[2011/12/20 17:51:36] upnphttp.c:1126: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 3380
Server: Debian/unstable DLNADOC/1.50 UPnP/1.0 MiniDLNA/1.0

<?xml version="1.0"?>
<scpd xmlns="urn:schemas-upnp-org:service-1-0"><specVersion><major>1</major><minor>0</minor></specVersion><actionList><action><name>GetProtocolInfo</name><argumentList><argument><name>Source</name><direction>out</direction><relatedStateVariable>SourceProtocolInfo</relatedStateVariable></argument><argument><name>Sink</name><direction>out</direction><relatedStateVariable>SinkProtocolInfo</relatedStateVariable></argument></argumentList></action><action><name>GetCurrentConnectionIDs</name><argumentList><argument><name>ConnectionIDs</name><direction>out</direction><relatedStateVariable>CurrentConnectionIDs</relatedStateVariable></argument></argumentList></action><action><name>GetCurrentConnectionInfo</name><argumentList><argument><name>ConnectionID</name><direction>in</direction><relatedStateVariable>A_ARG_TYPE_ConnectionID</relatedStateVariable></argument><argument><name>RcsID</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_RcsID</relatedStateVariable></argument><argument><name>AVTransportID</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_AVTransportID</relatedStateVariable></argument><argument><name>ProtocolInfo</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_ProtocolInfo</relatedStateVariable></argument><argument><name>PeerConnectionManager</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_ConnectionManager</relatedStateVariable></argument><argument><name>PeerConnectionID</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_ConnectionID</relatedStateVariable></argument><argument><name>Direction</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_Direction</relatedStateVariable></argument><argument><name>Status</name><direction>out</direction><relatedStateVariable>A_ARG_TYPE_ConnectionStatus</relatedStateVariable></argument></argumentList></action></actionList><serviceStateTable><stateVariable sendEvents="yes"><name>SourceProtocolInfo</name><dataType>string</dataType></stateVariable><stateVariable sendEvents="yes"><name>SinkProtocolInfo</name><dataType>string</dataType></stateVariable><stateVariable sendEvents="yes"><name>CurrentConnectionIDs</name><dataType>string</dataType></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_ConnectionStatus</name><dataType>string</dataType><allowedValueList><allowedValue>OK</allowedValue><allowedValue>ContentFormatMismatch</allowedValue><allowedValue>InsufficientBandwidth</allowedValue><allowedValue>UnreliableChannel</allowedValue><allowedValue>Unknown</allowedValue></allowedValueList></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_ConnectionManager</name><dataType>string</dataType></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_Direction</name><dataType>string</dataType><allowedValueList><allowedValue>Input</allowedValue><allowedValue>Output</allowedValue></allowedValueList></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_ProtocolInfo</name><dataType>string</dataType></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_ConnectionID</name><dataType>i4</dataType></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_AVTransportID</name><dataType>i4</dataType></stateVariable><stateVariable sendEvents="no"><name>A_ARG_TYPE_RcsID</name><dataType>i4</dataType></stateVariable></serviceStateTable></scpd>
[2011/12/20 17:51:37] inotify.c:194: debug: Add watch to /tmp/usb_mount/dev_sdb1/Filmy
[2011/12/20 17:51:39] minidlna.c:1202: debug: HTTP connection from 192.168.1.101:56274
[2011/12/20 17:51:39] upnphttp.c:153: debug: Client found in cache. [type 100/entry 1]
[2011/12/20 17:51:39] upnphttp.c:805: debug: HTTP REQUEST: GET /rootDesc.xml HTTP/1.1
Cache-Control: no-cache
Connection: Keep-Alive
Pragma: no-cache
Accept: text/xml, application/xml
User-Agent: FDSSDP
Host: 192.168.1.1:8200


[2011/12/20 17:51:39] upnphttp.c:1126: debug: HTTP RESPONSE: HTTP/1.1 200 OK
Content-Type: text/xml; charset="utf-8"
Connection: close
Content-Length: 2222
Server: Debian/unstable 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>My DLNA Server</friendlyName><manufacturer>Justin Maggard</manufacturer><manufacturerURL>http://www.debian.org/</manufacturerURL><modelDescription>MiniDLNA on Debian</modelDescription><modelName>Windows Media Connect compatible (MiniDLNA)</modelName><modelNumber>1</modelNumber><modelURL>http://www.debian.org/</modelURL><serialNumber>12345678</serialNumber><UDN>uuid:4d696e69-444c-164e-9d41-b0487abed664</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>

364

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Acha, WMN z Win7 widzi server, ale nie widzi plików

365

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Tak, przez mapowanie dysku wszystko działa. Mogę kopiować pliki bez problemu. Natomiast TV widzi tylko My DLNA server i tyle

366

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Więc mam coś takiego:
fdisk -l

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:~$


Chcę udostępnić cały dysk, na próbę. ntfs-3g jest zainstalowany.
W putty daje ls i jest

root@Gargoyle:~$ ls /tmp/usb_mount/dev_sdb1
$RECYCLE.BIN                       Instalki
F074A29774A26058                   Instrukcje odzyskiwania dysku.txt
Filmy                              do routera
IMG_4904.JPG
root@Gargoyle:~$

w etc/minidlna.conf mam wpisane
media_dir=/tmp/usb_mount/dev_sdb1/Filmy

i TV nie widzi żadnego pliku ani folderu. Usługę jak i router restartowałem. HELP smile

367

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Ok, przeczytam. Nie chce pokaszanić czegoś w routerze, bo na razie chodzi bardzo przyjemnie. Jutro pewnie się odezwę, celem dalszej pomocy przy dodaniu minidlna. dzieki i dobrej nocy


edit:
zainstalowałem minidlna w/g Twojej porady. Czyli tak:

# opkg update
    # opkg install minidlna

i później
zrobiłem

# opkg install minidlna-cvs

Pojawiło się

root@Gargoyle:~$ opkg install minidlna-cvs
Installing minidlna-cvs (20111213-1cj) to root...
Downloading http://ecco.selfip.net/backfire/ar71xx/ … ar71xx.ipk.
Multiple packages (libpthread and libpthread) providing same name marked HOLD or PREFER. Using latest.
Collected errors:
* check_data_file_clashes: Package minidlna-cvs wants to install file /etc/init.d/minidlna
        But that file is already provided by package  * minidlna
* check_data_file_clashes: Package minidlna-cvs wants to install file /etc/minidlna.conf
        But that file is already provided by package  * minidlna
* check_data_file_clashes: Package minidlna-cvs wants to install file /usr/bin/minidlna
        But that file is already provided by package  * minidlna
* opkg_install_cmd: Cannot install package minidlna-cvs.

Czy wgrałem najnowszą wersję z Twojego repozytorium, czy inaczej to się robi?


W usługach jest zaznaczona jako autostart i włączona. TV widzi ten serwer, ale nie wiem jak udostępnić folder Filmy na dysku. Zrobię to przez putty czy przez www? Na próbę nagrałem jeden film z napisami (nie wiadomo czy pójdą) aby nie indeksował za długo.

368

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Chodzi o Extroot`a do routera? To mam go na pendrive 2GB, razem z swapem, podzielony po 1GB. Będzie ok?
Jeśli chodzi o instalację, to będę musiał zrobić:

# opkg update
    # opkg install minidlna

i edycję pliku /etc/minidlna.conf ?
dzieki

369

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Tak, chodzi o  eko. one. pl  Szybka i fachowa pomoc. Sorry za wazeliniarstwo wink
Cezary, chodzi Ci o ten poradnik: http://eko.one.pl/?p=openwrt-dlna ?
Czy da rade to obsługiwać po przez panel WWW i na dysku NTFS?
dzieki

370

(39 odpowiedzi, napisanych Oprogramowanie / Software)

OK, dziękuje Cezary.
pozdrawiam

371

(296 odpowiedzi, napisanych Oprogramowanie / Software)

Witam ponownie
Świetny support ma to forum - da się je jakoś "dotować" ?
Uruchomiłem drukarkę - jest super, działa jak należy. Idąc kolejnym krokiem, chciałbym uruchomić minidlna lub coś podobnego. Po podpięciu dysku 2,5" do huba USB, uruchomiłem FTP i śmiga super. Partycja jest NTFS 250GB. Odnośnie dlna, to TV obsługuje je. Obecnie mam takie ustawienia.
http://img220.imageshack.us/img220/5374/dodatkimc.th.png
http://img215.imageshack.us/img215/3692/dyskn.th.png
http://img830.imageshack.us/img830/4430/ftpd.th.png
http://img834.imageshack.us/img834/1065/uslugi.th.png

Rozumiem, że muszę doinstalować usługę miniDLNA, tak?

372

(39 odpowiedzi, napisanych Oprogramowanie / Software)

Działa smile Wolałem się upewnić, gdzie szukać. Przeinstalowałem drukarkę z podpiętym kablem do lapka, po instalacji zmieniłem port z USB na TCP/IP i reset routera. Działa (narazie wink ) na XP w Win7. Mam jeszcze pytanie. Kiedyś planuje kupić drukarkę z WiFi. Będę mógł korzystać z skanowania po przez sieć?

373

(39 odpowiedzi, napisanych Oprogramowanie / Software)

Wszystko zostało wyłączone. Szukać raczej w systemach obu komputerów, a router zostawić?

374

(39 odpowiedzi, napisanych Oprogramowanie / Software)

Oczywiście skonfigurowałem drukarkę w/g tego poradnika.

375

(39 odpowiedzi, napisanych Oprogramowanie / Software)

Witam
Od wczoraj posiadam Gargoyle - świetny, funkcjonalność o niebo lepsza niż w standardowym firmware. Jest problem z drukarką smile
Zakupiłem huba USB LogiLink z zasilaczem. Podpiąłem pena, drukarkę i nie działa. Posiadam dwa komputery: stacjonarny z Windows 7 prof po kablu oraz laptopa Della z WinXP prof przez WiFi. Gdy zaloguję się  do panela, w konfiguracji jest coś takiego:
"Drukarka DeskJet 3820 jest podłączona przez USB.

Możesz połączyć się z drukarką po adresie IP 192.168.1.1 przez protokół HP JetDirect."

Co ciekawe, gdy konfigurowałem drukarkę w Win7 dało się wydrukować stronę testową. Przy konfiguracji na Xp już nie. Prosiłbym o pomoc lub naprowadzenie.  Znalezienie drukarek na kompach poszło bez problemów, oraz wykrycie jej przez router.
dzieki i jeszcze raz - świetna robota!

_______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| 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:~$ cat /proc/bus/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.32.27 ehci_hcd
S:  Product=Atheros AR91xx built-in EHCI controller
S:  SerialNumber=ar71xx-ehci
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1a40 ProdID=0101 Rev= 1.11
S:  Product=USB 2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0951 ProdID=1607 Rev= 2.00
S:  Manufacturer=Kingston
S:  Product=DataTraveler 2.0
S:  SerialNumber=89900000000000006CB02AED
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#=  9 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=03f0 ProdID=1904 Rev= 1.00
S:  Manufacturer=Hewlett-Packard
S:  Product=DeskJet 3820
S:  SerialNumber=CN33O190RW18
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
root@Gargoyle:~$