Installing and Uninstalling Packages in Fonz fun_plug 0.7

After installing Fonz’ fun_plug (see tutorial on this), you will probably want additional packages.

The commands below are ONLY for fun_plug Version 0.7

Werbung

Contents

Packages

Choosing the download sites

Before you can download and install the packages through slacker, you need to activate a “site” from where you can download the site. For your convinience, there is a script available from Uli called “uwsitedownloader” which you can use to download a list of sites through a central tool. Please follow this link
for the installation.

Package management

Package management is done using two programs by fonz called “slacker” and “funpkg“. We will be concentrating on slacker as this tool is easier to use. funpkg is for manual installation of packages, but this is often only necessary for developers as the provided repositories can be used via slacker. Typing “slacker” on the command line lists the flags and options that it supports:

slacker options pattern...
Options:
        -U      Update package lists
        -C      Clear cache
 
        Install, reinstall or upgrade:
         -a     List all available packages
         -I     List available packages that are installed and up-to-date
         -i     List available packages that are not installed
         -u     List available packages that differ from the installed version
 
        Remove packages:
         -r     Remove installed packages
         -o     List installed packages not present at sites
 
        -A      Pre-select all packages in the dialog
        -F      Do not apply ignore list
        -c      Print report to stdout, no menu

Important: once you start using slacker to install Fonz’ packages, you have to complete the entire procedure described in this tutorial in one session.
In other words, once you proceed with any of the steps beyond this point, you have to complete all steps of the Package management part of this tutorial:

  • initial update for packages
  • install new packages,
  • save any configuration changes that you need to save for existing packages that will be upgraded,
  • upgrade existing packages, and (most important of all)…
  • do a chmod a+x on e.g. /ffp/start/sshd.sh

Initial package updating

After the Installation of uwsitedownloader you need to update the repository data using slacker:

slacker -U

This will lead to a output like this (or similar):
slacker -U

Now you can proceed with the next steps.

Package installation

After the repository data has been downloaded, you can install packages by using slacker again. This time you can choose between various installation modes using the commandline parameters “-a”, “-i” and “-u”. In the following text i will show you how to install new packages using “-i”:

slacker -i

This will show a screen similar to this one:

To choose a package, carefully select the newest version (some providers of repository provide multiple versions of packages) and hit the spacebar to select one. This will then fill the field “[ ]” before the package name to “[*]”. You can select multiple packages. After the selection you can hit “ok” and slacker will download and install the packages.

Personal sidenote: After a new installation of fonz’ funplug 0.7 i first install all packages of fonz to have the newest versions. This can be achieved using:

slacker -aA s:

I then check though the list once and install the packages.

If you want to install packages only from one site you can use a pattern. This pattern can be found in the list of packages:

So to see all packages from fonz simply enter:

slacker -a s:

If you want to install a certain packages you can also use the pattern. For example check for nano:

slacker -a nano

This will show you my and KyLeKs package for nano. Of course this could also lead to different versions and so on.

Package configuration

During the installation, certain packages tend to add an ASCII file with configuration settings to the folder /ffp/etc/. This can be viewed from Windows using WordPad or a programming editor like NotePad++. The latter can edit ASCII files with the Linux end-of-line convention. Alternatively, you can use the Joe editor provided as one of these packages. Any modifications can obviously lead to “interesting” results, so be careful, especially with important daemons.

Some packages place example configuration files into folder /ffp/etc/examples/ instead of putting actual configuration files into /ffp/etc/. Such files are ignored by the application: you are expected to read them and copy them (possibly after renaming or even editing) to folder /ffp/etc/ yourself. Examples for a package called PHP as listed in the MANIFEST.txt:

drwxr-xr-x root/root         0 2008-05-29 13:00 ./ffp/etc/examples/
-rw-r--r-- root/root     45030 2008-05-29 13:00 ./ffp/etc/examples/php.ini-dist
-rw-r--r-- root/root     48619 2008-05-29 13:00 ./ffp/etc/examples/php.ini-recommended

Package updating

