HowTo install Openmediavault on Zyxel NSA325

Marvell Kirkwood based
dfarning
Posts: 16
Joined: Sun Aug 03, 2014 12:11 am

HowTo install Openmediavault on Zyxel NSA325

Post by dfarning » Sun Aug 03, 2014 12:17 am

I just posted a thread on installing Debian Wheezy on a NSA325. That prepares the stage for installing openmediavault.

The upcoming release of openmediavault (OMV) which is targeted for release in 2-3 months is based on Wheezy. Lucky for us we can install the prerelease packages from http://packages.openmediavault.org/public and provide feedback to the OMV developers prior to the release.

Without further ado... log in as root and:

edit your /etc/sources.list

Code: Select all

nano /etc/apt/sources.list
to look like

Code: Select all

deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free

deb http://packages.openmediavault.org/public kralizec main
Update local package database and install openmediavault-keyring postfix

Code: Select all

apt-get update && apt-get install --install-recommends openmediavault-keyring postfix
When you get a prompt to configure Postfix select, No Configuration.

Update again and install OMV.

Code: Select all

apt-get update && apt-get install --install-recommends openmediavault
When you get a prompt to configuring mdadm, enter none.
When you get a prompt to start MD arrays automatically, enter yes
When you get a prompt to configure proftpd, select standalone

Note: I am not sure why you can not just apt-get install openmediavault-keyring openmediavault. When I tried last night I got errors until I did it in two separate steps.

Initialise openmediavault and reboot.

Code: Select all

omv-initsystem && reboot
Login to the OMV web portal as 'admin' with password 'openmediavault'.
Last edited by dfarning on Mon Aug 04, 2014 7:35 pm, edited 1 time in total.

Winterwolf
Posts: 283
Joined: Thu Jun 06, 2013 12:56 pm

Re: HowTo install Openmediavault on Zyxel NSA325

Post by Winterwolf » Tue Aug 05, 2014 8:13 pm

So OMV Is just supposed to replace the standard zyxel management GUI.
Does it bring any better features?
NAS: NSA 325
FW : NSA325_V4.70(AAAJ.0)
FFP : v0.7 on HDD
  • Running SickBeard (vMaster)
    Running NZBGet (v15)
    Running Transmission (v2.84)
    Running Darkstat

dfarning
Posts: 16
Joined: Sun Aug 03, 2014 12:11 am

Re: HowTo install Openmediavault on Zyxel NSA325

Post by dfarning » Wed Aug 06, 2014 9:32 pm

The biggest advantage is that by running stock Debian you can just install any package that runs on Debian with a single command "apt-get install ...."

The second advantage is that there is tight collaboration with the OMV developers and the OMV-Plugin developers.

If one is happy with the stock management GUI, there is probably little need for Debian + OMV. If one starts adding packages via FFP or other means, Debian + OMV looks good.

androbot
Posts: 1
Joined: Mon Sep 29, 2014 3:15 pm

Re: HowTo install Openmediavault on Zyxel NSA325

Post by androbot » Mon Sep 29, 2014 3:17 pm

I have one error:

Code: Select all


Setting up collectd (5.1.0-3) ...
[FAIL] Restarting statistics collection and monitoring daemon: collectd not restarting, configuration error failed!
invoke-rc.d: initscript collectd, action "restart" failed.
dpkg: error processing collectd (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openmediavault:
 openmediavault depends on collectd (>= 5.1.0); however:
  Package collectd is not configured yet.

dpkg: error processing openmediavault (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 collectd
 openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)


yabanas
Posts: 32
Joined: Thu May 15, 2014 6:33 pm

Re: HowTo install Openmediavault on Zyxel NSA325

Post by yabanas » Thu Oct 02, 2014 8:13 am

Can openmediavault be installed on NSA325 v2?
Is it better than the original software?

dfarning
Posts: 16
Joined: Sun Aug 03, 2014 12:11 am

Re: HowTo install Openmediavault on Zyxel NSA325

Post by dfarning » Thu Oct 02, 2014 1:48 pm

After running OpenmediaVault for a few months, I have decided to remove OMV and just run stock Debian on my NSA325 V2.

I found it easier to set up the few services like samba and ftp which I needed from scratch then trying to set up and debug either the stock zyxel or openmediavault software.

Your mileage may vary :)

