Here’s a quick howto on installing FFP on Zyxel NSA325, which is a nice NAS.

  1. Create a text file called web_prefix and put this to the first line: ftp://ftp.zyxel-tech.de/2.new_mirror/
  2. Move the text file to the NAS, to directory /admin/zy-pkgs (zy-pkgs subdirectory in the admin share)
  3. Refresh the package list on the administrator web interface. FFP will show up, but you won’t be able to install it because the server only has FFP for the v4.40 firmware. Download that older FFP package from here. It’ll work nicely with newer firmwares too. Put this file to /admin/zy-pkgs also. Now you can install it on the web interface. It will create an install log file in /admin/zy-pkgs/ffp.
  4. Now you can telnet to the machine and add the other package sources using the guide here.
  5. Install zyxel_utils. After installing, run /ffp/start/zyxel_utils.sh start. It will fix admin and root users’ home directories automatically.

Other resources

Command for installing packages: slacker -i [part of package name]

http://zyxel.nas-central.org/wiki/FFP_as_zypkg
http://zyxel.nas-central.org/wiki/FFP-stick

SSH pubkey authentication

http://nas-tweaks.net/53/private-public-key-authentication-with-openssh-in-ffp/

OpenVPN

1. Install the package zyxel_modules, which has a working tun.ko in the directory /ffp/lib/modules/2.6.31.8/kernel/drivers/net. Warning: there’s a not working tun.ko in /ffp/lib/modules/2.6.31.8/drivers/net! Edit OpenVPN’s and the tun.ko’s path in /ffp/start/openvpn.sh.
2. Install the package module_utils, which automatically edits modules.dep, so the command modprobe tun will load the correct tun.ko.

Crontab

The original factory crontab stores the crontab file in a tmpfs partition (which is lost during reboots and poweroffs), so we have to save the crontab file to a permanent location during shutdown, and restore it during bootup. Here’s a script which does this, place it in /ffp/start/crontab.sh and make it executable (chmod +x /ffp/start/crontab.sh).

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/ffp/bin/sh

# PROVIDE: cronjobs
# REQUIRE: LOGIN

. /tmp/.ffpstick/helper.inc
. /ffp/etc/ffp.subr

name="cronjobs"
start_cmd="cronjobs_start"
stop_cmd="cronjobs_stop"
status_cmd="cronjobs_status"

cronjobs_start()
{
    if [ -f /ffp/var/spool/crontab ]; then
        crontab /ffp/var/spool/crontab
    fi
}

cronjobs_stop(){
    mkdir -p /ffp/var/spool/
    crontab -l > /ffp/var/spool/crontab
}

cronjobs_status()
{
    echo "status not available"
}

run_rc_command "$1"
PaulT 2013-12-04 16:52:12

hi mate,
good article, btu i’ve updated to nsa325 4.61 and can’t install ffp 0.7 :( always stopping on 85% (installing via admin page) could you help?

 
Max 2014-09-12 23:41:25

Cannot see FFP in the package list.Add me on skype if you can help me please, wiken1991 is my skype.

 
ask fm Hack 2014-09-21 16:57:56

Hi there, always i used to check webpage posts here
early in the daylight, because i love to find out more and
more.

 
clash of clans triche 2014-09-23 02:10:18

This is very attention-grabbing, You are an overly professional blogger.
I have joined your feed and look ahead to seeking more of your great post.
Additionally, I’ve shared your site in my social networks

 
Car Town Hack 2014-09-23 02:33:46

Hello i am kavin, its my first time to commenting anywhere, when i read this paragraph i thought i could also create comment due to this brilliant piece of writing.

 
Knights and Dragons Hack 2014-09-23 03:33:14

Hmm is anyone else experiencing problems with the
images on this blog loading? I’m trying to figure out if its
a problem on my end or if it’s the blog. Any feed-back would
be greatly appreciated.

 
little empire hack 2014-09-23 03:53:42

Hi, this weekend is fastidious designed for me, for the reason that this moment
i am reading this fantastic educational post here at my residence.

 
8 Ball Pool Hack 2014-09-23 04:36:23

Hi! I’m at work browsing your blog from my new iphone 4!
Just wanted to say I love reading your blog and look forward to all your posts!
Carry on the great work!

 
throne rush hack 2014-09-23 05:30:39

What’s up friends, good paragraph and good arguments commented here,
I am genuinely enjoying by these.

 
Pou Hack 2014-09-23 05:38:48

What’s up to all, how is the whole thing, I think every one
is getting more from this site, and your views are fastidious in favor of
new viewers.

 
Hero Zero Hack 2014-09-23 05:40:20

Hi, after reading this amazing paragraph i am too cheerful
to share my familiarity here with mates.

 
jaket distro 2014-10-17 20:46:42

I tend not to write a lot of comments, but i did some searching
and wound up here Installing FFP on Zyxel NSA325 at dreamport
| nonoo.hu. And I actually do have a couple of questions for you if you don’t mind.
Could it be just me or does it look as if like a few of
the responses come across like written by brain dead
people? :-P And, if you are posting at other online sites, I would like to keep up
with everything new you have to post. Would you make a list of every one of your social pages like
your linkedin profile, Facebook page or twitter feed?

 
Eric86 2016-04-09 13:04:39

Some extra info that would help new people.
for /ffp/start folder you must use chmod a+x for proper rights to execute on startup.

 
Gabcsi 2018-05-19 23:19:49
 
Gianmaria 2019-11-06 00:03:28

Salve non capisco come e dove poter scrivere quelle stringhe di comando. c’è un tool specifico? scusate la mia ignoranza ma vorrei installare jdownloader 2 sul nsa 325v2 dato che pyload non mi si apre più. Grazie

Sergio 2020-01-21 14:48:46

Ciao, non riesco a scaricare il pachetto ffp_0.7_arm_003.zpkg riesci ad inviamelo grazie

 
 
Sergio 2020-01-21 14:46:51

Could you send me ffp_0.7_arm_003.zpkg please.
tks

 
Adrian Grzybek 2021-02-03 14:24:57

Hello,

can you send me newest ffp to install with instruction on NSA 325 Zyxel ?
Please

 
Name (required)
E-mail (required - never shown publicly)
Webpage URL
Comment:
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> in your comment.

Trackback responses to this post

About me

Nonoo
I'm Nonoo. This is my blog about music, sounds, filmmaking, amateur radio, computers, programming, electronics and other things I'm obsessed with. ... »

Twitter

Listening now

My favorite artists