Here’s a quick howto on installing FFP on Zyxel NSA325, which is a nice NAS.
- Create a text file called web_prefix and put this to the first line: ftp://ftp.zyxel-tech.de/2.new_mirror/
- Move the text file to the NAS, to directory /admin/zy-pkgs (zy-pkgs subdirectory in the admin share)
- 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.
- Now you can telnet to the machine and add the other package sources using the guide here.
- 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" |
Trackback URL
18 Comments »
Trackback responses to this post
About me
I'm Nonoo. This is my blog about music, sounds, filmmaking, amateur radio, computers, programming, electronics and other things I'm obsessed with.
... »
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?
Cannot see FFP in the package list.Add me on skype if you can help me please, wiken1991 is my skype.
Hi there, always i used to check webpage posts here
early in the daylight, because i love to find out more and
more.
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
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.
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.
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.
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!
What’s up friends, good paragraph and good arguments commented here,
I am genuinely enjoying by these.
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.
Hi, after reading this amazing paragraph i am too cheerful
to share my familiarity here with mates.
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?
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.
Thank you!
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
Ciao, non riesco a scaricare il pachetto ffp_0.7_arm_003.zpkg riesci ad inviamelo grazie
Could you send me ffp_0.7_arm_003.zpkg please.
tks
Hello,
can you send me newest ffp to install with instruction on NSA 325 Zyxel ?
Please