From time to time, repository owner update the packages in the repo. You should also check if there are updates to the packages available as these might mitigate security risks. To do the update, you first update the repository data (see above) and then check with slacker for the list:

slacker -u

Be careful: always check if the installed version (which is shown at the bottom of the dialogue) is really older than the version that is shown as “upgrade”.
This dialog will look like this:

But please beware of a number of pitfalls:

  1. This may overwrite any changes you made to configuration files (probably in folder /ffp/etc/). So you may want to create a copy of these first.
  2. This may overwrite access privileges you made to files (particularly to the scripts that start daemons in folder /ffp/start/).

We will discuss the role of the -x flag here and now only concentrate on avoiding a very real pitfall which happens when you run

funpkg -u OpenSSH-versionnumber.tgz

If you look into MANIFEST.txt you find that it creates (or more precisely – overwites) a file called sshd.sh:

-rw-r--r-- root/root       971 2008-07-29 16:30 ./ffp/start/sshd.sh

This would be fine if you don’t need to run the SSH server yet. The problem is that, after running funpkg -u for OpenSSH, a next reboot will not start the SSH daemon (server) and you will be locked out of funplug: PuTTY for example cannot connect using the ssh protocol unless there is a running SSH server. This server can only start with the -x (execute) bit on the file set. Remember that we set that bit for exactly this file in the fun_plug tutorial? So we now need to do that again after you have upgraded whatever packages needed upgrading but BEFORE you exit ssh (or worse reboot the NAS).

So, to ensure that the file sshd.sh will run when you reboot the CH3SNAS in the future:

