meta data for this page
  •  

This is an old revision of the document!


Basic setup

  • admin password
  • enable SSH
    • copy pub key
  • enable HTTPS
  • set NTP and TZ
  • disable services
    • Control Panel –> Service –>
      • Media Server
      • WebDAV

Instal FFP

  • Download web_prefix
  • Put web_prefix file to ftp://admin@192.168.0.168/admin/zy-pkgs (create zy-pkgs subdir)
  • App Center → Browse → All Apps → Refresh Icon(Retreive List From Internet)
    • Only the MetaRepository package should show up.
    • Install it
    • re-request the list
    • You should see the official Taiwanese repository, merged with new one (ffp, btsync, anyterm, MetaRepository, Tweaks, Dropbear, MidnightCommander). If you still see only MetaRepository, disable it, enable it again, and retry.
  • Install
    • ffp
    • Midnight Commander
    • Tweaks
    • entware-ng

* restart the NAS

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:

  • uli:screen
  • uli:sudo
  • uli:openvpn uli:lzo don't install, kernel 3.10. modules are missing in FFP uli repo

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. Add src/gz Mijzelf http://downloads.zyxel.nas-central.org/Users/Mijzelf/Entware-ng/binaries/armv7 into /opt/etc/opkg.conf

opkg update

OpenVPN

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

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

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

  • enable tun module loading: insmod /opt/lib/modules/3.10.39/kernel/drivers/net/tun.ko
  • update config file namei

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.