Table of Contents

Zyxel NAS326

Resources

FTP NAS326

Reset button

Basic setup

iSCSI

First disable IPv6 and restart NAS, or manually remove IPv6 iSCSI portals using targetcli commandline.

ZyXEL NAS326 2-Bay Personal Cloud Storage Reviewed

Instal Metarepository

New mirror for nas-central.org

* restart the NAS

Instal FFP

Consider usign only Entware-ng:

FFP is aging. The base system is unmaintained, and it dates from 2012. 3th party developers are doing a lot 
of work to update parts of it, but for beginners it's hard to gather the newest packages together, partly due to a missing package management.

FFP 3rd party packages

Add more package sites using uwsiteloader.sh

wget http://wolf-u.li/u/441 -O /ffp/bin/uwsiteloader.sh
chmod a+x /ffp/bin/uwsiteloader.sh

Modify uwsiteloader.sh and add –no-check-certificates to wget invocation.

uwsiteloader.sh
slacker -U
slacker -a

Install:

using entware-ng & FFP

By default PATH is set by FFP, so to execute entware-ng use full path: /opt/bin/opkg or update PATH by sourcing . /opt/etc/profile.

Entware-ng

It resides in /opt

syslog-ng

opkg install syslog-ng

Problem: Zyxell is already using syslog-ng and /opt/var/log/Entware-ng.log shows: Starting syslog-ng… . already running.

Boot process: http://zyxel.nas-central.org/wiki/Boot_process_(300_series)

...
/usr/sbin/zylog_no_logging syslog 1 
...
if [ -e /etc/zyxel/syslog-ng/enable_syslog.flag ]; then                                                                                                                                                            
        /usr/bin/python /usr/local/apache/web_framework/models/syslogng_main_model.pyc                                                                                                                             
fi  

I don't know where it is started. Simple solution is to add /opt/bin/killall /usr/sbin/syslog-ng into

#!/bin/sh                                                                                                                                                                                                          
 
ENABLED=yes                                                                                                                                                                                                        
PROCS=syslog-ng                                                                                                                                                                                                    
ARGS=""                                                                                                                                                                                                            
PREARGS=""                                                                                                                                                                                                         
DESC=$PROCS                                                                                                                                                                                                        
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin                                                                                                                  
 
/opt/bin/killall /usr/sbin/syslog-ng                                                                                                                                                                                   
 
. /opt/etc/init.d/rc.func              

NOTE: opkg install psmisc

OpenVPN

Use OpenVPN package from Entware-NG, because this repo contains necessary kernel 3.10.39 module tun

Add src/gz Mijzelf http://downloads.zyxel.nas-central.org/Users/Mijzelf/Entware-ng/binaries/armv7 into /opt/etc/opkg.conf

opkg update
opkg install net-tools-ifconfig profile-hook zyxel-modules-3.10.39 kmod openvpn-openssl

Edit /opt/etc/init.d/S20openvpn and:

Test openvpn openvpn –config /opt/etc/openvpn/myconfig.conf

Issues

wget: invalid option – 'N'

Problem is in PATH. FFP installs full wget into /ffp/bin and changes default user PATH variable, but system still use one from /usr/sbin/wget Restart the router, login as admin, switch to root using su and then try to use wget.