-
Posts
1,762 -
Joined
-
Last visited
-
Days Won
27
Content Type
Profiles
Forums
Gallery
Downloads
Blogs
Events
Posts posted by hellonow
-
-
@zyxmon пока не отключается и на зависает. подключил 2 клиента Android OS 4.4 VLC + Windows 10 1703 >
-
@zyxmon да
~ # opkg files minidlna
Package minidlna (1.1.6+git-8a996b-1a) is installed on root and has the following files:
/opt/bin/minidlna
/opt/etc/minidlna.conf
/opt/etc/init.d/S90minidlna
~ #
В mediatomb больше минусов перед minidlna. Но походу пока к нему все-таки придется привыкнуть. Еще совет @IgaX хочу попробовать. -
@zyxmon не помогло. удалил старый conf, сделал:
~ # opkg install http://entware-3x.zyxmon.org/binaries/mipsel/test/minidlna_1.1.6%2bgit-8a996b-1a_mipsel-3x.ipk
Downloading http://entware-3x.zyxmon.org/binaries/mipsel/test/minidlna_1.1.6%2bgit-8a996b-1a_mipsel-3x.ipk
Installing minidlna (1.1.6+git-8a996b-1a) to root...
новый conf не трогал, все по дефолту. Далее подкл клиента WIn10, потом подключил клиента Android OS 4.4 и далее DLNA пропал из виду. логи https://pastebin.com/606NEBeXеще лог https://pastebin.com/uRgRGgjZ
-
-
@zyxmon поставил значение по дефалту 900 (с 60 аналогично), вот что выдал лог перед пропаданием DLNA в системе.
-
@zyxmon @TheBB планируется обновление пакета minidlna в репозитории до версии 1.2.0?
1.2.0 - Released 17-May-2017
--------------------------------
- Add libavformat > 57 compatibility.
- Add TiVo Bonjour discovery support using Avahi for Bolt.
- Improve Samsung BD-J5500 support.
- Add quirk to fix video playback on Hyundai TVs.
- Add non-destructive update rescan support.
- Enhance bookmark support to work with Kodi. -
@zyxmon debug system?
debug log minidlna: # each section can use a different level: off, fatal, error, warn, info, or debug
log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warnсейчас буду ловить лог minidlna.
# notify interval in seconds. default is 895 seconds.
notify_interval=60сейчас сначала попробую с минимальным значением, далее сделаю максимальное, если будет отвал DLNA.
-
@ndm к сожалению не помогло, пропадает DLNA через 20-30 минут на всех устройствах - TV. Win10. Все те же симптомы. Проверял на Viva + VPN Сервер, Giga II + VPN Сервер ;(
-
@ndm пока делаю обкатку. Вчера тестил на Extra II без VPN-сервера. Сегодня буду "гонять" на Viva \ Giga II с VPN-сервером. Позже отпишусь.
-
Установка и настройка minidlna
minidlna - DLNA\UPnP-сервер, который поддерживает мультимедийные файлы (музыку, изображения и видео). Данный OPKG-пакет предназначен для тех, у кого наблюдаются проблемы в работе встроенного "прошивочного" minidlna.
Версия из репозитория minidlna 1.2.1:
http://bin.entware.net/mipselsf-k3.4/minidlna_1.2.1-2_mipsel-3.4.ipk
1.2.1 - Released 24-Aug-2017
--------------------------------
- Added Movian client detection and subtitle support.
- Fixed an issue with discovery on non-Linux systems.
- Fixed Bonjour discovery compatibility with TiVo Bolt.
- Fixed NFO file parsing, and added change monitoring support for them.
- Added a workaround for video thumbnails on some Samsung clients.
- Added DoS protection for event subscriptions.
- Fixed content browsing issues with some Samsung TVs.
- Improved non-destructive update scan support.Подготовка:
1. Создаем раздел EXT4 на жестком диске - Использование файловой системы EXT4 на USB-накопителях.
2. Установка и настройка Entware - в данной теме.
Работоспособность проверена с:
Keenetic Giga KN-1010, прошивка draft 2.12.A.3.0-2 от 06.02.2018, раздел на HDD EXT4.
Обновляемся:
/ # opkg update Downloading http://bin.entware.net/mipselsf-k3.4/Packages.gz Updated list of available packages in /opt/var/opkg-lists/entware Downloading http://bin.entware.net/mipselsf-k3.4/keenetic/Packages.gz Updated list of available packages in /opt/var/opkg-lists/keendev
Устанавливаем пакет minidlna - 1.2.1-2:
~ # opkg install http://bin.entware.net/mipselsf-k3.4/minidlna_1.2.1-2_mipsel-3.4.ipk Downloading http://bin.entware.net/mipselsf-k3.4/minidlna_1.2.1-2_mipsel-3.4.ipk Installing minidlna (1.2.1-2) to root... Installing libexif (0.6.21-1) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libexif_0.6.21-1_mipsel-3.4.ipk Installing libjpeg (9a-1) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libjpeg_9a-1_mipsel-3.4.ipk Installing libsqlite3 (3210000-2) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libsqlite3_3210000-2_mipsel-3.4.ipk Installing libid3tag (0.15.1b-4) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libid3tag_0.15.1b-4_mipsel-3.4.ipk Installing libflac (1.3.2-1) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libflac_1.3.2-1_mipsel-3.4.ipk Installing libvorbis (1.3.5-2) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libvorbis_1.3.5-2_mipsel-3.4.ipk Installing libogg (1.3.2-2) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libogg_1.3.2-2_mipsel-3.4.ipk Installing libuuid (2.30.2-2) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libuuid_2.30.2-2_mipsel-3.4.ipk Installing libffmpegthumbnailer (2.2.0-1) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libffmpegthumbnailer_2.2.0-1_mipsel-3.4.ipk Installing libffmpeg-full (3.2.9-1) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libffmpeg-full_3.2.9-1_mipsel-3.4.ipk Installing libbz2 (1.0.6-3) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libbz2_1.0.6-3_mipsel-3.4.ipk Installing alsa-lib (1.1.5-1) to root... Downloading http://bin.entware.net/mipselsf-k3.4/alsa-lib_1.1.5-1_mipsel-3.4.ipk Installing libopus (1.2.1-1) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libopus_1.2.1-1_mipsel-3.4.ipk Installing libpng (1.6.34-1) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libpng_1.6.34-1_mipsel-3.4.ipk Installing libiconv-full (1.11.1-3) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libiconv-full_1.11.1-3_mipsel-3.4.ipk Installing libintl-full (0.19.8.1-1) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libintl-full_0.19.8.1-1_mipsel-3.4.ipk Configuring libbz2. Configuring alsa-lib. Configuring libopus. Configuring libffmpeg-full. Configuring libpng. Configuring libjpeg. Configuring libffmpegthumbnailer. Configuring libogg. Configuring libexif. Configuring libflac. Configuring libiconv-full. Configuring libvorbis. Configuring libuuid. Configuring libintl-full. Configuring libsqlite3. Configuring libid3tag. Configuring minidlna.
Запускаем из /opkg/etc/init.d/S90minidlna (opkg - у меня так называется раздел):
~ # /opt/etc/init.d/S90minidlna start Starting minidlna... done.
Доступные команды:
~ # /opt/etc/init.d/S90minidlna Usage: /opt/etc/init.d/S90minidlna (start|stop|restart|check|kill|reconfigure)
Останавливаем minidlna:
~ # /opt/etc/init.d/S90minidlna stop Checking minidlna... alive. Shutting down minidlna... done.
Редактируем конфиг:
Оригинальный конфиг из minidlna:
# port for HTTP (descriptions, SOAP, media transfer) traffic port=8200 # network interfaces to serve, comma delimited #network_interface=eth0 # specify the user account name or uid to run as #user=jmaggard # set this to the directory you want scanned. # * if you want multiple directories, you can have multiple media_dir= lines # * if you want to restrict a media_dir to specific content types, you # can prepend the types, 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) # + "PV" for pictures and video (eg. media_dir=PV,/home/jmaggard/digital_camera) media_dir=/opt/media # set this to merge all media_dir base contents into the root container # note: the default is no #merge_media_dirs=no # set this if you want to customize the name that shows up on your clients #friendly_name=My 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=/opt/var/minidlna # set this if you would like to specify the directory where you want MiniDLNA to store its log file log_dir=/opt/var/minidlna # set this to change the verbosity of the information that is logged # each section can use a different level: off, fatal, error, warn, info, or debug #log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn # 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=/opt/var/minidlna/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" # + Or, you can specify the ObjectID of your desired root container (eg. 1$F for Music/Playlists) # if you specify "B" and client device is audio-only then "Music/Folders" will be used as root #root_container=. # always force SortCriteria to this value, regardless of the SortCriteria passed by the client #force_sort_criteria=+upnp:class,+upnp:originalTrackNumber,+dc:title # maximum number of simultaneous connections # note: many clients open several simultaneous connections while streaming #max_connections=50 # PNG image to use for an icon, optionally followed by a hex background # color #icon=myicon.png,7f7f7f # Background color (hex rgb triplet) for PNG images converted to jpeg. Two # colors indicate that a checkerboard background, in those colors, should # be used. #bgcolor=666666,999999 # Suport to Movie Thumbnail generation. To use this option, thumbnail generation must be enable at compile time. enable_thumbnail=yes # The width of the thumbnail image. Large images takes more time to generate. To use this option, thumbnail generation must be enable at compile time. thumbnail_width=160 # Thumbnail Image quality. To use this option, thumbnail generation must be enable at compile time. thumbnail_quality=8 # Should the thumbnail have a film strip? To use this option, thumbnail generation must be enable at compile time. enable_thumbnail_filmstrip=yes # For owners of LG TVs who suffer from 100% CPU utilization on the server # If you have a large collection of movies, set this value to define # how many objects will be sent by the server at once (0-100) # The downside of using this option is being unable to # "see" all images and/or pictures at once, the workaround is to use # the "Browse Folders" mode # search_limit=0
Конфиг можете отредактировать "под себя".
Все файлы поместил сюда:
media_dir=/opt/media
Там же сделал папки: Music, Video, JPG, Torrents, Other.
Для себя сделал такой конфиг:
# port for HTTP (descriptions, SOAP, media transfer) traffic port=8201 # network interfaces to serve, comma delimited network_interface=br0 # set this to the directory you want scanned. media_dir=/opt/media # set this to merge all media_dir base contents into the root container # note: the default is no merge_media_dirs=no # set this if you want to customize the name that shows up on your clients friendly_name=EXTRA_DLNA # set this if you would like to specify the directory where you want MiniDLNA to store its database and album art cache db_dir=/opt/var/minidlna/db # set this if you would like to specify the directory where you want MiniDLNA to store its log file log_dir=/opt/var/minidlna/log # set this to change the verbosity of the information that is logged # each section can use a different level: off, fatal, error, warn, info, or debug log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn # 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 # notify interval in seconds. default is 895 seconds. notify_interval=60 # serial and model number the daemon will report to clients # in its XML description serial=12345678 model_number=1 # maximum number of simultaneous connections # note: many clients open several simultaneous connections while streaming max_connections=50 # Suport to Movie Thumbnail generation. To use this option, thumbnail generation must be enable at compile time. enable_thumbnail=yes # The width of the thumbnail image. Large images takes more time to generate. To use this option, thumbnail generation must be enable at compile time. thumbnail_width=160 # Thumbnail Image quality. To use this option, thumbnail generation must be enable at compile time. thumbnail_quality=8 # Should the thumbnail have a film strip? To use this option, thumbnail generation must be enable at compile time. enable_thumbnail_filmstrip=yes
Запускаем minidlna:
~ # /opt/etc/init.d/S90minidlna start Starting minidlna... done.
Проверяем работу minidlna.
- 4
- 1
-
@Lordmaster например так.
- 1
-
@ndm прописал ip http proxy transmission, доступ на transmission.piuextra.mykeenetic.ru есть, заходит без проблем. Сделал проброс через NAT порт 8090, не работает..
@ndm к сожалению в программе жестко по порту, по доменному имени никак:
@Le ecureuil прописал:
(config)> ip http proxy trnt
Http::Manager: Proxy "trnt" successfully created.
(config-http-proxy)> upstream http 192.168.223.1 8090
Http::Manager: Proxy "trnt" upstream was set.
(config-http-proxy)> domain ndns
Http::Manager: Configured ndns domain for proxy: trnt.
(config-http-proxy)> allow public
Http::Manager: Proxy security level is set to "public".
(config)> system
Core::Configurator: Done.
(system)> configuration save
Core::ConfigurationSaver: Saving configuration...Заработало моментально, зашел по адресу http://trnt.piuextra.mykeenetic.ru/transmission/web/ без проблем:
(config)> show ip http proxy
proxy:
name: trnt
domain: piuextra.mykeenetic.ru
upstream: http://192.168.223.1:8090
allow: public
ndns: yes -
@r13 да, конечно я это понимаю, сейчас этим занимаюсь. но настройка доменного имя 4го уровня мне не подходит, т.к. нужен доступ через сторонние приложения типа Transmission Remote
-
@ndm Вы имеете ввиду доступ через 80ый порт? Да, если заходить по http://piuextra.mykeenetic.ru/ проблем нет. сейчас проверял через мобильный интернет. А вот по piuextra.mykeenetic.ru:8090 уже не заходит. При этом получаю такую запись:
(config)> show ndns
name: piuextra
booked: piuextra
domain: mykeenetic.ru
address: 0.0.0.0
updated: yes
access: cloudttp:
direct: no
interface: FastEthernet0/Vlan2
address: 10.77.140.xxtunnel:
id: 501cc07a91e5e160b2d63a3329f34269
client: 213.87.162.xx
proxy: 46.105.148.xx:443
target: 10.77.140.xx:80tunnel:
id: a8a7cf908f37143de46c89319f21d366
client: 213.87.162.xx
proxy: 46.105.148.xx:443
target: 10.77.140.xx:80tunnel:
id: 83d202fde6b2896d3f1cc1662aca9b48
client: 213.87.162.xx
proxy: 46.105.148.xx:443
target: 10.77.140.xx:80tunnel:
id: 0ce3339fc9439b9832ebd22e29089d8a
client: 213.87.162.xx
proxy: 46.105.148.xx:443
target: 10.77.140.xx:80tunnel:
id: 4272b91f8841a6cfb08d261259d35aa5
client: 213.87.162.xx
proxy: 46.105.148.xx:443
target: 10.77.140.xx:80tunnel:
id: d97239c09d7eb63d934929bbf837c0bd
client: 213.87.162.xx
proxy: 46.105.148.xx:443
target: 10.77.140.xx:80tunnel:
id: cefb4986b11097e4ff534842955ef9eb
client: 213.87.162.xx
proxy: 46.105.148.xx:443
target: 10.77.140.xx:80
-
@ndm Extra II 2.10.A.2.0-0 серый ип - понадобился доступ через KeenDNS на порт 8090 transmission - piuextra.mykeenetic.ru:8090 и заметил, что при заходе выдает ошибку страницы "Bad Request". При этом настройки следующие - настроен доступ через ndns с доменным именем piuextra.mykeenetic.ru, через cloud, вкл чекбокс #usb.transmission "Разрешить управление из Интернета". С таким конфигом в v2.08(ABGH.0)C2 черз piuextra.mykeenetic.ru:8090 заходит без проблем, при этом записи такие:
(config)> show ndns
name: piuextra
booked: piuextra
domain: mykeenetic.ru
address: 0.0.0.0
access: cloudttp:
direct: no
interface: FastEthernet0/Vlan2
address: 10.77.140.xxtunnel:
id: 0793ee0e19b5717ce30847559dd3e9b9
client: 81.5.116.xx
proxy: 91.218.112.xx:443
target: 10.77.140.xx:8090tunnel:
id: 636e760558c72e1d19a2d1fe4300aba3
client: 81.5.116.xx
proxy: 91.218.112.xx:443
target: 10.77.140.xx:8090tunnel:
id: 9df270a1fe2e259032ade48f989bd043
client: 81.5.116.xx
proxy: 91.218.112.xx:443
target: 10.77.140.xx:8090Настройку порта через NAT и через доменное имя 4-го уровня при этом не делаю.
В 2.10.A.2.0-0 картина другая, делаю тоже самое, но получаю Bad Request и записи такие:
(config)> show ndns
name: piuextra
booked: piuextra
domain: mykeenetic.ru
address: 0.0.0.0
updated: yes
access: cloudttp:
direct: no
interface: FastEthernet0/Vlan2
address: 10.77.140.xx@ndm Как видим туннель не поднимается через cloud. Вопрос, со стороны какой прошивки баг?
селф тесты ниже
- 1
-
В 12.11.2016 в 08:10, Le ecureuil сказал:
И это тоже пока нельзя.
@ndm есть ли в планах разрешить пускать через keendns 21ый порт?
-
@ndm Extra II 2.10.A.2.0-0 - сбросил настройки до заводских, начал настройку VPN PPTP - клиентов, обнаружил, что неправильно отображается интерфейс, через которое будет идти подключение PPTP-клиента в #broadband.ppp:
1. Создаю первого клиента, показывает подключение Guest VLAN ISP.
2. Создаю второго клиента, показывает подключение MIPTGII ISP - название первого клиента.
- 1
-
@ndm а будет реализовано распределение адресов между сегментами в 2.10? Я уже с горя установил opkg и начал смотреть в сторону Mediatomb. Встроенный DLNA полностью устраивает своим функционалом, но вот эти отключения, которые начались с 2.09 Дело в том, что эти отключения происходят в разных билдах Win 10, ТВ, но не на всех моделях Keenetic. Вот такие проблемы замечены на Giga II, Viva. При этом на Extra II все отлично, т.к. нет VPN-сервера.
-
@ndm @Le ecureuil @gumage сейчас включал отладку на Viva 2.10.A.2.0-0 и заметил, что PPTP так и не может подключиться к серверу провайдера, пришлось руками подключаться.
селф тест ниже
- 1
-
Продолжение из 2.09
@ndm @Le ecureuil @vst Viva 2.10.A.2.0-0 Windows 10 Pro x64 1703 - теперь стало пропадать и в Виндовом клиенте, минут через 20-30, пока не переподключишь кабель, клиент не увидит DLNA. Есть какие новости в данном направление? Или пока глухо?
@Masson как у Вас обстоят дела?
self-test ниже.
-
@Dima ну вы замахнулись с таким количеством не протестировав заранее. Для KIII к сожалению не выкладываю, просьба обращаться к уважаемым @ndm и @Le ecureuil
-
@ndm починил отображение интерфейсов, заново прописав (замечу, что в cli интерфейс ISP тоже не отображался):
Login: admin
Password: ********
(config)> interface FastEthernet0/Vlan2
Core::Configurator: Done.
(config-if)> rename ISP
Network::Interface::Base: "FastEthernet0/Vlan2": renamed to "ISP".
(system)> configuration save
Core::ConfigurationSaver: Saving configuration...Json::Object: AppendMember: duplicate key: "access-group". - данная запись "ушла".
- 1
-
@ndm Keenetic 4G III revA 2.10.A.2.0-0 - после обновления сломалось отображение интерфейсов в #broadband.globals:
Jun 18 10:34:08ndm Json::Object: AppendMember: duplicate key: "access-group".
Jun 18 10:34:21ndm Core::Syslog: last message repeated 4 times.
Jun 18 10:34:22pptp[366] Echo Reply received.
Jun 18 10:34:26ndm Json::Object: AppendMember: duplicate key: "access-group".
Jun 18 10:34:28ndm Core::Syslog: last message repeated 2 times.
self-test иниже. при этом локальная сеть и интернет работаю исправно.
- 1
-
@ndm @Le ecureuil @gumage подтверждаю на примере Keenetic Start II 2.10.A.2.0-0 - провайдер с PPTP подключением. Обновил прошивку до 2.10.A.2.0-0 и PPTP после перезагрузки не поднимается. Пришлось "руками" переподключать соединение.
self-test ниже.
- 1
Пропадает DLNA при работе VPN-сервера
in 2.10
Posted
@zyxmon эхх.... нет, отвалилось. @IgaX тоже не прошло. @zyxmon теперь хоть логи не зависали, а то когда отвал был, сразу логи вставали намертво, даже не завершишь работу minidlna-только перезагрузка.
@ndm очень ждем фиксов на счет DLNA. очень.