BassBoi
Posts: 1
Joined: Tue Oct 07, 2014 12:13 am

Re: HowTo install Openmediavault on Zyxel NSA325

Post by BassBoi » Tue Oct 07, 2014 1:04 am

So if i understand that correctly, i need to have Debian installed first, and the OMV ? Correct?
Is there any way how to do it without serial cable connection ?

gelampropo
Posts: 1
Joined: Sun Jan 04, 2015 8:15 pm

Re: HowTo install Openmediavault on Zyxel NSA325

Post by gelampropo » Sun Jan 04, 2015 8:18 pm

Is there any way how to install it without serial cable connection ?

damian87ew
Posts: 3
Joined: Thu Mar 12, 2015 7:51 pm

Re: HowTo install Openmediavault on Zyxel NSA325

Post by damian87ew » Sun Mar 15, 2015 8:01 am

help ? :cry:

Code: Select all

Debian GNU/Linux 7 debian ttyS0

debian login: root
Password:
Last login: Wed Dec 31 16:00:18 PST 1969 on ttyS0
Linux debian 3.14.0-kirkwood-tld-1 #1 PREEMPT Tue Apr 1 22:54:58 PDT 2014 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~# nano /etc/apt/sources.list
Error opening terminal: linux.
root@debian:~#
root@debian:~# TERM=linux nano
Error opening terminal: linux.
root@debian:~#
root@debian:~# mkdir -p /usr/share/terminfo/l
root@debian:~#
root@debian:~# cd /usr/share/terminfo/l
root@debian:/usr/share/terminfo/l#
root@debian:/usr/share/terminfo/l# ln -s /lib/terminfo/l/linux linux
ln: failed to create symbolic link `linux': File exists
root@debian:/usr/share/terminfo/l#
root@debian:/usr/share/terminfo/l# nano /etc/apt/sources.list
Error opening terminal: linux.
root@debian:/usr/share/terminfo/l#

Mijzelf
Posts: 6199
Joined: Mon Jun 16, 2008 10:45 am

Re: HowTo install Openmediavault on Zyxel NSA325

Post by Mijzelf » Sun Mar 15, 2015 11:53 am

Maybe

Code: Select all

TERMINFO=/usr/share/terminfo nano file

damian87ew
Posts: 3
Joined: Thu Mar 12, 2015 7:51 pm

Re: HowTo install Openmediavault on Zyxel NSA325

Post by damian87ew » Sun Mar 15, 2015 12:10 pm

Mijzelf wrote:Maybe

Code: Select all

TERMINFO=/usr/share/terminfo nano file

Code: Select all

Debian GNU/Linux 7 debian ttyS0

debian login: root
Password:
Last login: Wed Dec 31 16:00:32 PST 1969 on ttyS0
Linux debian 3.14.0-kirkwood-tld-1 #1 PREEMPT Tue Apr 1 22:54:58 PDT 2014 armv5tel

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~# TERMINFO=/usr/share/terminfo nano file
Error opening terminal: linux.
root@debian:~#

ok now thi one....

Code: Select all

Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  openmediavault-keyring
Install these packages without verification [y/N]? y
Get:1 http://packages.openmediavault.org/public/ kralizec/main openmediavault-keyring all 0.3 [3494 B]
Fetched 3494 B in 0s (58.4 kB/s)
Selecting previously unselected package openmediavault-keyring.
(Reading database ... 28023 files and directories currently installed.)
Unpacking openmediavault-keyring (from .../openmediavault-keyring_0.3_all.deb) ...
Setting up collectd (5.1.0-3) ...
[FAIL] Restarting statistics collection and monitoring daemon: collectd not restarting, configuration error failed!
invoke-rc.d: initscript collectd, action "restart" failed.
dpkg: error processing collectd (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of openmediavault:
 openmediavault depends on collectd (>= 5.1.0); however:
  Package collectd is not configured yet.

dpkg: error processing openmediavault (--configure):
 dependency problems - leaving unconfigured
Setting up openmediavault-keyring (0.3) ...
OK
Errors were encountered while processing:
 collectd
 openmediavault
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@debian:~#
root@debian:~# omv-initsystem && reboot
/usr/sbin/omv-initsystem: 24: .: Can't open /etc/default/openmediavault
root@debian:~#


Kuki
Posts: 35
Joined: Thu Jan 30, 2014 11:38 am

Re: HowTo install Openmediavault on Zyxel NSA325

Post by Kuki » Wed Aug 17, 2016 12:00 pm

Does openmediavault need Debian Wheezy to be installed on the 325(v2) or are the described installation steps based and suitable to the original Zyxel operating system on this NAS?

Mijzelf
Posts: 6199
Joined: Mon Jun 16, 2008 10:45 am

Re: HowTo install Openmediavault on Zyxel NSA325

Post by Mijzelf » Wed Aug 17, 2016 5:45 pm

OMV is basically a set of Debian packages. So yes, you need Debian. Maybe Ubuntu would also work, but the stock firmware is not sufficient.

jacobwilliam1985
Posts: 4
Joined: Mon Aug 01, 2016 3:01 pm
Location: new york
Contact:

Re: NSA310S - how to turn off

Post by jacobwilliam1985 » Wed Aug 17, 2016 7:46 pm

dfarning, the OpenMediaVault source belongs into an own file called openmediavault.list in /etc/apt/sources.list, correct the guide in this point please as it could lead to trouble for future uprades.

Source Code

1- echo "deb http://packages.openmediavault.org/public kralizec main" > /etc/apt/sources.list.d/openmediavault.list
2- apt-get update
3- apt-get install openmediavault-keyring postfix
4- apt-get update
5- apt-get install openmediavault
6- omv-initsystem

Oleg86
Posts: 2
Joined: Mon Jul 31, 2017 9:04 pm

Re: HowTo install Openmediavault on Zyxel NSA325

Post by Oleg86 » Mon Jul 31, 2017 10:31 pm

Hi,
I managed these days to upgrade u-boot and install Linux Kernel 4.12.1 Kirkwood package and Debian on my Zyxel NSA325, but I can't install omv.
First I add

Code: Select all

deb http://packages.openmediavault.org/public kralizec main > /etc/apt/sources.list.d/openmediavault.list
After input

Code: Select all

apt-get update
I get output :
  • root@debian:~# apt-get update
    Hit:1 http://security.debian.org stretch/updates InRelease
    Get:2 http://packages.openmediavault.org/public kralizec InRelease [9924 B]
    Hit:3 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
    Ign:4 http://ftp.us.debian.org/debian stretch InRelease
    Hit:5 http://ftp.us.debian.org/debian stretch Release
    Ign:2 http://packages.openmediavault.org/public kralizec InRelease
    Fetched 9924 B in 3s (3204 B/s)
    Reading package lists... Done
    W: GPG error: http://packages.openmediavault.org/public kralizec InRelease: The following signatures were invalid: 0F6BCC17C26BFADC27F221007E7A6C592EF35D13
    W: The repository 'http://packages.openmediavault.org/public kralizec InRelease' is not signed.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.
    W: Target Packages (main/binary-armel/Packages) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list.d/openmediavault.list:1
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list.d/openmediavault.list:1
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list.d/openmediavault.list:1
    W: Target Packages (main/binary-armel/Packages) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list.d/openmediavault.list:1
    W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list.d/openmediavault.list:1
    W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list.d/openmediavault.list:1
If I ignore GPG and signing failure and continue with

Code: Select all

apt-get install openmediavault-keyring postfix
and

Code: Select all

apt-get install openmediavault
so I get output:
  • Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:

    The following packages have unmet dependencies:
    openmediavault : Depends: php5-fpm but it is not installable
    Depends: php5-cgi but it is not installable
    Depends: php5-cli but it is not installable
    Depends: php5-pam but it is not going to be installed
    Depends: openssh-blacklist-extra but it is not installable
    Depends: php5-proctitle but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
Unfortunately I am not a Linux guy :(
Please can somebody help me? What did I wrong? What I have to do?

Thanks

Post Reply