chmod a+x /ffp/start/sshd.sh
ls -l /ffp/start/*.sh

This gives all users (a) the right to execute (x) the file /ffp/start/sshd.sh (in particular it enables the fun_plug script to execute it on startup). The folder listing will include

-rw-r--r-- 1 root root  432 Jul 15 14:44 samba.sh
-rw-r--r-- 1 root root  229 Apr 24 20:16 smartd.sh
-rwxr-xr-x 1 root root  971 Jul 29 16:30 sshd.sh
-rw-r--r-- 1 root root  383 Aug 12 22:17 syslogd.sh
-rw-r--r-- 1 root root  169 Aug 12 22:17 telnetd.sh

If the entry for sshd.sh has 3 x-bits set, you have succeeded.

Package removals

If you want to (e.g. temporarily) disable execution of a server package, see the discussion on Daemons. To remove a package completely, use:

slacker -r

Again, some packages (like uclibc) may be needed to run other packages, so removing packages using funpkg is not foolproof. Fortunately, application packages which a non-expert is likely to be aware of because they do something for the end user (e.g. servers/daemons) are unlikely to be used by other packages.

Note that the dependency information can be found at the top of the /ffp/start/somedaemon.sh files. The example (from the file /ffp/start/sshd.sh)

# PROVIDE: sshd
# REQUIRE: LOGIN

suggests that you shouldn’t remove the LOGIN package because it is required to run the sshd (=OpenSSH) package.

74 thoughts on “Installing and Uninstalling Packages in Fonz fun_plug 0.7”

  1. Dear Uli,

    I followed the instructions above, but now when I run slacker -a on my DNS-323 I get the following errors in the terminal

    root@NAS2:/# slacker -a
    /ffp/bin/slacker: line 31: /ffp/funpkg/cache/sites: Read-only file system
    /ffp/bin/slacker: line 252: /ffp/funpkg/cache/installed: Read-only file system
    /ffp/bin/slacker: line 260: /ffp/funpkg/cache/report: Read-only file system
    /ffp/bin/slacker: line 291: /ffp/funpkg/cache/report: Read-only file system
    /ffp/bin/slacker: line 305: /ffp/funpkg/cache/menu: Read-only file system
    cmp: /ffp/funpkg/cache/menu: No such file or directory
    /ffp/bin/slacker: line 321: /ffp/funpkg/cache/menu: No such file or directory

    Aborted
    root@NAS2:/#

    Looking back in the terminal session I see that I had some previous errors from running slacker -aA S:

    rsync: write failed on “/ffp/funpkg/cache/s/ntp-4.2.6p4-oarm-2.txz”: Read-only file system (30)
    rsync error: error in file IO (code 11) at receiver.c(322) [receiver=3.0.9]
    rsync: connection unexpectedly closed (41 bytes received so far) [generator]
    rsync error: error in rsync protocol data stream (code 12) at io.c(605) [generator=3.0.9]
    md5sum: /ffp/funpkg/cache/s/ntp-4.2.6p4-oarm-2.txz: No such file or directory
    /ffp/funpkg/cache/s/ntp-4.2.6p4-oarm-2.txz: FAILED open or read
    md5sum: WARNING: 1 listed file could not be read
    fetch: rsync -q ‘rsync://ffp.inreto.de/ffp/0.7/oabi/packages/ntp-4.2.6p4-oarm-2.txz’ ‘/ffp/funpkg/cache/s’
    rsync: mkstemp “/ffp/funpkg/cache/s/.ntp-4.2.6p4-oarm-2.txz.A34O4v” failed: Read-only file system (30)
    rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1518) [generator=3.0.9]
    md5sum: /ffp/funpkg/cache/s/ntp-4.2.6p4-oarm-2.txz: No such file or directory
    /ffp/funpkg/cache/s/ntp-4.2.6p4-oarm-2.txz: FAILED open or read
    md5sum: WARNING: 1 listed file could not be read

    Do you have any suggestions as to how I can remedy the errors?

    Thanks

    Chris

    1. Problem solved, I had a corrupt filesystem. I am now versed in the joys of getting fun_plug to run off a USB stick so that I could run fsck on the drives.

  2. Dear Uli,

    I’m owning a DNS-323 and have installed funplug 0.7 with the oabi-files.
    I cann’t find the correct nano-file.
    The nano file from Kylek (arm) does not work and gives conficts. Or is it possible to work with another handsome prog?

    Can You pease help me?

    Thanks,

    Martin

  3. After following all steps (step by step), when I ran slacker.. there’s no package names shown.. it only shows “[ ] install” in a big list until 100% at bottom..

    rsync has been done correctly with MD5 checksum… Any idea about what’s wrong?

    I need to add stunnel package!!!!

    1. I’ve had this problem too, and I finally figured it out.

      Slacker generates a report of installed packages, and it relies on certain versions of common UNIX tools (rm, awk, etc.). It works great when your shell is bash, but produces the bug you saw when using the tools provided by busybox.

      The easiest way to resolve this problem is, as root, to launch:

      /ffp/bin/bash

      When it’s done, look at your $PATH variable, it should show /ffp directories first in the list. Then relaunch slacker -U and then slacker -a.

      Hope this helps,
      — coox.

  4. detailed info after slacker -U:

    fetch: rsync -q ‘rsync://ffp.inreto.de/ffp/0.7/arm/packages/CHECKSUMS.md5’ ‘/ffp/funpkg/cache/s’

    then.. when I ran slacker -i … “[ ] install” with no names… CANT INSTALL PACKAGE in this way..

    help please.

  5. Please help me! i got this message.

    root@MYO-NAS:~# slacker -U
    Updating package lists…
    fetch: rsync -q ‘rsync://ffp.inreto.de/ffp/0.7/oabi/packages/CHECKSUMS.md5’ ‘/ffp/funpkg/cache/s’
    fetch: (cd ‘/ffp/funpkg/cache/mz’; wget -Nnv ‘http://downloads.zyxel.nas-central.org/Users/Mijzelf/FFP-Stick/packages/0.7/oabi/CHECKSUMS.md5’)
    http://downloads.zyxel.nas-central.org/Users/Mijzelf/FFP-Stick/packages/0.7/oabi/CHECKSUMS.md5:
    2012-07-26 23:13:56 ERROR 404: Not Found.
    fetch: (cd ‘/ffp/funpkg/cache/memiks’; wget -Nnv ‘http://ffp.memiks.fr/pkg/oarm//CHECKSUMS.md5’)
    http://ffp.memiks.fr/pkg/oarm//CHECKSUMS.md5:
    2012-07-26 23:13:57 ERROR 404: Not Found.
    FATAL: memiks: No CHECKSUMS.md5

  6. I have a DNS-323 with firmware 1.09. The installation and configuration of the fun_plug 0.7 went fine, but when I ran uwsitedownloader.sh to configure the download sites and then ran “slacker -aA s:” to install all OARM/OABI packages from the Fonz site, something installed badly and now the following appears in the ffp.log when I reboot and the sshd is not starting:


    * Running /ffp/etc/fun_plug.ini . . .
    Segmentation fault
    * Running /ffp/etc/fun_plug.local . . .
    Segmentation fault
    * OK

    I was also getting a “can’t resolve symbol posix_fadvise64” error when I was trying to cat a file in another terminal window.

    I’m guessing one of these packages is not compatible with this hardware, but not sure which one.

    Any help or suggestions would be appreciated.

    Thanks.

  7. Hello Uli,

    Outstanding work on fun_plug. I’ve installed 0.7 per instructions (I think) on my DNS-320, but I’ve run into a problem with ssh. I know you want to hear from another whiner, but when I try to log into ssh from terminal using this I get …

    ssh 192.168.1.75
    jim@192.168.1.75‘s password:
    Permission denied, please try again.
    …rinse, repeat…

    I have removed and reinstalled several times and am able to log into root via telnet, I’ve saved the password using your scripts, cleared out the old ssh files on my machine, but ssh just won’t cooperate. I could use a helping hand here, ’cause I feel dumber than a box of rocks now.

    Thanks

    1. Hi jpm32526,

      I’m having the same problem as you too. Have to use telnet every time after reboot my NAS320 to passwd again from telnet to enable the root access for ssh.

      suspected is there’s sshd running behind. Although I remove funplug and everything, funny still can ssh to dns. Unable to find where’s the sshd came from..

      Please do let me know if you’ve solve your problem.

      Thanks.

  8. Can’t even get started here, getting this error

    [code]root@NAS:?# slacker
    -sh: slacker: not found[/code]

    And I can’t find instructions for correctly using funpkg
    I’m using the version provided on this website, so it should be 0.7, I assume

      1. Hi, I was using SSH to do this.
        I think I may have found the problem though, there are two guides on this site, one of which is 0.7, the other some other version
        The guide I used was some other one on the site I got to by Googling, but I should have used this one
        https://nas-tweaks.net/371/hdd-installation-of-the-fun_plug-0-7-on-nas-devices/

        I’ll try uninstalling then installing this one and see if that corrects the problem

      2. Finally got around to uninstalling and re-installing
        Seems to work fine this time, guess I should have made sure I was on 0.7 the first time

  9. Hi Uli,
    i followed you your sidenote to use:
    slacker -aA s:

    my online problem is that the list are quite long. should I be installing everything? is there a page where I could look at to know what certain package do or something? Or should I google it one by one?

    thanks btw for the guide. twonky server is running very smoothly

  10. I have a DNS323 with 0.7 installed, now I upgraded all packages with slacker -u. I used telnet iso SSH, after that slacker doesn’t start anymore, it gives a ‘can’t resolve symbol posix_fadvise64 error’. Do I understand correctly that I should have used SSH. Is there a possibility to recover slacker without re-installing funplug 0.7? Thanks

      1. It worked! Thanks for the tip.
        I’d suggest that slacker notice the dependencies and warn users before upgrading core libs along with other packages.

  11. Hi,
    How to resolve this:

    root@Serveur:/ffp/start# slacker -a
    sort: can’t resolve symbol ‘posix_fadvise64’
    No packages found (status Iiu, pattern )

  12. Just a suggestion for maybe an upcoming release of slacker 🙂

    If the version is older than installed, instead of showing upgrade, it could say maybe downgrade?

    Also it would be nice to have some kind of autoupdate command, like slacker -update for slacker to automatically select the newest releases to all my installed programs and update.

  13. While browsing around, I came across a page by Nicolas Bernaerts, at http://bernaerts.dyndns.org/dns325/242-dns325-ffp7-move-usb-key, which does exactly what it says in the title.
    This is well worth publicity, and should possibly migrate into fun plug itself?
    The only difficulty I had was the path to the USB drive – my DNS-325 fw 1.03, seems to mount at /mnt/USB/HD_c, whereas Nicholas’ script tries to use /mnt/USB/HD_c1.
    His other pages are interesting also.

  14. Guys – I updated transmission app using the slacker command, and if I look through the /ffp/start directory I see:

    -rwxr-x–x 1 root root 759 May 17 2011 transmission.sh
    -rwxr-x–x 1 503 702 856 Sep 27 12:31 transmission.sh.new

    Should I be removing the transmission.sh and replacing with transmission.sh.new?

  15. This is grand – but does anyone know if there is an implementation of the ‘screen’ tool available anywhere – I’m forever running extended commands which I would normally stick on a screen session to avoid them getting killed via a disconnect…

  16. Hi Uli,

    I’ve tried installing sudo a couple times and it seems to install just fine. However, when I restart my DNS320, the config files under /ffp/etc/sudoers seems to be deleted. Any thoughts as to what seems to be occuring and how to fix this?

  17. First, great guide! SEcond, once I have installed some packets (like transmission), where I found it? in the admin panel I can’t see it. Thanks!

  18. Hello, I’m new to this site as well as I’m beginner in using Squeezebox Touch (SBT) and DNS-320 NAS. I have installed SBT and I can listen internet radios. I have also installed squeezebox server on my PC so that I can access music on herd drive.
    As a next step I would like to access music stored on my DNS-320 NAS without using PC.
    I have tried various setpus of fun plug but I’m still not successfull. Is there any guideline how to install squeezebox server on DNS-320?
    I have installed fun plug 0.5.0 as well as I tried 0.7.0 and I believe I have also successfully installed “logitechmediaserver-7.7.1-arm-1.txz” that I have donwloaded from web. But http://192.168.2.101:9000 doesn’t work as well as my SBT doesn’t see the DNS-320 data/music. I’m completely new to linux etc. so I have just tried some recommendations inlcuding: http://forums.slimdevices.com/showthread.php?85958-squeezebox-server-on-dlink-dns-320 and http://voidnoise.co.uk/blog/?p=426 but still no success. I would apreciate any help or advise. Thanks

  19. Hi!

    I’ve a DNS-320 with ffp 0.7. I try install optware for several packages (minidlna with samsung patch – chapters, subtitles,etc.. – and saned for share my scanner).
    1. install optware. done
    2. reboot
    3. login successfully
    4. install optware packages. done
    5. reboot
    6. login failed: access denied
    7. telnet -> login
    8. logged, but i’ve got an error message
    /opt/bin/ash not found

    any idea??
    sorry my english! 🙁

  20. Hi,

    I have FFP 0.7 installed on my DNS-320. I can connect via ssh to it without problem. I would like to use ssh for port forwarding – but it seems current server doesn’t support it. Can anyone advise what to do to achieve ssh port forwarding?

    – I noticed there’s a newer openssh package available (openssh-6.2p2-arm-4node.txz). Will it help if I upgrade?
    – Should I install another package – which one?

    Thank You for any help/suggestions.

  21. I also installed FFP 0.7 on my DNS-320 following instructions on this site.

    When connected via PuTTY I can start the server but it stops after a few seconds and I’ve no idea why.

    I can manually start the server with “sh slimserver.sh start” and running “sh slimserver.sh status” shows the server running with some pid
    If I’m quick and I re-run “sh slimserver.sh start” I get a message saying it’s already running but then, within a few seconds the ‘status’ switch shows the server is not running.

    There don’t appear to be any log files created.

    I modified the slimserver.sh and added –d_server to the args but again couldn’t see any errors or logs.

    Can someone help me get the server running

  22. I also installed FFP 0.7 on my DNS-320 following instructions on this site and also SqueezeBoxServer 7.7.1

    When connected via PuTTY I can start the server but it stops after a few seconds and I’ve no idea why.

    I can manually start the server with “sh slimserver.sh start” and running “sh slimserver.sh status” shows the server running with some pid
    If I’m quick and I re-run “sh slimserver.sh start” I get a message saying it’s already running but then, within a few seconds the ‘status’ switch shows the server is not running.

    There don’t appear to be any log files created.

    I modified the slimserver.sh and added –d_server to the args but again couldn’t see any errors or logs.

    Can someone help me get the server running

  23. Hi Uli
    I have a DNS-313 which doesn’t have much space on HD_a4 (about 190MB) and I don’t really want to repartition it. Having updated to fun_plug 0.7 and updated packages there’s only about 10MB left and I really only want to install a DLNA server. I know that Meditomb worked reasonably with 0.5 (although my installation did lack libexif so couldn’t get thumbnails). What packages do I really need? Could I remove a lot of packages to make a “minimal” installation – or what do you suggest?

    Thanks

    Nigel

    1. Looking again at the files on HD_a4 I notice there is a huge text file called ScanMmsSch – about 118MB – listing the paths to all my photos, which appears to have been created by my original attempt to use the native D-link UPNP server. As this was no use at all I wonder whether it would be safe to just delete this file?

      1. Hi Uli!

        I have some problem with changing locales (ru_RU.UTF-8)and subsonic media server.
        This server can’t read the the MP3 file name and ID3 Tags with wrong locale.
        All what i need is package with locales (for now i’m experimenting with locales from ArchLinux)

        Thanks,

        rainmaverick

  24. Hi there
    I have a DNS-320 with funplug 0.7 and Twonkyserver. Twonky is running out of memory (huge library) causing SMB to be very slow.
    I’d like to try mediatomb; can it be installed on funplug 0.7? It seems to be a preisntalled package in funplug 0.5 but is not included in 0.7. Can I extract it form funplug 0.5? How?
    Thanks!

  25. Hi All,

    After installing the transmission package somewhere I lost my access for my /ffp/etc folder under Win7. I can read/write other folders in /ffp folder.
    I do not have linux knowledge I have installed ffp and packages with these great tutorials. (Thanks for these)
    Can somebody how can I restore my permission to be able to see files witout using command line?

    Thanks in advance

  26. Hello Uli! 🙂
    First of all I would like to thank you for the enormous help with installing funpkg and packages. I have one simple question: I installed transmission on my DNS-320 but I don’t like it so I want to remove it. I did everything that you advised (slacker -r command) and everything was OK. When I go to /ffp/start there is no transmissio-daemon file nor anything similar but still my DNS-320 tells me that usr/sbin/transmission-daemon is running and he is using a most of my memory and CPU power. I have tried to delete every file on my DNS that has name transmission but one particular I cannot delete: /usr/modules/sbin/transmission-daemon. If anyone has any idea how to solve this problem it would be much appriciated…

  27. I originally had a DNS 325 with one disk and I have previously followed the article at http://bernaerts.dyndns.org/nas/71-dns325-ffp07/224-dns325-funplug-07#h6-what-s-next and all was fine.
    I had to rebuild the machine as I needed to add a second disk and swap raid modes. This is all working OK.
    I am running firmware 1.03

    I am trying to install the fun_plug, but have a snag.

    As best I can tell, the setup.sh referred to in

    FFP_SETUP_SCRIPT=/mnt/HD/HD_a2/.bootstrap/setup.sh

    is missing.

    I can get basic output from the device by adding lines to the fun_plug file so know that my disk geometry from df -k is

    Filesystem           1k-blocks      Used Available Use% Mounted on
    rootfs                    9911      4394      5005  47% /
    /dev/root                 9911      4394      5005  47% /
    /dev/loop0               25472     25472         0 100% /usr/local/modules
    /dev/mtdblock5            5120       636      4484  12% /usr/local/config
    /dev/sda4               495884     12530    483354   3% /mnt/HD_a4
    /dev/sdb4               495884     10544    485340   2% /mnt/HD_b4
    /dev/md1             1920781176 670150516 1250630660  35% /mnt/HD/HD_a2
    /dev/sdc1            488264736 232734688 255530048  48% /mnt/USB/HD_c1

    my location for fun plug is /mnt/HD/HD_a2 and contains

    /mnt/HD/HD_a2:
    drwxrwxrwx   11 root     root         4096 Mar 23 09:34 .
    drwxr-xr-x    3 root     root         1024 Mar 23 09:36 ..
    drwx------    4 root     root         4096 Jun 16  2013 .systemfile
    drwxrwxrwx    5 nobody   allaccou     4096 Mar 23 08:27 DNS-325
    drwxrwxrwx    6 nobody   allaccou     4096 Mar 17 21:25 Nas_Prog
    drwxrwxrwx   10 root     root         4096 Mar 17 19:24 P2P
    drwxrwxrwx    5 nobody   allaccou     4096 Nov 10 20:53 backup
    -rwxrwxrwx    1 nobody   allaccou     2667 Mar 23 09:34 fun_plug
    -rwxrwxrwx    1 nobody   allaccou 47168149 Mar 22 18:50 fun_plug.tgz
    -rwxrwxrwx    1 nobody   allaccou     2310 Mar 23 09:33 fun_plug~
    drwxrwxrwx    3 root     root         4096 Oct 22 12:25 recycle

    do you have idea where I might find the .bootstrap location ?

  28. OK i’ve made it…i installed FFP 0,7 but with tutorial from this site:
    http://blog.julianxhokaxhiu.com/entry/how-to-setup-an-ssh-server-on-zyxel-nsa320

    Now i don’t know what to do with default php-MySQL-phpmyadmin package?

    My goal is to install the newest versions of those

    What if i want to install php, mysql and phpmyadmin package….
    what to do with default one? should i uninstall it?
    and how to connect to new installed one…when it is instlled!?

  29. Contrary to Ivan’s experience, I find Transmission one of the best things about ‘fonz fun plug’!

    One thing I’d really like to see is zabbix monitoring added. I have it for my router through ‘optware’ and it’s very handy.

    Jim

  30. Hi everbody,

    i have a question to slacker remove.
    I wanted to totally remove openssl, so i removed it with “slacker -r openssl” by selecting the installed version.
    After the command was finished, all files where still there?!

    Did i forget someting?

    Cheers!
    marbon

  31. hello, is it possible to clean the system?

    I mean, since I installed FFP, I have installed a lot of packages, someones to make test with different media servers, and other because were required or because I though they were interesting (I don’t find any description for the packages before installing them).

    So if I could clean all the packages installed, and leave the system like when FFP was just new installed.

    Thanks,

  32. I would like to install rarcrack on my DNS-320 NAS but I don’t know how to?

    slacker doesn’t list it. How does one build packages like this if they don’t have a “real” PC linux box?

  33. Hi, great Uli and team.
    I have a dns323 with firmware 1.10 and i success installed and configured 0.7 oabi following your guidance.

    No i am trying to find a way to enable my dns to connect to another host through ftp, but with dns as client.

    when i run slacker -i, i receive the screen with the packages to choose, but i can not find any oabi package, just oarm.

    am i doing something wrong ? is ok to install an oarm package over a oabi ffp ?

    Second, is there an easier way to accomplish this goal of having a ftp client running on dns323 ?

    many thanks!

  34. hello everyone,
    i installed ffp 0.7 and squeeze on my dns320, however on the reboot i have lost my personal data and only left the ffp folder and squeeze.
    under Volume_1

    can you please someone help me how to retrieve the data or recover them? are they permanently deleted or something is wrong with the partition?

  35. Hello,
    I messed up with my Acer easyStore NAS (ffp 0.7),

    now I get a ‘segmentation fault’ error

    I am almost 100% sure the problem is due to installation of memiks:eglibc-25087-arm-1.txz

    now I would like to uninstall this package but:
    root@easystore:/ffp/funpkg# slacker -r eglibc
    /ffp/bin/slacker: line 291: 5032 Done awk -- 'BEGIN {

    [...]

    5033 Segmentation fault | sort -k5 > $C/report
    No packages found (status or, pattern (eglibc))

    also

    root@easystore:/ffp/funpkg# funpkg
    Segmentation fault

    can I manually remove this installation by removing the files listed in

    /ffp/funpkg/installed/eglibc-25087-arm-1
    ?

    Thanks in advance!

    1. Hi Rafal,

      I have got the same problem here, I also assume, that it is because of the eglibc-25087-arm-1.txz.

      Did you find a solution?
      Would be very greatful to hear from you.

      Thanks.

  36. Hi to all.
    First of all I want to say thanks to Uli for his work, and thank to all the community here.

    I’m using fun_plug correctly from two years, and yesterday, after a firmware upgrades on my D-Link DNS-320, I decided to make have a clean install of fun_plug 0.7.
    It work very good, so I decided to try to move installation from HDD to USB pen drive.
    I got setup.sh from http://bernaerts.dyndns.org/nas/71-dns325-ffp07/242-dns325-ffp7-move-usb-key, but something goes wrong.
    The bootstrap script was called correctly, but fun_plug continue to run from HDD. If I check log, I can find these lines:

    ERROR - USB device has not been detected as Mass Storage
    ERROR - Fun_Plug root can't be moved to USB Key

    Analyzing better the issue putting lsmod command inside setup.sh, I found that during the fun_plug script execution there isn’t usb_storage module loaded, however after complete NAS boot, usb_storage is loaded and active.
    In normal case, the DNS-320 auto mount USB devices correctly, so, what I’ve to do to get usb pen drive working during fun_plug script?
    Any suggestion?

    Thanks in advance.

    Alberto

      1. You’re right, sorry.
        However, I just found the solution, I simply had to load the module.
        I found where it’s located and I added the right command to load it.

        Thanks anyway 🙂

        Alberto

        1. Somehow I figured out that on a CH3MNAS you have to manually add the next code after the Environment variables are set:


          # Load usb_storage.ko module and mount usb
          cp /mnt/HD_a2/.bootstrap/usb-storage.ko /lib/modules
          insmod /lib/modules/usb-storage.ko
          mkdir /mnt/HD_c1
          sleep 30
          mount /dev/sdc1 /mnt/HD_c1

  37. Hi Guys,

    I have a DNS-320lw, for about a year. I’m using mostly Transmission and miniDLNA.

    It was working fine and properly, but once I disconnected my dlink account (because of the stupid email alerts).

    Since than slacker doesn’t work.

    slacker -I
    No packages found (status I, pattern )

    But I obviously have packages installed because everything is working. I’ve already tried to clear cache and update packages.

    Slacker works, but no data in Package list and I cannot make it work.

    Do you have any idea what should I do to fix it?

    Thank you for your answers in advance!

  38. Trying to install MiniDLNA on my DNS320L.
    Fun Plug installed and working
    relavant packages installed and visible in the file system.
    but when i come to run

    slacker -Uui br2:minidlna

    I get

    Updating package lists…
    fetch: (cd ‘/ffp/funpkg/cache/br2’; wget -Nnv ‘http://downloads.zyxel.nas-central.org/Users/barmalej2/ffp/0.7/arm/packages//CHECKSUMS.md5’)
    No packages found (status iu, pattern (^br2:.*minidlna))

    What have I missed?

    Is this an OABI instead of an EABI package.

    any help most welcome. Thanks

    Simon

  39. Uli,

    Any chance we can get an updated version of mutt ?
    The repos (MDini )here have version 1.4.

    But we need version 1.5.x for smtp authentication support.
    Can you add pls ?

    1. Hi Marco,

      you will need to contact MDini (no idea how) to get that update. I stopped the updates a while ago as i have no such device anymore.

      Cheers,
      Uli

  40. @Uli,

    Is there a slacker command , funpkg command to show what
    repos i have installed ?

    I seem to have lost the mdini repo, i only have the fonz and uli repos …

  41. Thanks for your website. I was able to get lighttpd-1.4.32-arm-1.tgz to work using ph fun_plug 0.7 on a D-Link DNS-320. It wasn’t easy and luckily I have a bit of experience working with packages and their dependencies. By default, lighttpd disables the admin console. There is a few solutions to deal with this, not listed here.

Leave a Reply to Martin van Eeuwijk Cancel reply

Your email address will not be published. Required fields are marked *

Exit mobile version