help need with installing minidlna I'm too noobie

Marvell Kirkwood based
fiolet
Posts: 15
Joined: Wed Apr 22, 2015 7:52 pm

help need with installing minidlna I'm too noobie

Post by fiolet » Tue Jan 16, 2018 6:40 pm

I try to install minidlna, but have problems even to start.
I have ffp (but no minidlna.sh file)

I tried viewtopic.php?f=249&t=11831&start=225#p109215
from step 1 or step 3, but this commands doesn't make anything.
I created folder ffp/funpkg/cache/br2
when I wrote /ffp/bin/wget -nv http://downloads.zyxel.nas-central.org/ ... -arm-2.txz
I have error 404 - not found

What should I do to download minidlna package, probably if I will get minidlna.sh in some directory of ffp I can start it and install.

Thanks in advance

fiolet
Posts: 15
Joined: Wed Apr 22, 2015 7:52 pm

Re: help need with installing minidlna I'm too noobie

Post by fiolet » Tue Jan 16, 2018 7:21 pm

I arrive step #5 - what to do with it?

Code: Select all

/ffp/start$ sh /ffp/start/sshd.sh stop
PROCESS STATUS INFO: [1;33;20msshd is not running[0m
/ffp/start$ sh /ffp/start/sshd.sh start
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for '/ffp/etc/ssh/ssh_host_rsa_key' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
key_load_private: bad permissions
Could not load host key: /ffp/etc/ssh/ssh_host_rsa_key
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for '/ffp/etc/ssh/ssh_host_dsa_key' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
key_load_private: bad permissions
Could not load host key: /ffp/etc/ssh/ssh_host_dsa_key
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0777 for '/ffp/etc/ssh/ssh_host_ecdsa_key' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
key_load_private: bad permissions
Could not load host key: /ffp/etc/ssh/ssh_host_ecdsa_key
Starting sshd...[1;31;20m[ Fail!!! ] ERROR WARNING: sshd can not start!!![0m

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: help need with installing minidlna I'm too noobie

Post by barmalej2 » Tue Jan 16, 2018 7:29 pm

How do you connect to NAS? I mean what ssh or telnet server you are using: zyxel-provided or ffp sshd?

fiolet
Posts: 15
Joined: Wed Apr 22, 2015 7:52 pm

Re: help need with installing minidlna I'm too noobie

Post by fiolet » Tue Jan 16, 2018 7:31 pm

I connect using putty, login root

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: help need with installing minidlna I'm too noobie

Post by barmalej2 » Tue Jan 16, 2018 7:39 pm

Can you paste output:

Code: Select all

ps aux | grep sshd | grep -v grep

fiolet
Posts: 15
Joined: Wed Apr 22, 2015 7:52 pm

Re: help need with installing minidlna I'm too noobie

Post by fiolet » Tue Jan 16, 2018 7:44 pm

I did, no output......back to root directory

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: help need with installing minidlna I'm too noobie

Post by barmalej2 » Tue Jan 16, 2018 7:47 pm

Several more:

Code: Select all

ps aux | grep dropbear | grep -v grep
and exact output of:

Code: Select all

/ffp/bin/wget -nv http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/slapt-get-0.10.2t-arm-2.txz

fiolet
Posts: 15
Joined: Wed Apr 22, 2015 7:52 pm

Re: help need with installing minidlna I'm too noobie

Post by fiolet » Tue Jan 16, 2018 7:52 pm

1)

Code: Select all

root@tomekcloud:~# ps aux | grep dropbear | grep -v grep
root      3336  0.0  0.1   2192   520 ?        Ss   19:32   0:00 /usr/local/zy-pkgs/sbin/dropbear -R -a -P /var/run/dropbear.pid
root      6076  0.0  0.1   2264   868 ?        Ss   19:33   0:00 /usr/local/zy-pkgs/sbin/dropbear -R -a -P /var/run/dropbear.pid
root      7440  0.1  0.1   2264   900 ?        Ss   19:42   0:00 /usr/local/zy-pkgs/sbin/dropbear -R -a -P /var/run/dropbear.pid
2)

Code: Select all

root@tomekcloud:~# /ffp/bin/wget -nv http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/slapt-get-0.10.2t-arm-2.txz
2018-01-16 19:51:26 URL:http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages/slapt-get-0.10.2t-arm-2.txz [1479824/1479824] -> "slapt-get-0.10.2t-arm-2.txz" [1
]

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: help need with installing minidlna I'm too noobie

Post by barmalej2 » Tue Jan 16, 2018 8:21 pm

For cleariness. You are using dropbear (from Mijzelf 3rd party zyxel packages) for connecting to NAS via ssh protocol. dropbear stands for ssh server on NAS and putty for ssh client on Windows.
Follow the instructions you already found, except step 4. # Restart sshd daemon service after upgrading. This is unnecessary in your case, because you are using different ssh server. As far I can see from your last output, you can download slapt-get, so previous 404 is probably copy-paste inaccuracy.

I see some bad things with your ffp installation:
Permissions 0777 for '/ffp/etc/ssh/ssh_host_dsa_key' are too open. By default this file is created with strict permissions, but you have very relaxed. This not a problem, as long as you not using ffp ssh service, but this makes me think, that something very bad evil like

Code: Select all

chmod -r 777 /ffp
has been executed already, don't you? In that case, consider uninstalling ffp first and reinstalling again, before further proceeding.

fiolet
Posts: 15
Joined: Wed Apr 22, 2015 7:52 pm

Re: help need with installing minidlna I'm too noobie

Post by fiolet » Tue Jan 16, 2018 9:49 pm

still no success.
I reinstalled ffp. Connect via putty and follow instruction till step #3 slapt-get --upgrade...all commands looks like executed properly.
I left #4 and try to execute #5, but no success, I just don't have minidlna.sh file in /ffp/start....I connect to via scp and checked this folder, there is no minidlna.sh

I do not know what to do next......:)

fiolet
Posts: 15
Joined: Wed Apr 22, 2015 7:52 pm

Re: help need with installing minidlna I'm too noobie

Post by fiolet » Tue Jan 16, 2018 10:40 pm

Ok, I did install minidlna 1.2.0 sucessfully........all this efforts and my old tv panasonic viera p50g30e doesn't see this minidlna server.........zyxel's built in twonky is seen by tv, but I have problem with srt subtitles and don't want to use mkv merge or something like this.

by the way - how to configure minidlna? is it possible via www like plex or twonky?

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: help need with installing minidlna I'm too noobie

Post by barmalej2 » Wed Jan 17, 2018 6:35 am

fiolet wrote:Ok, I did install minidlna 1.2.0 sucessfully........all this efforts and my old tv panasonic viera p50g30e doesn't see this minidlna server.........zyxel's built in twonky is seen by tv, but I have problem with srt subtitles and don't want to use mkv merge or something like this.
It takes time for MiniDLNA to build database after first start (or media_dirs changing), though it should be visible on TV as soon as you start Minidlna daemon service on NAS. Is it visible on PC? Also check log file /ffp/var/log/minidlna.log.
fiolet wrote:by the way - how to configure minidlna? is it possible via www like plex or twonky?
Afaik no www config page available. It has only info www page at http://your.nas.local_ip.address:8200 . Configuration is done via editing config file-/ffp/etc/minidlna.conf. Minidlna daemon service restart or reload is required for new settings to be taken into account.
http://manpages.ubuntu.com/manpages/zes ... onf.5.html

fiolet
Posts: 15
Joined: Wed Apr 22, 2015 7:52 pm

Re: help need with installing minidlna I'm too noobie

Post by fiolet » Wed Jan 17, 2018 3:42 pm

Minidlna is seen by my mobile and PC (pc with problems, once it's ok once invisible). TV don't see it, but on the info page http://your.nas.local_ip.address:8200 there is on the list as "panasonic". Maybe you know what can i change in config file???

If you have any advice what to do with config file, please let me know also how to open and edit it:)

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: help need with installing minidlna I'm too noobie

Post by barmalej2 » Wed Jan 17, 2018 5:44 pm

Try to set low notify_interval.
notify_interval=10
and uncomment row:
max_connections=50
Then restart minidlna service.
BTW. Which type of connection is between TV and router? Wired or wireless?

fiolet
Posts: 15
Joined: Wed Apr 22, 2015 7:52 pm

Re: help need with installing minidlna I'm too noobie

Post by fiolet » Wed Jan 17, 2018 6:25 pm

how open and edit this minidlna.conf file?

edit:
ok, opened it by vi /ffp/etc/minidlna.conf. don't know how to change parameters

edit#2
ok, I change conf file using vim.

edit#3
After changing this parameters in minidlna.conf my panasonic still doesn't see this server......mobile phone see immediatley
Last edited by fiolet on Wed Jan 17, 2018 8:29 pm, edited 1 time in total.

Post Reply