meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hw:zyxel_nas326 [2018/08/06 09:40] – niziak | hw:zyxel_nas326 [2020/04/27 08:33] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Zyxel NAS326 ====== | ||
| + | |||
| + | ===== Resources ===== | ||
| + | [[ftp:// | ||
| + | |||
| + | ====== Reset button ====== | ||
| + | |||
| + | * Default password and IP adddres - press and wait until 1 beep | ||
| + | * Factory reset - press and wait until 2 beep, then keep pressed at least 5 seconds | ||
| + | |||
| ====== Basic setup ====== | ====== Basic setup ====== | ||
| - | * admin password | + | * admin password |
| * enable SSH | * enable SSH | ||
| * copy pub key | * copy pub key | ||
| * enable HTTPS | * enable HTTPS | ||
| * set NTP and TZ | * set NTP and TZ | ||
| + | * Control Panel --> Maintenance --> Power | ||
| + | * Enable Wake On LAN | ||
| + | * Always Power On | ||
| * disable services | * disable services | ||
| * Control Panel --> Service --> | * Control Panel --> Service --> | ||
| Line 11: | Line 24: | ||
| * WebDAV | * WebDAV | ||
| - | ====== Instal | + | ====== iSCSI ====== |
| + | |||
| + | First disable IPv6 and restart NAS, or manually remove IPv6 iSCSI portals using '' | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | * Storage Manager --> iSCSI | ||
| + | * iSCSI LUNs --> Create | ||
| + | * Name: '' | ||
| + | * Location, Capacity 100GB, Thin provisioning | ||
| + | * iSCSI Targets --> Create | ||
| + | * Name: '' | ||
| + | * Allowed initiator IQN: '' | ||
| + | * | ||
| + | |||
| + | |||
| + | ====== Instal | ||
| + | [[https:// | ||
| * Download [[http:// | * Download [[http:// | ||
| Line 22: | Line 52: | ||
| * Install | * Install | ||
| * Midnight Commander | * Midnight Commander | ||
| + | * Tweaks | ||
| + | * entware-ng | ||
| + | * ffp (see notes below) | ||
| + | * restart the NAS | ||
| + | |||
| + | ====== Instal FFP ====== | ||
| + | |||
| + | Consider usign only Entware-ng: | ||
| + | FFP is aging. The base system is unmaintained, | ||
| + | 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 [[https:// | ||
| + | <code bash> | ||
| + | wget http:// | ||
| + | chmod a+x / | ||
| + | </ | ||
| + | Modify uwsiteloader.sh and add '' | ||
| + | |||
| + | <code bash> | ||
| + | uwsiteloader.sh | ||
| + | slacker -U | ||
| + | slacker -a | ||
| + | </ | ||
| + | |||
| + | Install: | ||
| + | * uli:screen | ||
| + | * uli:sudo | ||
| + | * < | ||
| + | | ||
| + | |||
| + | ===== using entware-ng & FFP ==== | ||
| + | |||
| + | By default PATH is set by FFP, so to execute entware-ng use full path: ''/ | ||
| + | |||
| + | |||
| + | ====== Entware-ng ====== | ||
| + | |||
| + | It resides in /opt | ||
| + | |||
| + | |||
| + | ===== syslog-ng ==== | ||
| + | |||
| + | <code bash> | ||
| + | |||
| + | Problem: Zyxell is already using '' | ||
| + | |||
| + | Boot process: [[http:// | ||
| + | |||
| + | <file / | ||
| + | ... | ||
| + | / | ||
| + | ... | ||
| + | if [ -e / | ||
| + | / | ||
| + | fi | ||
| + | </ | ||
| + | |||
| + | I don't know where it is started. Simple solution is to add | ||
| + | ''/ | ||
| + | <file / | ||
| + | # | ||
| + | |||
| + | ENABLED=yes | ||
| + | PROCS=syslog-ng | ||
| + | ARGS="" | ||
| + | PREARGS="" | ||
| + | DESC=$PROCS | ||
| + | PATH=/ | ||
| + | |||
| + | / | ||
| + | |||
| + | . / | ||
| + | </ | ||
| + | NOTE: opkg install psmisc | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ===== OpenVPN ===== | ||
| + | Use OpenVPN package from Entware-NG, because this repo contains necessary kernel 3.10.39 module '' | ||
| + | |||
| + | Add '' | ||
| + | <code bash> | ||
| + | <code bash> | ||
| + | |||
| + | Edit ''/ | ||
| + | * enable '' | ||
| + | * update config file namei | ||
| + | |||
| + | Test openvpn '' | ||
| + | |||
| + | |||
| + | |||
| + | ====== Issues ====== | ||
| + | |||
| + | wget: invalid option -- ' | ||
| + | |||
| + | Problem is in PATH. FFP installs full wget into ''/ | ||
| + | Restart the router, login as '' | ||
| + | |||